Class: Peddler::APIs::Orders20260101::TaxRegistrationAttribute

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

#keyString? (readonly)

Returns the value of attribute key.

Returns:

  • (String, nil)


1109
1110
1111
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1109

def key
  @key
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


1110
1111
1112
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1110

def value
  @value
end

Class Method Details

.[](key:, value:) ⇒ Peddler::APIs::Orders20260101::TaxRegistrationAttribute .[](arg0, arg1) ⇒ Peddler::APIs::Orders20260101::TaxRegistrationAttribute

Overloads:



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

def self.[]: (?key: String?, ?value: String?) -> Peddler::APIs::Orders20260101::TaxRegistrationAttribute
| (String?, String?) -> Peddler::APIs::Orders20260101::TaxRegistrationAttribute

.members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

def self.members: () -> [ :key, :value ]

.new(key:, value:) ⇒ Peddler::APIs::Orders20260101::TaxRegistrationAttribute .new(arg0, arg1) ⇒ Peddler::APIs::Orders20260101::TaxRegistrationAttribute

Overloads:



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

def self.new: (?key: String?, ?value: String?) -> Peddler::APIs::Orders20260101::TaxRegistrationAttribute
| (String?, String?) -> Peddler::APIs::Orders20260101::TaxRegistrationAttribute

.parsePeddler::APIs::Orders20260101::TaxRegistrationAttribute

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

def members: () -> [ :key, :value ]

#to_h{ key: String?, value: String? }

Returns:

  • ({ key: String?, value: String? })


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

def to_h: () -> { key: String?, value: String? }