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

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

Returns a new instance of APIResultOfString



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

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

- (Object) data

Returns the value of attribute data



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

def data
  @data
end

- (Object) message

Returns the value of attribute message



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

def message
  @message
end

- (Object) messageCode

Returns the value of attribute messageCode



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

def messageCode
  @messageCode
end

- (Object) resultData

Returns the value of attribute resultData



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

def resultData
  @resultData
end

- (Object) status

Returns the value of attribute status



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

def status
  @status
end