class Eddy::Elements::E1019

### Element Summary:

Public Class Methods

new(val: nil, req: nil, ref: nil) click to toggle source

@param val [String] @param req [String] @param ref [String] @return [void]

Calls superclass method Eddy::Models::Element::ID::new
# File lib/definitions/elements/generated/1019.invoice_type_code.rb, line 16
def initialize(val: nil, req: nil, ref: nil)
  @id = "1019"
  @name = "Invoice Type Code"
  @description = "Code defining the method by which invoices are to be processed"
  super(
    min: 3,
    max: 3,
    req: req,
    ref: ref,
    val: val,
  )
end

Public Instance Methods

code_list() click to toggle source

@return [Array<String>]

# File lib/definitions/elements/generated/1019.invoice_type_code.rb, line 30
def code_list()
  return [
    "IBM", # Invoice By Mail
    "IEL", # Invoice Electronically
    "INR", # Invoice Not Required (Such As Evaluated Receipts Settlements)
  ]
end