Class: ChannelAdvisor::CartServiceSOAP::Cart
- Inherits:
-
Object
- Object
- ChannelAdvisor::CartServiceSOAP::Cart
- Defined in:
- lib/channel_advisor/cart_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersCart
cartID - SOAP::SOAPInt
checkoutURL - SOAP::SOAPString
lineItemList - ChannelAdvisor::CartServiceSOAP::ArrayOfCartItem
Instance Attribute Summary collapse
-
#cartID ⇒ Object
Returns the value of attribute cartID.
-
#checkoutURL ⇒ Object
Returns the value of attribute checkoutURL.
-
#lineItemList ⇒ Object
Returns the value of attribute lineItemList.
Instance Method Summary collapse
-
#initialize(cartID = nil, checkoutURL = nil, lineItemList = nil) ⇒ Cart
constructor
A new instance of Cart.
Constructor Details
#initialize(cartID = nil, checkoutURL = nil, lineItemList = nil) ⇒ Cart
Returns a new instance of Cart.
97 98 99 100 101 |
# File 'lib/channel_advisor/cart_service/types.rb', line 97 def initialize(cartID = nil, checkoutURL = nil, lineItemList = nil) @cartID = cartID @checkoutURL = checkoutURL @lineItemList = lineItemList end |
Instance Attribute Details
#cartID ⇒ Object
Returns the value of attribute cartID.
93 94 95 |
# File 'lib/channel_advisor/cart_service/types.rb', line 93 def cartID @cartID end |
#checkoutURL ⇒ Object
Returns the value of attribute checkoutURL.
94 95 96 |
# File 'lib/channel_advisor/cart_service/types.rb', line 94 def checkoutURL @checkoutURL end |
#lineItemList ⇒ Object
Returns the value of attribute lineItemList.
95 96 97 |
# File 'lib/channel_advisor/cart_service/types.rb', line 95 def lineItemList @lineItemList end |