Class: ChannelAdvisor::CartServiceSOAP::APIResultOfString

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

Overview

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of APIResultOfString



80
81
82
83
84
85
86
# File 'lib/channel_advisor/cart_service/types.rb', line 80

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



77
78
79
# File 'lib/channel_advisor/cart_service/types.rb', line 77

def data
  @data
end

#messageObject

Returns the value of attribute message



76
77
78
# File 'lib/channel_advisor/cart_service/types.rb', line 76

def message
  @message
end

#messageCodeObject

Returns the value of attribute messageCode



75
76
77
# File 'lib/channel_advisor/cart_service/types.rb', line 75

def messageCode
  @messageCode
end

#resultDataObject

Returns the value of attribute resultData



78
79
80
# File 'lib/channel_advisor/cart_service/types.rb', line 78

def resultData
  @resultData
end

#statusObject

Returns the value of attribute status



74
75
76
# File 'lib/channel_advisor/cart_service/types.rb', line 74

def status
  @status
end