Class: Peddler::APIs::Orders20260101::OrderTaxRegistration

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#entity_typeString? (readonly)

Returns the value of attribute entity_type.

Returns:

  • (String, nil)


949
950
951
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 949

def entity_type
  @entity_type
end

Returns the value of attribute legal_name.

Returns:

  • (String, nil)


950
951
952
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 950

def legal_name
  @legal_name
end

#tax_registration_addressPeddler::APIs::Orders20260101::CustomerAddress? (readonly)

Returns the value of attribute tax_registration_address.



951
952
953
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 951

def tax_registration_address
  @tax_registration_address
end

#tax_registration_attributesArray[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]? (readonly)

Returns the value of attribute tax_registration_attributes.



952
953
954
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 952

def tax_registration_attributes
  @tax_registration_attributes
end

#tax_registration_numberString? (readonly)

Returns the value of attribute tax_registration_number.

Returns:

  • (String, nil)


953
954
955
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 953

def tax_registration_number
  @tax_registration_number
end

#tax_registration_typeString? (readonly)

Returns the value of attribute tax_registration_type.

Returns:

  • (String, nil)


954
955
956
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 954

def tax_registration_type
  @tax_registration_type
end

Class Method Details

.[](entity_type:, legal_name:, tax_registration_address:, tax_registration_attributes:, tax_registration_number:, tax_registration_type:) ⇒ Peddler::APIs::Orders20260101::OrderTaxRegistration .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Orders20260101::OrderTaxRegistration

Overloads:



942
943
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 942

def self.[]: (?entity_type: String?, ?legal_name: String?, ?tax_registration_address: Peddler::APIs::Orders20260101::CustomerAddress?, ?tax_registration_attributes: Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, ?tax_registration_number: String?, ?tax_registration_type: String?) -> Peddler::APIs::Orders20260101::OrderTaxRegistration
| (String?, String?, Peddler::APIs::Orders20260101::CustomerAddress?, Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, String?, String?) -> Peddler::APIs::Orders20260101::OrderTaxRegistration

.members[ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ]

Returns:

  • ([ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ])


945
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 945

def self.members: () -> [ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ]

.new(entity_type:, legal_name:, tax_registration_address:, tax_registration_attributes:, tax_registration_number:, tax_registration_type:) ⇒ Peddler::APIs::Orders20260101::OrderTaxRegistration .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Orders20260101::OrderTaxRegistration

Overloads:



940
941
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 940

def self.new: (?entity_type: String?, ?legal_name: String?, ?tax_registration_address: Peddler::APIs::Orders20260101::CustomerAddress?, ?tax_registration_attributes: Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, ?tax_registration_number: String?, ?tax_registration_type: String?) -> Peddler::APIs::Orders20260101::OrderTaxRegistration
| (String?, String?, Peddler::APIs::Orders20260101::CustomerAddress?, Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, String?, String?) -> Peddler::APIs::Orders20260101::OrderTaxRegistration

.parsePeddler::APIs::Orders20260101::OrderTaxRegistration

Parameters:

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

Returns:



947
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 947

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

Instance Method Details

#members[ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ]

Returns:

  • ([ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ])


956
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 956

def members: () -> [ :entity_type, :legal_name, :tax_registration_address, :tax_registration_attributes, :tax_registration_number, :tax_registration_type ]

#to_h{ entity_type: String?, legal_name: String?, tax_registration_address: Peddler::APIs::Orders20260101::CustomerAddress?, tax_registration_attributes: Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, tax_registration_number: String?, tax_registration_type: String? }

Returns:



957
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 957

def to_h: () -> { entity_type: String?, legal_name: String?, tax_registration_address: Peddler::APIs::Orders20260101::CustomerAddress?, tax_registration_attributes: Array[Peddler::APIs::Orders20260101::TaxRegistrationAttribute]?, tax_registration_number: String?, tax_registration_type: String? }