Class: Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountPeddler::APIs::FulfillmentOutbound20260704::Amount (readonly)

Returns the value of attribute amount.



925
926
927
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 925

def amount
  @amount
end

#productPeddler::APIs::FulfillmentOutbound20260704::PreviewProduct (readonly)

Returns the value of attribute product.



926
927
928
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 926

def product
  @product
end

Class Method Details

.[](amount:, product:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem



918
919
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 918

def self.[]: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, product: Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct) -> Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct) -> Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem

.members[ :amount, :product ]

Returns:

  • ([ :amount, :product ])


921
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 921

def self.members: () -> [ :amount, :product ]

.new(amount:, product:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem



916
917
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 916

def self.new: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, product: Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct) -> Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct) -> Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem

.parsePeddler::APIs::FulfillmentOutbound20260704::PreviewLineItem

Parameters:

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

Returns:



923
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 923

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

Instance Method Details

#members[ :amount, :product ]

Returns:

  • ([ :amount, :product ])


928
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 928

def members: () -> [ :amount, :product ]

#to_h{ amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, product: Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct }



929
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 929

def to_h: () -> { amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, product: Peddler::APIs::FulfillmentOutbound20260704::PreviewProduct }