Class: ChannelAdvisor::TaxServiceSOAP::TaxItemProduct

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

Overview

/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.



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

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.



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

def lineItemID
  @lineItemID
end

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU.



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

def sKU
  @sKU
end

#taxAmountObject

Returns the value of attribute taxAmount.



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

def taxAmount
  @taxAmount
end

#taxRateObject

Returns the value of attribute taxRate.



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

def taxRate
  @taxRate
end

#taxTypeObject

Returns the value of attribute taxType.



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

def taxType
  @taxType
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice.



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

def unitPrice
  @unitPrice
end