Class: Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountPeddler::APIs::FulfillmentOutbound20200701::Amount? (readonly)

Returns the value of attribute amount.



752
753
754
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 752

def amount
  @amount
end

#product_identifierPeddler::APIs::FulfillmentOutbound20200701::ProductIdentifier (readonly)

Returns the value of attribute product_identifier.



753
754
755
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 753

def product_identifier
  @product_identifier
end

Class Method Details

.[](product_identifier:, amount:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct



745
746
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 745

def self.[]: (product_identifier: Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, ?amount: Peddler::APIs::FulfillmentOutbound20200701::Amount?) -> Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct
| (Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, Peddler::APIs::FulfillmentOutbound20200701::Amount?) -> Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct

.members[ :product_identifier, :amount ]

Returns:

  • ([ :product_identifier, :amount ])


748
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 748

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

.new(product_identifier:, amount:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct



743
744
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 743

def self.new: (product_identifier: Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, ?amount: Peddler::APIs::FulfillmentOutbound20200701::Amount?) -> Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct
| (Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, Peddler::APIs::FulfillmentOutbound20200701::Amount?) -> Peddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct

.parsePeddler::APIs::FulfillmentOutbound20200701::GetDeliveryOffersProduct

Parameters:

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

Returns:



750
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 750

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

Instance Method Details

#members[ :product_identifier, :amount ]

Returns:

  • ([ :product_identifier, :amount ])


755
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 755

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

#to_h{ product_identifier: Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, amount: Peddler::APIs::FulfillmentOutbound20200701::Amount? }



756
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 756

def to_h: () -> { product_identifier: Peddler::APIs::FulfillmentOutbound20200701::ProductIdentifier, amount: Peddler::APIs::FulfillmentOutbound20200701::Amount? }