Sha256: a5688ce037d7c83fc51ba618e2a27c978f56ce3cb23df73b3274015a2acb979d

Contents?: true

Size: 974 Bytes

Versions: 4

Compression:

Stored size: 974 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 1019
    # - Name: Invoice Type Code
    # - Type: ID
    # - Min/Max: 3/3
    # - Description: Code defining the method by which invoices are to be processed
    class E1019 < Eddy::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      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

      # @return [Array<String>]
      def code_list()
        return [
          "IBM", # Invoice By Mail
          "IEL", # Invoice Electronically
          "INR", # Invoice Not Required (Such As Evaluated Receipts Settlements)
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/generated/1019.invoice_type_code.rb
eddy-0.5.0 lib/definitions/elements/generated/1019.invoice_type_code.rb
eddy-0.4.0 lib/definitions/elements/generated/1019.invoice_type_code.rb
eddy-0.3.0 lib/definitions/elements/generated/1019.invoice_type_code.rb