Class: ChannelAdvisor::CartServiceSOAP::CartItemResponse
- Inherits:
-
CartItem
- Object
- InventoryItemBase
- CartItem
- ChannelAdvisor::CartServiceSOAP::CartItemResponse
- 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 - ChannelAdvisor::CartServiceSOAP::SiteToken
unitPrice - SOAP::SOAPDecimal
currencyCode - SOAP::SOAPString
unitWeight - ChannelAdvisor::CartServiceSOAP::ItemWeight
Instance Attribute Summary collapse
-
#currencyCode ⇒ Object
Returns the value of attribute currencyCode.
-
#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.
-
#unitWeight ⇒ Object
Returns the value of attribute unitWeight.
Instance Method Summary collapse
-
#initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, currencyCode = nil, unitWeight = nil) ⇒ CartItemResponse
constructor
A new instance of CartItemResponse.
Constructor Details
#initialize(sKU = nil, title = nil, lineItemID = nil, quantity = nil, itemSaleSource = nil, unitPrice = nil, currencyCode = nil, unitWeight = nil) ⇒ CartItemResponse
Returns a new instance of 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
#currencyCode ⇒ Object
Returns the value of attribute currencyCode.
164 165 166 |
# File 'lib/channel_advisor/cart_service/types.rb', line 164 def currencyCode @currencyCode end |
#itemSaleSource ⇒ Object
Returns the value of attribute itemSaleSource.
162 163 164 |
# File 'lib/channel_advisor/cart_service/types.rb', line 162 def itemSaleSource @itemSaleSource end |
#lineItemID ⇒ Object
Returns the value of attribute lineItemID.
160 161 162 |
# File 'lib/channel_advisor/cart_service/types.rb', line 160 def lineItemID @lineItemID end |
#quantity ⇒ Object
Returns the value of attribute quantity.
161 162 163 |
# File 'lib/channel_advisor/cart_service/types.rb', line 161 def quantity @quantity end |
#sKU ⇒ Object
Returns the value of attribute sKU.
158 159 160 |
# File 'lib/channel_advisor/cart_service/types.rb', line 158 def sKU @sKU end |
#title ⇒ Object
Returns the value of attribute title.
159 160 161 |
# File 'lib/channel_advisor/cart_service/types.rb', line 159 def title @title end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
163 164 165 |
# File 'lib/channel_advisor/cart_service/types.rb', line 163 def unitPrice @unitPrice end |
#unitWeight ⇒ Object
Returns the value of attribute unitWeight.
165 166 167 |
# File 'lib/channel_advisor/cart_service/types.rb', line 165 def unitWeight @unitWeight end |