Class: ChannelAdvisor::CartServiceSOAP::CartItemRequest

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

Overview

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

sKU - SOAP::SOAPString
title - SOAP::SOAPString
lineItemID - SOAP::SOAPInt
quantity - SOAP::SOAPInt
itemSaleSource - SOAP::SOAPString
unitPrice - SOAP::SOAPDecimal
allowNegativeQuantity - SOAP::SOAPBoolean

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (CartItemRequest) initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, allowNegativeQuantity = nil)



196
197
198
199
200
201
202
203
204
# File 'lib/channel_advisor/cart_service/types.rb', line 196

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

Instance Attribute Details

- (Object) allowNegativeQuantity

Returns the value of attribute allowNegativeQuantity



194
195
196
# File 'lib/channel_advisor/cart_service/types.rb', line 194

def allowNegativeQuantity
  @allowNegativeQuantity
end

- (Object) itemSaleSource

Returns the value of attribute itemSaleSource



192
193
194
# File 'lib/channel_advisor/cart_service/types.rb', line 192

def itemSaleSource
  @itemSaleSource
end

- (Object) lineItemID

Returns the value of attribute lineItemID



190
191
192
# File 'lib/channel_advisor/cart_service/types.rb', line 190

def lineItemID
  @lineItemID
end

- (Object) quantity

Returns the value of attribute quantity



191
192
193
# File 'lib/channel_advisor/cart_service/types.rb', line 191

def quantity
  @quantity
end

- (Object) sKU

Returns the value of attribute sKU



188
189
190
# File 'lib/channel_advisor/cart_service/types.rb', line 188

def sKU
  @sKU
end

- (Object) title

Returns the value of attribute title



189
190
191
# File 'lib/channel_advisor/cart_service/types.rb', line 189

def title
  @title
end

- (Object) unitPrice

Returns the value of attribute unitPrice



193
194
195
# File 'lib/channel_advisor/cart_service/types.rb', line 193

def unitPrice
  @unitPrice
end