Class: Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

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

#adjusted_quantityInteger? (readonly)

Returns the value of attribute adjusted_quantity.

Returns:

  • (Integer, nil)


802
803
804
# File 'sig/peddler/apis/finances_v0.rbs', line 802

def adjusted_quantity
  @adjusted_quantity
end

#fulfillment_network_skuString? (readonly)

Returns the value of attribute fulfillment_network_sku.

Returns:

  • (String, nil)


803
804
805
# File 'sig/peddler/apis/finances_v0.rbs', line 803

def fulfillment_network_sku
  @fulfillment_network_sku
end

#removal_shipment_item_idString? (readonly)

Returns the value of attribute removal_shipment_item_id.

Returns:

  • (String, nil)


804
805
806
# File 'sig/peddler/apis/finances_v0.rbs', line 804

def removal_shipment_item_id
  @removal_shipment_item_id
end

#revenue_adjustmentPeddler::Money? (readonly)

Returns the value of attribute revenue_adjustment.

Returns:



805
806
807
# File 'sig/peddler/apis/finances_v0.rbs', line 805

def revenue_adjustment
  @revenue_adjustment
end

#tax_amount_adjustmentPeddler::Money? (readonly)

Returns the value of attribute tax_amount_adjustment.

Returns:



806
807
808
# File 'sig/peddler/apis/finances_v0.rbs', line 806

def tax_amount_adjustment
  @tax_amount_adjustment
end

#tax_collection_modelString? (readonly)

Returns the value of attribute tax_collection_model.

Returns:

  • (String, nil)


807
808
809
# File 'sig/peddler/apis/finances_v0.rbs', line 807

def tax_collection_model
  @tax_collection_model
end

#tax_withheld_adjustmentPeddler::Money? (readonly)

Returns the value of attribute tax_withheld_adjustment.

Returns:



808
809
810
# File 'sig/peddler/apis/finances_v0.rbs', line 808

def tax_withheld_adjustment
  @tax_withheld_adjustment
end

Class Method Details

.[](adjusted_quantity:, fulfillment_network_sku:, removal_shipment_item_id:, revenue_adjustment:, tax_amount_adjustment:, tax_collection_model:, tax_withheld_adjustment:) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

Overloads:



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

def self.[]: (?adjusted_quantity: Integer?, ?fulfillment_network_sku: String?, ?removal_shipment_item_id: String?, ?revenue_adjustment: Peddler::Money?, ?tax_amount_adjustment: Peddler::Money?, ?tax_collection_model: String?, ?tax_withheld_adjustment: Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment
| (Integer?, String?, String?, Peddler::Money?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

.members[ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ]

Returns:

  • ([ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ])


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

def self.members: () -> [ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ]

.new(adjusted_quantity:, fulfillment_network_sku:, removal_shipment_item_id:, revenue_adjustment:, tax_amount_adjustment:, tax_collection_model:, tax_withheld_adjustment:) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

Overloads:



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

def self.new: (?adjusted_quantity: Integer?, ?fulfillment_network_sku: String?, ?removal_shipment_item_id: String?, ?revenue_adjustment: Peddler::Money?, ?tax_amount_adjustment: Peddler::Money?, ?tax_collection_model: String?, ?tax_withheld_adjustment: Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment
| (Integer?, String?, String?, Peddler::Money?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

.parsePeddler::APIs::FinancesV0::RemovalShipmentItemAdjustment

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ]

Returns:

  • ([ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ])


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

def members: () -> [ :adjusted_quantity, :fulfillment_network_sku, :removal_shipment_item_id, :revenue_adjustment, :tax_amount_adjustment, :tax_collection_model, :tax_withheld_adjustment ]

#to_h{ adjusted_quantity: Integer?, fulfillment_network_sku: String?, removal_shipment_item_id: String?, revenue_adjustment: Peddler::Money?, tax_amount_adjustment: Peddler::Money?, tax_collection_model: String?, tax_withheld_adjustment: Peddler::Money? }

Returns:

  • ({ adjusted_quantity: Integer?, fulfillment_network_sku: String?, removal_shipment_item_id: String?, revenue_adjustment: Peddler::Money?, tax_amount_adjustment: Peddler::Money?, tax_collection_model: String?, tax_withheld_adjustment: Peddler::Money? })


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

def to_h: () -> { adjusted_quantity: Integer?, fulfillment_network_sku: String?, removal_shipment_item_id: String?, revenue_adjustment: Peddler::Money?, tax_amount_adjustment: Peddler::Money?, tax_collection_model: String?, tax_withheld_adjustment: Peddler::Money? }