Class: ChannelAdvisor::TaxServiceSOAP::TaxItemBase
- Inherits:
-
Object
- Object
- ChannelAdvisor::TaxServiceSOAP::TaxItemBase
- Defined in:
- lib/channel_advisor/tax_service/types.rb
Overview
/TaxItemBase abstract
taxAmount - SOAP::SOAPDecimal
taxRate - SOAP::SOAPDouble
taxType - ChannelAdvisor::TaxServiceSOAP::TaxTypeCode
Direct Known Subclasses
Instance Attribute Summary collapse
-
#taxAmount ⇒ Object
Returns the value of attribute taxAmount.
-
#taxRate ⇒ Object
Returns the value of attribute taxRate.
-
#taxType ⇒ Object
Returns the value of attribute taxType.
Instance Method Summary collapse
-
#initialize(taxAmount = nil, taxRate = nil, taxType = nil) ⇒ TaxItemBase
constructor
A new instance of TaxItemBase.
Constructor Details
#initialize(taxAmount = nil, taxRate = nil, taxType = nil) ⇒ TaxItemBase
Returns a new instance of TaxItemBase.
57 58 59 60 61 |
# File 'lib/channel_advisor/tax_service/types.rb', line 57 def initialize(taxAmount = nil, taxRate = nil, taxType = nil) @taxAmount = taxAmount @taxRate = taxRate @taxType = taxType end |
Instance Attribute Details
#taxAmount ⇒ Object
Returns the value of attribute taxAmount.
53 54 55 |
# File 'lib/channel_advisor/tax_service/types.rb', line 53 def taxAmount @taxAmount end |
#taxRate ⇒ Object
Returns the value of attribute taxRate.
54 55 56 |
# File 'lib/channel_advisor/tax_service/types.rb', line 54 def taxRate @taxRate end |
#taxType ⇒ Object
Returns the value of attribute taxType.
55 56 57 |
# File 'lib/channel_advisor/tax_service/types.rb', line 55 def taxType @taxType end |