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.



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

def charge
  @charge
end

#rate ⇒ String? (readonly)

Returns the value of attribute rate.

Returns:

  • (String, nil)


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

def rate
  @rate
end

#type ⇒ String? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


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

def type
  @type
end

Class Method Details

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



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

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

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

Returns:

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


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

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

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



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

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

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

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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