Class: Peddler::APIs::ShippingV2::TaxDetail
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::TaxDetail
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#tax_registration_number ⇒ String
readonly
Returns the value of attribute tax_registration_number.
-
#tax_type ⇒ String
readonly
Returns the value of attribute tax_type.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :tax_registration_number, :tax_type ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ShippingV2::TaxDetail
Instance Method Summary collapse
- #members ⇒ [ :tax_registration_number, :tax_type ]
- #to_h ⇒ { tax_registration_number: String, tax_type: String }
Instance Attribute Details
#tax_registration_number ⇒ String (readonly)
Returns the value of attribute tax_registration_number.
1808 1809 1810 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1808 def tax_registration_number @tax_registration_number end |
#tax_type ⇒ String (readonly)
Returns the value of attribute tax_type.
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
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 ]
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
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 |
.parse ⇒ Peddler::APIs::ShippingV2::TaxDetail
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 ]
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 }
1812 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1812 def to_h: () -> { tax_registration_number: String, tax_type: String } |