Class: Peddler::APIs::FinancesV0::ShipmentItem

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

#cost_of_points_grantedPeddler::Money? (readonly)

Returns the value of attribute cost_of_points_granted.

Returns:



1041
1042
1043
# File 'sig/peddler/apis/finances_v0.rbs', line 1041

def cost_of_points_granted
  @cost_of_points_granted
end

#cost_of_points_returnedPeddler::Money? (readonly)

Returns the value of attribute cost_of_points_returned.

Returns:



1042
1043
1044
# File 'sig/peddler/apis/finances_v0.rbs', line 1042

def cost_of_points_returned
  @cost_of_points_returned
end

#item_charge_adjustment_listArray[Peddler::APIs::FinancesV0::ChargeComponent]? (readonly)

Returns the value of attribute item_charge_adjustment_list.



1043
1044
1045
# File 'sig/peddler/apis/finances_v0.rbs', line 1043

def item_charge_adjustment_list
  @item_charge_adjustment_list
end

#item_charge_listArray[Peddler::APIs::FinancesV0::ChargeComponent]? (readonly)

Returns the value of attribute item_charge_list.



1044
1045
1046
# File 'sig/peddler/apis/finances_v0.rbs', line 1044

def item_charge_list
  @item_charge_list
end

#item_fee_adjustment_listArray[Peddler::APIs::FinancesV0::FeeComponent]? (readonly)

Returns the value of attribute item_fee_adjustment_list.



1045
1046
1047
# File 'sig/peddler/apis/finances_v0.rbs', line 1045

def item_fee_adjustment_list
  @item_fee_adjustment_list
end

#item_fee_listArray[Peddler::APIs::FinancesV0::FeeComponent]? (readonly)

Returns the value of attribute item_fee_list.



1046
1047
1048
# File 'sig/peddler/apis/finances_v0.rbs', line 1046

def item_fee_list
  @item_fee_list
end

#item_tax_withheld_listArray[Peddler::APIs::FinancesV0::TaxWithheldComponent]? (readonly)

Returns the value of attribute item_tax_withheld_list.



1047
1048
1049
# File 'sig/peddler/apis/finances_v0.rbs', line 1047

def item_tax_withheld_list
  @item_tax_withheld_list
end

#order_adjustment_item_idString? (readonly)

Returns the value of attribute order_adjustment_item_id.

Returns:

  • (String, nil)


1048
1049
1050
# File 'sig/peddler/apis/finances_v0.rbs', line 1048

def order_adjustment_item_id
  @order_adjustment_item_id
end

#order_item_idString? (readonly)

Returns the value of attribute order_item_id.

Returns:

  • (String, nil)


1049
1050
1051
# File 'sig/peddler/apis/finances_v0.rbs', line 1049

def order_item_id
  @order_item_id
end

#promotion_adjustment_listArray[Peddler::APIs::FinancesV0::Promotion]? (readonly)

Returns the value of attribute promotion_adjustment_list.

Returns:



1050
1051
1052
# File 'sig/peddler/apis/finances_v0.rbs', line 1050

def promotion_adjustment_list
  @promotion_adjustment_list
end

#promotion_listArray[Peddler::APIs::FinancesV0::Promotion]? (readonly)

Returns the value of attribute promotion_list.

Returns:



1051
1052
1053
# File 'sig/peddler/apis/finances_v0.rbs', line 1051

def promotion_list
  @promotion_list
end

#quantity_shippedInteger? (readonly)

Returns the value of attribute quantity_shipped.

Returns:

  • (Integer, nil)


1052
1053
1054
# File 'sig/peddler/apis/finances_v0.rbs', line 1052

def quantity_shipped
  @quantity_shipped
end

#seller_skuString? (readonly)

Returns the value of attribute seller_sku.

Returns:

  • (String, nil)


1053
1054
1055
# File 'sig/peddler/apis/finances_v0.rbs', line 1053

def seller_sku
  @seller_sku
end

Class Method Details

.[](cost_of_points_granted:, cost_of_points_returned:, item_charge_adjustment_list:, item_charge_list:, item_fee_adjustment_list:, item_fee_list:, item_tax_withheld_list:, order_adjustment_item_id:, order_item_id:, promotion_adjustment_list:, promotion_list:, quantity_shipped:, seller_sku:) ⇒ Peddler::APIs::FinancesV0::ShipmentItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::FinancesV0::ShipmentItem

Overloads:



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

