Class: ChannelAdvisor::CartServiceSOAP::CartItemResponse

Inherits:
CartItem show all
Defined in:
lib/channel_advisor/cart_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersCartItemResponse

sKU - SOAP::SOAPString
title - SOAP::SOAPString
lineItemID - SOAP::SOAPInt
quantity - SOAP::SOAPInt
itemSaleSource - SOAP::SOAPString
unitPrice - SOAP::SOAPDecimal
currencyCode - SOAP::SOAPString
unitWeight - ChannelAdvisor::CartServiceSOAP::ItemWeight

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, currencyCode = nil, unitWeight = nil) ⇒ CartItemResponse



167
168
169
170
171
172
173
174
175
176
# File 'lib/channel_advisor/cart_service/types.rb', line 167

def initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, currencyCode = nil, unitWeight = nil)
  @sKU = sKU
  @title = title
  @lineItemID = lineItemID
  @quantity = quantity
  @itemSaleSource = itemSaleSource
  @unitPrice = unitPrice
  @currencyCode = currencyCode
  @unitWeight = unitWeight
end

Instance Attribute Details

#currencyCodeObject

Returns the value of attribute currencyCode



164
165
166
# File 'lib/channel_advisor/cart_service/types.rb', line 164

def currencyCode
  @currencyCode
end

#itemSaleSourceObject

Returns the value of attribute itemSaleSource



162
163
164
# File 'lib/channel_advisor/cart_service/types.rb', line 162

def itemSaleSource
  @itemSaleSource
end

#lineItemIDObject

Returns the value of attribute lineItemID



160
161
162
# File 'lib/channel_advisor/cart_service/types.rb', line 160

def lineItemID
  @lineItemID
end

#quantityObject

Returns the value of attribute quantity



161
162
163
# File 'lib/channel_advisor/cart_service/types.rb', line 161

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU



158
159
160
# File 'lib/channel_advisor/cart_service/types.rb', line 158

def sKU
  @sKU
end

#titleObject

Returns the value of attribute title



159
160
161
# File 'lib/channel_advisor/cart_service/types.rb', line 159

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice



163
164
165
# File 'lib/channel_advisor/cart_service/types.rb', line 163

def unitPrice
  @unitPrice
end

#unitWeightObject

Returns the value of attribute unitWeight



165
166
167
# File 'lib/channel_advisor/cart_service/types.rb', line 165

def unitWeight
  @unitWeight
end