Class: Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

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

Returns the value of attribute company_legal_name.

Returns:

  • (String, nil)


115
116
117
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 115

def company_legal_name
  @company_legal_name
end

#tax_classificationsArray[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]? (readonly)

Returns the value of attribute tax_classifications.



116
117
118
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 116

def tax_classifications
  @tax_classifications
end

#taxing_regionString? (readonly)

Returns the value of attribute taxing_region.

Returns:

  • (String, nil)


117
118
119
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 117

def taxing_region
  @taxing_region
end

Class Method Details

.[](company_legal_name:, tax_classifications:, taxing_region:) ⇒ Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

Overloads:



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

def self.[]: (?company_legal_name: String?, ?tax_classifications: Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, ?taxing_region: String?) -> Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo
| (String?, Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, String?) -> Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

.members[ :company_legal_name, :tax_classifications, :taxing_region ]

Returns:

  • ([ :company_legal_name, :tax_classifications, :taxing_region ])


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

def self.members: () -> [ :company_legal_name, :tax_classifications, :taxing_region ]

.new(company_legal_name:, tax_classifications:, taxing_region:) ⇒ Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

Overloads:



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

def self.new: (?company_legal_name: String?, ?tax_classifications: Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, ?taxing_region: String?) -> Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo
| (String?, Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, String?) -> Peddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

.parsePeddler::APIs::ShipmentInvoicingV0::MarketplaceTaxInfo

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :company_legal_name, :tax_classifications, :taxing_region ]

Returns:

  • ([ :company_legal_name, :tax_classifications, :taxing_region ])


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

def members: () -> [ :company_legal_name, :tax_classifications, :taxing_region ]

#to_h{ company_legal_name: String?, tax_classifications: Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, taxing_region: String? }

Returns:



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

def to_h: () -> { company_legal_name: String?, tax_classifications: Array[Peddler::APIs::ShipmentInvoicingV0::TaxClassification]?, taxing_region: String? }