Class: ChannelAdvisor::CartServiceSOAP::CartItemRequest
- Inherits:
-
CartItem
- Object
- InventoryItemBase
- CartItem
- ChannelAdvisor::CartServiceSOAP::CartItemRequest
- 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 - ChannelAdvisor::CartServiceSOAP::SiteToken
unitPrice - SOAP::SOAPDecimal
allowNegativeQuantity - SOAP::SOAPBoolean
Instance Attribute Summary (collapse)
-
- (Object) allowNegativeQuantity
Returns the value of attribute allowNegativeQuantity.
-
- (Object) itemSaleSource
Returns the value of attribute itemSaleSource.
-
- (Object) lineItemID
Returns the value of attribute lineItemID.
-
- (Object) quantity
Returns the value of attribute quantity.
-
- (Object) sKU
Returns the value of attribute sKU.
-
- (Object) title
Returns the value of attribute title.
-
- (Object) unitPrice
Returns the value of attribute unitPrice.
Instance Method Summary (collapse)
-
- (CartItemRequest) initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, allowNegativeQuantity = nil)
constructor
A new instance of CartItemRequest.
Constructor Details
- (CartItemRequest) initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, allowNegativeQuantity = nil)
A new instance of CartItemRequest
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 |