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
Direct Known Subclasses
Instance Attribute Summary collapse
-
#itemSaleSource ⇒ Object
Returns the value of attribute itemSaleSource.
-
#lineItemID ⇒ Object
Returns the value of attribute lineItemID.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sKU ⇒ Object
Returns the value of attribute sKU.
-
#title ⇒ Object
Returns the value of attribute title.
-
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
Instance Method Summary collapse
-
#initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil) ⇒ CartItem
constructor
A new instance of CartItem.
Constructor Details
#initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil) ⇒ CartItem
Returns 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
#itemSaleSource ⇒ Object
Returns the value of attribute itemSaleSource.
135 136 137 |
# File 'lib/channel_advisor/cart_service/types.rb', line 135 def itemSaleSource @itemSaleSource end |
#lineItemID ⇒ Object
Returns the value of attribute lineItemID.
133 134 135 |
# File 'lib/channel_advisor/cart_service/types.rb', line 133 def lineItemID @lineItemID end |
#quantity ⇒ Object
Returns the value of attribute quantity.
134 135 136 |
# File 'lib/channel_advisor/cart_service/types.rb', line 134 def quantity @quantity end |
#sKU ⇒ Object
Returns the value of attribute sKU.
131 132 133 |
# File 'lib/channel_advisor/cart_service/types.rb', line 131 def sKU @sKU end |
#title ⇒ Object
Returns the value of attribute title.
132 133 134 |
# File 'lib/channel_advisor/cart_service/types.rb', line 132 def title @title end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
136 137 138 |
# File 'lib/channel_advisor/cart_service/types.rb', line 136 def unitPrice @unitPrice end |