Class: ChannelAdvisor::TaxServiceSOAP::TaxItemVatShipping

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

Overview

/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

Returns a new instance of TaxItemVatShipping.



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

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.



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

def shippingCost
  @shippingCost
end

#taxAmountObject

Returns the value of attribute taxAmount.



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

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate.



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

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType.



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

def taxType
  @taxType
end