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)


913
914
915
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 913

def entity_type
  @entity_type
end

Returns the value of attribute legal_name.

Returns:

  • (String, nil)


914
915
916
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 914

def legal_name
  @legal_name
end

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

Returns the value of attribute tax_registration_address.



915
916
917
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 915

def tax_registration_address
  @tax_registration_address
end

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

Returns the value of attribute tax_registration_attributes.



916
917
918
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 916

def tax_registration_attributes
  @tax_registration_attributes
end

#tax_registration_numberString? (readonly)

Returns the value of attribute tax_registration_number.

Returns:

  • (String, nil)


917
918
919
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 917

def tax_registration_number
  @tax_registration_number
end

#tax_registration_typeString? (readonly)

Returns the value of attribute tax_registration_type.

Returns:

  • (String, nil)


918
919
920
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 918

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:



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

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


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

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:



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

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:



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

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


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

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:



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

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