Class: ChannelAdvisor::TaxServiceSOAP::TaxItemBase

Inherits:
Object
  • Object
show all
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

TaxItemProduct, TaxItemVatShipping

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#taxAmountObject

Returns the value of attribute taxAmount.



53
54
55
# File 'lib/channel_advisor/tax_service/types.rb', line 53

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate.



54
55
56
# File 'lib/channel_advisor/tax_service/types.rb', line 54

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType.



55
56
57
# File 'lib/channel_advisor/tax_service/types.rb', line 55

def taxType
  @taxType
end