Class: Peddler::APIs::OrdersV0::BuyerTaxInfo

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/orders_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)


209
210
211
# File 'sig/peddler/apis/orders_v0.rbs', line 209

def company_legal_name
  @company_legal_name
end

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

Returns the value of attribute tax_classifications.



210
211
212
# File 'sig/peddler/apis/orders_v0.rbs', line 210

def tax_classifications
  @tax_classifications
end

#taxing_regionString? (readonly)

Returns the value of attribute taxing_region.

Returns:

  • (String, nil)


211
212
213
# File 'sig/peddler/apis/orders_v0.rbs', line 211

def taxing_region
  @taxing_region
end

Class Method Details

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

Overloads:



202
203
# File 'sig/peddler/apis/orders_v0.rbs', line 202

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

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

Returns:

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


205
# File 'sig/peddler/apis/orders_v0.rbs', line 205

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

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

Overloads:



200
201
# File 'sig/peddler/apis/orders_v0.rbs', line 200

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

.parsePeddler::APIs::OrdersV0::BuyerTaxInfo

Parameters:

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

Returns:



207
# File 'sig/peddler/apis/orders_v0.rbs', line 207

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

Instance Method Details

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

Returns:

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


213
# File 'sig/peddler/apis/orders_v0.rbs', line 213

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

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

Returns:



214
# File 'sig/peddler/apis/orders_v0.rbs', line 214

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