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)


185
186
187
# File 'sig/peddler/apis/orders_v0.rbs', line 185

def company_legal_name
  @company_legal_name
end

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

Returns the value of attribute tax_classifications.



186
187
188
# File 'sig/peddler/apis/orders_v0.rbs', line 186

def tax_classifications
  @tax_classifications
end

#taxing_regionString? (readonly)

Returns the value of attribute taxing_region.

Returns:

  • (String, nil)


187
188
189
# File 'sig/peddler/apis/orders_v0.rbs', line 187

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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