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