Class: Peddler::APIs::FinancesV0::RemovalShipmentItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_amountPeddler::Money? (readonly)

Returns the value of attribute fee_amount.

Returns:



779
780
781
# File 'sig/peddler/apis/finances_v0.rbs', line 779

def fee_amount
  @fee_amount
end

#fulfillment_network_skuString? (readonly)

Returns the value of attribute fulfillment_network_sku.

Returns:

  • (String, nil)


780
781
782
# File 'sig/peddler/apis/finances_v0.rbs', line 780

def fulfillment_network_sku
  @fulfillment_network_sku
end

#quantityInteger? (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer, nil)


781
782
783
# File 'sig/peddler/apis/finances_v0.rbs', line 781

def quantity
  @quantity
end

#removal_shipment_item_idString? (readonly)

Returns the value of attribute removal_shipment_item_id.

Returns:

  • (String, nil)


782
783
784
# File 'sig/peddler/apis/finances_v0.rbs', line 782

def removal_shipment_item_id
  @removal_shipment_item_id
end

#revenuePeddler::Money? (readonly)

Returns the value of attribute revenue.

Returns:



783
784
785
# File 'sig/peddler/apis/finances_v0.rbs', line 783

def revenue
  @revenue
end

#tax_amountPeddler::Money? (readonly)

Returns the value of attribute tax_amount.

Returns:



784
785
786
# File 'sig/peddler/apis/finances_v0.rbs', line 784

def tax_amount
  @tax_amount
end

#tax_collection_modelString? (readonly)

Returns the value of attribute tax_collection_model.

Returns:

  • (String, nil)


785
786
787
# File 'sig/peddler/apis/finances_v0.rbs', line 785

def tax_collection_model
  @tax_collection_model
end

#tax_withheldPeddler::Money? (readonly)

Returns the value of attribute tax_withheld.

Returns:



786
787
788
# File 'sig/peddler/apis/finances_v0.rbs', line 786

def tax_withheld
  @tax_withheld
end

Class Method Details

.[](fee_amount:, fulfillment_network_sku:, quantity:, removal_shipment_item_id:, revenue:, tax_amount:, tax_collection_model:, tax_withheld:) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItem

Overloads:



772
773
# File 'sig/peddler/apis/finances_v0.rbs', line 772

def self.[]: (?fee_amount: Peddler::Money?, ?fulfillment_network_sku: String?, ?quantity: Integer?, ?removal_shipment_item_id: String?, ?revenue: Peddler::Money?, ?tax_amount: Peddler::Money?, ?tax_collection_model: String?, ?tax_withheld: Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItem
| (Peddler::Money?, String?, Integer?, String?, Peddler::Money?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItem

.members[ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ]

Returns:

  • ([ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ])


775
# File 'sig/peddler/apis/finances_v0.rbs', line 775

def self.members: () -> [ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ]

.new(fee_amount:, fulfillment_network_sku:, quantity:, removal_shipment_item_id:, revenue:, tax_amount:, tax_collection_model:, tax_withheld:) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItem

Overloads:



770
771
# File 'sig/peddler/apis/finances_v0.rbs', line 770

def self.new: (?fee_amount: Peddler::Money?, ?fulfillment_network_sku: String?, ?quantity: Integer?, ?removal_shipment_item_id: String?, ?revenue: Peddler::Money?, ?tax_amount: Peddler::Money?, ?tax_collection_model: String?, ?tax_withheld: Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItem
| (Peddler::Money?, String?, Integer?, String?, Peddler::Money?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItem

.parsePeddler::APIs::FinancesV0::RemovalShipmentItem

Parameters:

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

Returns:



777
# File 'sig/peddler/apis/finances_v0.rbs', line 777

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

Instance Method Details

#members[ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ]

Returns:

  • ([ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ])


788
# File 'sig/peddler/apis/finances_v0.rbs', line 788

def members: () -> [ :fee_amount, :fulfillment_network_sku, :quantity, :removal_shipment_item_id, :revenue, :tax_amount, :tax_collection_model, :tax_withheld ]

#to_h{ fee_amount: Peddler::Money?, fulfillment_network_sku: String?, quantity: Integer?, removal_shipment_item_id: String?, revenue: Peddler::Money?, tax_amount: Peddler::Money?, tax_collection_model: String?, tax_withheld: Peddler::Money? }

Returns:



789
# File 'sig/peddler/apis/finances_v0.rbs', line 789

def to_h: () -> { fee_amount: Peddler::Money?, fulfillment_network_sku: String?, quantity: Integer?, removal_shipment_item_id: String?, revenue: Peddler::Money?, tax_amount: Peddler::Money?, tax_collection_model: String?, tax_withheld: Peddler::Money? }