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 - SOAP::SOAPString
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

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

Returns a new instance of TaxItemProduct



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

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

- (Object) lineItemID

Returns the value of attribute lineItemID



98
99
100
# File 'lib/channel_advisor/tax_service/types.rb', line 98

def lineItemID
  @lineItemID
end

- (Object) quantity

Returns the value of attribute quantity



96
97
98
# File 'lib/channel_advisor/tax_service/types.rb', line 96

def quantity
  @quantity
end

- (Object) sKU

Returns the value of attribute sKU



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

def sKU
  @sKU
end

- (Object) taxAmount

Returns the value of attribute taxAmount



93
94
95
# File 'lib/channel_advisor/tax_service/types.rb', line 93

def taxAmount
  @taxAmount
end

- (Object) taxRate

Returns the value of attribute taxRate



94
95
96
# File 'lib/channel_advisor/tax_service/types.rb', line 94

def taxRate
  @taxRate
end

- (Object) taxType

Returns the value of attribute taxType



95
96
97
# File 'lib/channel_advisor/tax_service/types.rb', line 95

def taxType
  @taxType
end

- (Object) title

Returns the value of attribute title



99
100
101
# File 'lib/channel_advisor/tax_service/types.rb', line 99

def title
  @title
end

- (Object) unitPrice

Returns the value of attribute unitPrice



97
98
99
# File 'lib/channel_advisor/tax_service/types.rb', line 97

def unitPrice
  @unitPrice
end