Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Tax

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

#charge ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup (readonly)

Returns the value of attribute charge.



1014
1015
1016
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1014

def charge
  @charge
end

#rate ⇒ Float? (readonly)

Returns the value of attribute rate.

Returns:

  • (Float, nil)


1015
1016
1017
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1015

def rate
  @rate
end

#type ⇒ String? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


1016
1017
1018
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1016

def type
  @type
end

Class Method Details

.[](charge:, rate:, type:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax



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

def self.[]: (charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, ?rate: Float?, ?type: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Tax
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, Float?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Tax

.members ⇒ [ :charge, :rate, :type ]

Returns:

  • ([ :charge, :rate, :type ])


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

def self.members: () -> [ :charge, :rate, :type ]

.new(charge:, rate:, type:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax



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

def self.new: (charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, ?rate: Float?, ?type: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Tax
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, Float?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Tax

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Tax

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :charge, :rate, :type ]

Returns:

  • ([ :charge, :rate, :type ])


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

def members: () -> [ :charge, :rate, :type ]

#to_h ⇒ { charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, rate: Float?, type: String? }

Returns:



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

def to_h: () -> { charge: Peddler::APIs::ExternalFulfillmentShipments20240911::ChargeBreakup, rate: Float?, type: String? }