Class: ChannelAdvisor::CartServiceSOAP::CartItem
- Inherits:
-
InventoryItemBase
- Object
- InventoryItemBase
- ChannelAdvisor::CartServiceSOAP::CartItem
- Defined in:
- lib/channel_advisor/cart_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersCartItem abstract
sKU - SOAP::SOAPString
title - SOAP::SOAPString
lineItemID - SOAP::SOAPInt
quantity - SOAP::SOAPInt
itemSaleSource - ChannelAdvisor::CartServiceSOAP::SiteToken
unitPrice - SOAP::SOAPDecimal
Instance Attribute Summary (collapse)
-
- (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)
-
- (CartItem) initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil)
constructor
A new instance of CartItem.
Constructor Details
- (CartItem) initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil)
A new instance of CartItem
138 139 140 141 142 143 144 145 |
# File 'lib/channel_advisor/cart_service/types.rb', line 138 def initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil) @sKU = sKU @title = title @lineItemID = lineItemID @quantity = quantity @itemSaleSource = itemSaleSource @unitPrice = unitPrice end |
Instance Attribute Details
- (Object) itemSaleSource
Returns the value of attribute itemSaleSource
135 136 137 |
# File 'lib/channel_advisor/cart_service/types.rb', line 135 def itemSaleSource @itemSaleSource end |
- (Object) lineItemID
Returns the value of attribute lineItemID
133 134 135 |
# File 'lib/channel_advisor/cart_service/types.rb', line 133 def lineItemID @lineItemID end |
- (Object) quantity
Returns the value of attribute quantity
134 135 136 |
# File 'lib/channel_advisor/cart_service/types.rb', line 134 def quantity @quantity end |
- (Object) sKU
Returns the value of attribute sKU
131 132 133 |
# File 'lib/channel_advisor/cart_service/types.rb', line 131 def sKU @sKU end |
- (Object) title
Returns the value of attribute title
132 133 134 |
# File 'lib/channel_advisor/cart_service/types.rb', line 132 def title @title end |
- (Object) unitPrice
Returns the value of attribute unitPrice
136 137 138 |
# File 'lib/channel_advisor/cart_service/types.rb', line 136 def unitPrice @unitPrice end |