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

#key ⇒ String? (readonly)

Returns the value of attribute key.

Returns:

  • (String, nil)


1183
1184
1185
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1183

def key
  @key
end

#value ⇒ String? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


1184
1185
1186
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1184

def value
  @value
end

Class Method Details

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

Overloads:



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

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

.members ⇒ [ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Overloads:



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

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

.parse ⇒ Peddler::APIs::Orders20260101::TaxRegistrationAttribute

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Returns:

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


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

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