Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Charge

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_chargePeddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup (readonly)

Returns the value of attribute base_charge.



83
84
85
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 83

def base_charge
  @base_charge
end

#charge_typeString (readonly)

Returns the value of attribute charge_type.

Returns:

  • (String)


84
85
86
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 84

def charge_type
  @charge_type
end

#tax_breakupArray[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]? (readonly)

Returns the value of attribute tax_breakup.



85
86
87
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 85

def tax_breakup
  @tax_breakup
end

#total_chargePeddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup (readonly)

Returns the value of attribute total_charge.



86
87
88
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 86

def total_charge
  @total_charge
end

#total_taxPeddler::APIs::ExternalFulfillmentShipments20240911::Tax (readonly)

Returns the value of attribute total_tax.



87
88
89
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 87

def total_tax
  @total_tax
end

Class Method Details

.[](base_charge:, charge_type:, total_charge:, total_tax:, tax_breakup:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge



76
77
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 76

def self.[]: (base_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, charge_type: String, total_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, total_tax: Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, ?tax_breakup: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, String, Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Charge

.members[ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ]

Returns:

  • ([ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ])


79
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 79

def self.members: () -> [ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ]

.new(base_charge:, charge_type:, total_charge:, total_tax:, tax_breakup:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge



74
75
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 74

def self.new: (base_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, charge_type: String, total_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, total_tax: Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, ?tax_breakup: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, String, Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Charge

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Charge

Parameters:

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

Returns:



81
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 81

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

Instance Method Details

#members[ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ]

Returns:

  • ([ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ])


89
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 89

def members: () -> [ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ]

#to_h{ base_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, charge_type: String, total_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, total_tax: Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, tax_breakup: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]? }



90
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 90

def to_h: () -> { base_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, charge_type: String, total_charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, total_tax: Peddler::APIs::ExternalFulfillmentShipments20240911::Tax, tax_breakup: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]? }