Class: Peddler::APIs::ShippingV2::TaxDetail

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#tax_registration_numberString (readonly)

Returns the value of attribute tax_registration_number.

Returns:

  • (String)


1808
1809
1810
# File 'sig/peddler/apis/shipping_v2.rbs', line 1808

def tax_registration_number
  @tax_registration_number
end

#tax_typeString (readonly)

Returns the value of attribute tax_type.

Returns:

  • (String)


1809
1810
1811
# File 'sig/peddler/apis/shipping_v2.rbs', line 1809

def tax_type
  @tax_type
end

Class Method Details

.[](tax_registration_number:, tax_type:) ⇒ Peddler::APIs::ShippingV2::TaxDetail .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::TaxDetail

Overloads:



1801
1802
# File 'sig/peddler/apis/shipping_v2.rbs', line 1801

def self.[]: (tax_registration_number: String, tax_type: String) -> Peddler::APIs::ShippingV2::TaxDetail
| (String, String) -> Peddler::APIs::ShippingV2::TaxDetail

.members[ :tax_registration_number, :tax_type ]

Returns:

  • ([ :tax_registration_number, :tax_type ])


1804
# File 'sig/peddler/apis/shipping_v2.rbs', line 1804

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

.new(tax_registration_number:, tax_type:) ⇒ Peddler::APIs::ShippingV2::TaxDetail .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::TaxDetail

Overloads:



1799
1800
# File 'sig/peddler/apis/shipping_v2.rbs', line 1799

def self.new: (tax_registration_number: String, tax_type: String) -> Peddler::APIs::ShippingV2::TaxDetail
| (String, String) -> Peddler::APIs::ShippingV2::TaxDetail

.parsePeddler::APIs::ShippingV2::TaxDetail

Parameters:

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

Returns:



1806
# File 'sig/peddler/apis/shipping_v2.rbs', line 1806

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

Instance Method Details

#members[ :tax_registration_number, :tax_type ]

Returns:

  • ([ :tax_registration_number, :tax_type ])


1811
# File 'sig/peddler/apis/shipping_v2.rbs', line 1811

def members: () -> [ :tax_registration_number, :tax_type ]

#to_h{ tax_registration_number: String, tax_type: String }

Returns:

  • ({ tax_registration_number: String, tax_type: String })


1812
# File 'sig/peddler/apis/shipping_v2.rbs', line 1812

def to_h: () -> { tax_registration_number: String, tax_type: String }