Class: RubyOmx::MemoSubmissionRequest

Inherits:
Request show all
Defined in:
lib/ruby_omx/request/memo_submission_request.rb

Instance Attribute Summary collapse

Attributes inherited from Request

#raw_xml

Instance Method Summary collapse

Methods inherited from Response

format, parse_xml

Methods inherited from Node

#accessors, #as_hash

Constructor Details

#initialize(a = {}) ⇒ MemoSubmissionRequest

Returns a new instance of MemoSubmissionRequest.



4
5
6
7
# File 'lib/ruby_omx/request/memo_submission_request.rb', line 4

def initialize(a={})
  super
  self.version = a[:version] ||= '1.00'
end

Instance Attribute Details

#order_idObject

Returns the value of attribute order_id.



9
10
11
# File 'lib/ruby_omx/request/memo_submission_request.rb', line 9

def order_id
  @order_id
end

#order_numberObject

Returns the value of attribute order_number.



9
10
11
# File 'lib/ruby_omx/request/memo_submission_request.rb', line 9

def order_number
  @order_number
end

#store_codeObject

Returns the value of attribute store_code.



9
10
11
# File 'lib/ruby_omx/request/memo_submission_request.rb', line 9

def store_code
  @store_code
end