Class: Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_inbound_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_per_unitPeddler::APIs::FulfillmentInboundV0::Amount? (readonly)

Returns the value of attribute fee_per_unit.



60
61
62
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 60

def fee_per_unit
  @fee_per_unit
end

#prep_instructionString? (readonly)

Returns the value of attribute prep_instruction.

Returns:

  • (String, nil)


61
62
63
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 61

def prep_instruction
  @prep_instruction
end

Class Method Details

.[](fee_per_unit:, prep_instruction:) ⇒ Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails



53
54
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 53

def self.[]: (?fee_per_unit: Peddler::APIs::FulfillmentInboundV0::Amount?, ?prep_instruction: String?) -> Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails
| (Peddler::APIs::FulfillmentInboundV0::Amount?, String?) -> Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

.members[ :fee_per_unit, :prep_instruction ]

Returns:

  • ([ :fee_per_unit, :prep_instruction ])


56
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 56

def self.members: () -> [ :fee_per_unit, :prep_instruction ]

.new(fee_per_unit:, prep_instruction:) ⇒ Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

Overloads:



51
52
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 51

def self.new: (?fee_per_unit: Peddler::APIs::FulfillmentInboundV0::Amount?, ?prep_instruction: String?) -> Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails
| (Peddler::APIs::FulfillmentInboundV0::Amount?, String?) -> Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

.parsePeddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



58
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 58

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInboundV0::AmazonPrepFeesDetails

Instance Method Details

#members[ :fee_per_unit, :prep_instruction ]

Returns:

  • ([ :fee_per_unit, :prep_instruction ])


63
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 63

def members: () -> [ :fee_per_unit, :prep_instruction ]

#to_h{ fee_per_unit: Peddler::APIs::FulfillmentInboundV0::Amount?, prep_instruction: String? }

Returns:



64
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 64

def to_h: () -> { fee_per_unit: Peddler::APIs::FulfillmentInboundV0::Amount?, prep_instruction: String? }