Class: Peddler::APIs::ShipmentInvoicingV0::TaxClassification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipment_invoicing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


292
293
294
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 292

def name
  @name
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


293
294
295
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 293

def value
  @value
end

Class Method Details

.[](name:, value:) ⇒ Peddler::APIs::ShipmentInvoicingV0::TaxClassification .[](arg0, arg1) ⇒ Peddler::APIs::ShipmentInvoicingV0::TaxClassification

Overloads:



285
286
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 285

def self.[]: (?name: String?, ?value: String?) -> Peddler::APIs::ShipmentInvoicingV0::TaxClassification
| (String?, String?) -> Peddler::APIs::ShipmentInvoicingV0::TaxClassification

.members[ :name, :value ]

Returns:

  • ([ :name, :value ])


288
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 288

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

.new(name:, value:) ⇒ Peddler::APIs::ShipmentInvoicingV0::TaxClassification .new(arg0, arg1) ⇒ Peddler::APIs::ShipmentInvoicingV0::TaxClassification

Overloads:



283
284
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 283

def self.new: (?name: String?, ?value: String?) -> Peddler::APIs::ShipmentInvoicingV0::TaxClassification
| (String?, String?) -> Peddler::APIs::ShipmentInvoicingV0::TaxClassification

.parsePeddler::APIs::ShipmentInvoicingV0::TaxClassification

Parameters:

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

Returns:



290
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 290

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

Instance Method Details

#members[ :name, :value ]

Returns:

  • ([ :name, :value ])


295
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 295

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

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

Returns:

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


296
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 296

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