Class: Agris::Api::NewOrderRemark

Inherits:
Object
  • Object
show all
Includes:
XmlModel
Defined in:
lib/agris/api/new_order_remark.rb

Constant Summary collapse

ATTRIBUTE_NAMES =
%w(
  number
  order_line
  value
).freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(hash = {}) ⇒ NewOrderRemark

Returns a new instance of NewOrderRemark.



15
16
17
18
19
# File 'lib/agris/api/new_order_remark.rb', line 15

def initialize(hash = {})
  super

  @record_type = 'INVP3'
end

Instance Attribute Details

#record_typeObject (readonly)

Returns the value of attribute record_type.



13
14
15
# File 'lib/agris/api/new_order_remark.rb', line 13

def record_type
  @record_type
end