Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#base_charge ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup
readonly
Returns the value of attribute base_charge.
-
#charge_type ⇒ String
readonly
Returns the value of attribute charge_type.
-
#tax_breakup ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Tax]?
readonly
Returns the value of attribute tax_breakup.
-
#total_charge ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup
readonly
Returns the value of attribute total_charge.
-
#total_tax ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax
readonly
Returns the value of attribute total_tax.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :base_charge, :charge_type, :total_charge, :total_tax, :tax_breakup ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
Instance Method Summary collapse
-
#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]? }
Instance Attribute Details
#base_charge ⇒ Peddler::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_type ⇒ String (readonly)
Returns the value of attribute charge_type.
84 85 86 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 84 def charge_type @charge_type end |
#tax_breakup ⇒ Array[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_charge ⇒ Peddler::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_tax ⇒ Peddler::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 ]
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Charge
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 ]
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]? }
|