Class: ChannelAdvisor::TaxServiceSOAP::TaxItemProduct

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

Overview

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

taxAmount - SOAP::SOAPDecimal
taxRate - SOAP::SOAPDouble
taxType - ChannelAdvisor::TaxServiceSOAP::TaxTypeCode
quantity - SOAP::SOAPInt
unitPrice - SOAP::SOAPDecimal
lineItemID - SOAP::SOAPInt
title - SOAP::SOAPString
sKU - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taxAmount = nil, taxRate = nil, taxType = nil, quantity = nil, unitPrice = nil, lineItemID = nil, title = nil, sKU = nil) ⇒ TaxItemProduct

Returns a new instance of TaxItemProduct



84
85
86
87
88
89
90
91
92
93
# File 'lib/channel_advisor/tax_service/types.rb', line 84

def initialize(taxAmount = nil, taxRate = nil, taxType = nil, quantity = nil, unitPrice = nil, lineItemID = nil, title = nil, sKU = nil)
  @taxAmount = taxAmount
  @taxRate = taxRate
  @taxType = taxType
  @quantity = quantity
  @unitPrice = unitPrice
  @lineItemID = lineItemID
  @title = title
  @sKU = sKU
end

Instance Attribute Details

#lineItemIDObject

Returns the value of attribute lineItemID



80
81
82
# File 'lib/channel_advisor/tax_service/types.rb', line 80

def lineItemID
  @lineItemID
end

#quantityObject

Returns the value of attribute quantity



78
79
80
# File 'lib/channel_advisor/tax_service/types.rb', line 78

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU



82
83
84
# File 'lib/channel_advisor/tax_service/types.rb', line 82

def sKU
  @sKU
end

#taxAmountObject

Returns the value of attribute taxAmount



75
76
77
# File 'lib/channel_advisor/tax_service/types.rb', line 75

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate



76
77
78
# File 'lib/channel_advisor/tax_service/types.rb', line 76

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType



77
78
79
# File 'lib/channel_advisor/tax_service/types.rb', line 77

def taxType
  @taxType
end

#titleObject

Returns the value of attribute title



81
82
83
# File 'lib/channel_advisor/tax_service/types.rb', line 81

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice



79
80
81
# File 'lib/channel_advisor/tax_service/types.rb', line 79

def unitPrice
  @unitPrice
end