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)

Returns a new instance of CreateCart



291
292
293
294
295
# File 'lib/channel_advisor/cart_service/types.rb', line 291

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



287
288
289
# File 'lib/channel_advisor/cart_service/types.rb', line 287

def accountID
  @accountID
end

- (Object) buyerEmail

Returns the value of attribute buyerEmail



288
289
290
# File 'lib/channel_advisor/cart_service/types.rb', line 288

def buyerEmail
  @buyerEmail
end

- (Object) lineItem

Returns the value of attribute lineItem



289
290
291
# File 'lib/channel_advisor/cart_service/types.rb', line 289

def lineItem
  @lineItem
end