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



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

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



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

def data
  @data
end

#messageObject

Returns the value of attribute message



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

def message
  @message
end

#messageCodeObject

Returns the value of attribute messageCode



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

def messageCode
  @messageCode
end

#resultDataObject

Returns the value of attribute resultData



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

def resultData
  @resultData
end

#statusObject

Returns the value of attribute status



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

def status
  @status
end