Class: ChannelAdvisor::CartServiceSOAP::CreateCart

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/cart_service/types.rb

Overview

http://api.channeladvisor.com/webservices/CreateCart

accountID - SOAP::SOAPString
buyerEmail - SOAP::SOAPString
lineItem - ChannelAdvisor::CartServiceSOAP::ArrayOfCartItemRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountID = nil, buyerEmail = nil, lineItem = nil) ⇒ CreateCart

Returns a new instance of CreateCart



327
328
329
330
331
# File 'lib/channel_advisor/cart_service/types.rb', line 327

def initialize(accountID = nil, buyerEmail = nil, lineItem = nil)
  @accountID = accountID
  @buyerEmail = buyerEmail
  @lineItem = lineItem
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID



323
324
325
# File 'lib/channel_advisor/cart_service/types.rb', line 323

def accountID
  @accountID
end

#buyerEmailObject

Returns the value of attribute buyerEmail



324
325
326
# File 'lib/channel_advisor/cart_service/types.rb', line 324

def buyerEmail
  @buyerEmail
end

#lineItemObject

Returns the value of attribute lineItem



325
326
327
# File 'lib/channel_advisor/cart_service/types.rb', line 325

def lineItem
  @lineItem
end