Class: ChannelAdvisor::TaxServiceSOAP::TaxItemBase

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/tax_service/types.rb

Overview

http://api.channeladvisor.com/webservices/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


58
59
60
61
62
# File 'lib/channel_advisor/tax_service/types.rb', line 58

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


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

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate


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

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType


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

def taxType
  @taxType
end