Class: ChannelAdvisor::CartServiceSOAP::APIResultOfCart

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

Overview

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

status - ChannelAdvisor::CartServiceSOAP::ResultStatus
messageCode - SOAP::SOAPInt
message - SOAP::SOAPString
data - SOAP::SOAPString
resultData - ChannelAdvisor::CartServiceSOAP::Cart

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil) ⇒ APIResultOfCart

Returns a new instance of APIResultOfCart



18
19
20
21
22
23
24
# File 'lib/channel_advisor/cart_service/types.rb', line 18

def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
  @status = status
  @messageCode = messageCode
  @message = message
  @data = data
  @resultData = resultData
end

Instance Attribute Details

#dataObject

Returns the value of attribute data



15
16
17
# File 'lib/channel_advisor/cart_service/types.rb', line 15

def data
  @data
end

#messageObject

Returns the value of attribute message



14
15
16
# File 'lib/channel_advisor/cart_service/types.rb', line 14

def message
  @message
end

#messageCodeObject

Returns the value of attribute messageCode



13
14
15
# File 'lib/channel_advisor/cart_service/types.rb', line 13

def messageCode
  @messageCode
end

#resultDataObject

Returns the value of attribute resultData



16
17
18
# File 'lib/channel_advisor/cart_service/types.rb', line 16

def resultData
  @resultData
end

#statusObject

Returns the value of attribute status



12
13
14
# File 'lib/channel_advisor/cart_service/types.rb', line 12

def status
  @status
end