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)


1164
1165
1166
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1164

def key
  @key
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


1165
1166
1167
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1165

def value
  @value
end

Class Method Details

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

Overloads:



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

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

.members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

#members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Returns:

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


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

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