Class: ChannelAdvisor::CartServiceSOAP::Cart

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#cartIDObject

Returns the value of attribute cartID.



93
94
95
# File 'lib/channel_advisor/cart_service/types.rb', line 93

def cartID
  @cartID
end

#checkoutURLObject

Returns the value of attribute checkoutURL.



94
95
96
# File 'lib/channel_advisor/cart_service/types.rb', line 94

def checkoutURL
  @checkoutURL
end

#lineItemListObject

Returns the value of attribute lineItemList.



95
96
97
# File 'lib/channel_advisor/cart_service/types.rb', line 95

def lineItemList
  @lineItemList
end