Class: Peddler::APIs::ShipmentInvoicingV0::BuyerTaxInfo

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)


41
42
43
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 41

def company_legal_name
  @company_legal_name
end

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

Returns the value of attribute tax_classifications.



42
43
44
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 42

def tax_classifications
  @tax_classifications
end

#taxing_regionString? (readonly)

Returns the value of attribute taxing_region.

Returns:

  • (String, nil)


43
44
45
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 43

def taxing_region
  @taxing_region
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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

.parsePeddler::APIs::ShipmentInvoicingV0::BuyerTaxInfo

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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:



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

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