Method: Eddy::Elements::E687#initialize

Defined in:
lib/definitions/elements/generated/687.class_of_trade_code.rb

#initialize(val: nil, req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: nil)
  • req (String) (defaults to: nil)
  • ref (String) (defaults to: nil)


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/generated/687.class_of_trade_code.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "687"
  @name = "Class of Trade Code"
  @description = "Code indicating class of trade"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end