def self.[]: (?cost_of_points_granted: Peddler::Money?, ?cost_of_points_returned: Peddler::Money?, ?item_charge_adjustment_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, ?item_charge_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, ?item_fee_adjustment_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, ?item_fee_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, ?item_tax_withheld_list: Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, ?order_adjustment_item_id: String?, ?order_item_id: String?, ?promotion_adjustment_list: Array[Peddler::APIs::FinancesV0::Promotion]?, ?promotion_list: Array[Peddler::APIs::FinancesV0::Promotion]?, ?quantity_shipped: Integer?, ?seller_sku: String?) -> Peddler::APIs::FinancesV0::ShipmentItem
| (Peddler::Money?, Peddler::Money?, Array[Peddler::APIs::FinancesV0::ChargeComponent]?, Array[Peddler::APIs::FinancesV0::ChargeComponent]?, Array[Peddler::APIs::FinancesV0::FeeComponent]?, Array[Peddler::APIs::FinancesV0::FeeComponent]?, Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, String?, String?, Array[Peddler::APIs::FinancesV0::Promotion]?, Array[Peddler::APIs::FinancesV0::Promotion]?, Integer?, String?) -> Peddler::APIs::FinancesV0::ShipmentItem

.members[ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ]

Returns:

  • ([ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ])


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

def self.members: () -> [ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ]

.new(cost_of_points_granted:, cost_of_points_returned:, item_charge_adjustment_list:, item_charge_list:, item_fee_adjustment_list:, item_fee_list:, item_tax_withheld_list:, order_adjustment_item_id:, order_item_id:, promotion_adjustment_list:, promotion_list:, quantity_shipped:, seller_sku:) ⇒ Peddler::APIs::FinancesV0::ShipmentItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::FinancesV0::ShipmentItem

Overloads:



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

def self.new: (?cost_of_points_granted: Peddler::Money?, ?cost_of_points_returned: Peddler::Money?, ?item_charge_adjustment_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, ?item_charge_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, ?item_fee_adjustment_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, ?item_fee_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, ?item_tax_withheld_list: Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, ?order_adjustment_item_id: String?, ?order_item_id: String?, ?promotion_adjustment_list: Array[Peddler::APIs::FinancesV0::Promotion]?, ?promotion_list: Array[Peddler::APIs::FinancesV0::Promotion]?, ?quantity_shipped: Integer?, ?seller_sku: String?) -> Peddler::APIs::FinancesV0::ShipmentItem
| (Peddler::Money?, Peddler::Money?, Array[Peddler::APIs::FinancesV0::ChargeComponent]?, Array[Peddler::APIs::FinancesV0::ChargeComponent]?, Array[Peddler::APIs::FinancesV0::FeeComponent]?, Array[Peddler::APIs::FinancesV0::FeeComponent]?, Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, String?, String?, Array[Peddler::APIs::FinancesV0::Promotion]?, Array[Peddler::APIs::FinancesV0::Promotion]?, Integer?, String?) -> Peddler::APIs::FinancesV0::ShipmentItem

.parsePeddler::APIs::FinancesV0::ShipmentItem

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ]

Returns:

  • ([ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ])


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

def members: () -> [ :cost_of_points_granted, :cost_of_points_returned, :item_charge_adjustment_list, :item_charge_list, :item_fee_adjustment_list, :item_fee_list, :item_tax_withheld_list, :order_adjustment_item_id, :order_item_id, :promotion_adjustment_list, :promotion_list, :quantity_shipped, :seller_sku ]

#to_h{ cost_of_points_granted: Peddler::Money?, cost_of_points_returned: Peddler::Money?, item_charge_adjustment_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, item_charge_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, item_fee_adjustment_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, item_fee_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, item_tax_withheld_list: Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, order_adjustment_item_id: String?, order_item_id: String?, promotion_adjustment_list: Array[Peddler::APIs::FinancesV0::Promotion]?, promotion_list: Array[Peddler::APIs::FinancesV0::Promotion]?, quantity_shipped: Integer?, seller_sku: String? }

Returns:



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

def to_h: () -> { cost_of_points_granted: Peddler::Money?, cost_of_points_returned: Peddler::Money?, item_charge_adjustment_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, item_charge_list: Array[Peddler::APIs::FinancesV0::ChargeComponent]?, item_fee_adjustment_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, item_fee_list: Array[Peddler::APIs::FinancesV0::FeeComponent]?, item_tax_withheld_list: Array[Peddler::APIs::FinancesV0::TaxWithheldComponent]?, order_adjustment_item_id: String?, order_item_id: String?, promotion_adjustment_list: Array[Peddler::APIs::FinancesV0::Promotion]?, promotion_list: Array[Peddler::APIs::FinancesV0::Promotion]?, quantity_shipped: Integer?, seller_sku: String? }