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)


968
969
970
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 968

def entity_type
  @entity_type
end

Returns the value of attribute legal_name.

Returns:

  • (String, nil)


969
970
971
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 969

def legal_name
  @legal_name
end

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

Returns the value of attribute tax_registration_address.



970
971
972
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 970

def tax_registration_address
  @tax_registration_address
end

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

Returns the value of attribute tax_registration_attributes.



971
972
973
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 971

def tax_registration_attributes
  @tax_registration_attributes
end

#tax_registration_numberString? (readonly)

Returns the value of attribute tax_registration_number.

Returns:

  • (String, nil)


972
973
974
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 972

def tax_registration_number
  @tax_registration_number
end

#tax_registration_typeString? (readonly)

Returns the value of attribute tax_registration_type.

Returns:

  • (String, nil)


973
974
975
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 973

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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? }