Class: ChannelAdvisor::TaxServiceSOAP::TaxItemVatShipping

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

Overview

http://api.channeladvisor.com/webservices/TaxItemVatShipping

taxAmount - SOAP::SOAPDecimal
taxRate - SOAP::SOAPDouble
taxType - ChannelAdvisor::TaxServiceSOAP::TaxTypeCode
shippingCost - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taxAmount = nil, taxRate = nil, taxType = nil, shippingCost = nil) ⇒ TaxItemVatShipping


107
108
109
110
111
112
# File 'lib/channel_advisor/tax_service/types.rb', line 107

def initialize(taxAmount = nil, taxRate = nil, taxType = nil, shippingCost = nil)
  @taxAmount = taxAmount
  @taxRate = taxRate
  @taxType = taxType
  @shippingCost = shippingCost
end

Instance Attribute Details

#shippingCostObject

Returns the value of attribute shippingCost


105
106
107
# File 'lib/channel_advisor/tax_service/types.rb', line 105

def shippingCost
  @shippingCost
end

#taxAmountObject

Returns the value of attribute taxAmount


102
103
104
# File 'lib/channel_advisor/tax_service/types.rb', line 102

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate


103
104
105
# File 'lib/channel_advisor/tax_service/types.rb', line 103

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType


104
105
106
# File 'lib/channel_advisor/tax_service/types.rb', line 104

def taxType
  @taxType
end