Class: Peddler::APIs::FulfillmentInbound20240320::TaxRate

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cess_rateFloat? (readonly)

Returns the value of attribute cess_rate.

Returns:

  • (Float, nil)


1949
1950
1951
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1949

def cess_rate
  @cess_rate
end

#gst_rateFloat? (readonly)

Returns the value of attribute gst_rate.

Returns:

  • (Float, nil)


1950
1951
1952
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1950

def gst_rate
  @gst_rate
end

#tax_typeString? (readonly)

Returns the value of attribute tax_type.

Returns:

  • (String, nil)


1951
1952
1953
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1951

def tax_type
  @tax_type
end

Class Method Details

.[](cess_rate:, gst_rate:, tax_type:) ⇒ Peddler::APIs::FulfillmentInbound20240320::TaxRate .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::TaxRate

Overloads:



1942
1943
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1942

def self.[]: (?cess_rate: Float?, ?gst_rate: Float?, ?tax_type: String?) -> Peddler::APIs::FulfillmentInbound20240320::TaxRate
| (Float?, Float?, String?) -> Peddler::APIs::FulfillmentInbound20240320::TaxRate

.members[ :cess_rate, :gst_rate, :tax_type ]

Returns:

  • ([ :cess_rate, :gst_rate, :tax_type ])


1945
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1945

def self.members: () -> [ :cess_rate, :gst_rate, :tax_type ]

.new(cess_rate:, gst_rate:, tax_type:) ⇒ Peddler::APIs::FulfillmentInbound20240320::TaxRate .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::TaxRate

Overloads:



1940
1941
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1940

def self.new: (?cess_rate: Float?, ?gst_rate: Float?, ?tax_type: String?) -> Peddler::APIs::FulfillmentInbound20240320::TaxRate
| (Float?, Float?, String?) -> Peddler::APIs::FulfillmentInbound20240320::TaxRate

.parsePeddler::APIs::FulfillmentInbound20240320::TaxRate

Parameters:

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

Returns:



1947
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1947

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

Instance Method Details

#members[ :cess_rate, :gst_rate, :tax_type ]

Returns:

  • ([ :cess_rate, :gst_rate, :tax_type ])


1953
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1953

def members: () -> [ :cess_rate, :gst_rate, :tax_type ]

#to_h{ cess_rate: Float?, gst_rate: Float?, tax_type: String? }

Returns:

  • ({ cess_rate: Float?, gst_rate: Float?, tax_type: String? })


1954
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1954

def to_h: () -> { cess_rate: Float?, gst_rate: Float?, tax_type: String? }