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

- (CreateCart) initialize(accountID = nil, buyerEmail = nil, lineItem = nil)

A new instance of CreateCart



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

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

Instance Attribute Details

- (Object) accountID

Returns the value of attribute accountID



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

def accountID
  @accountID
end

- (Object) buyerEmail

Returns the value of attribute buyerEmail



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

def buyerEmail
  @buyerEmail
end

- (Object) lineItem

Returns the value of attribute lineItem



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

def lineItem
  @lineItem
end