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)


1145
1146
1147
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1145

def key
  @key
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


1146
1147
1148
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 1146

def value
  @value
end

Class Method Details

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

Overloads:



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

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

.members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

#members[ :key, :value ]

Returns:

  • ([ :key, :value ])


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

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

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

Returns:

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


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

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