Class: Eddy::Elements::E378
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E378
- Defined in:
- lib/definitions/elements/generated/378.allowance_charge_percent_qualifier.rb
Overview
Element Summary:
- Id: 378
- Name: Allowance/Charge Percent Qualifier
- Type: ID
- Min/Max: 1/1
- Description: Code indicating on what basis allowance or charge percent is calculated
Instance Attribute Summary
Attributes inherited from Models::Element::Base
#description, #id, #max, #min, #name, #ref, #type
Instance Method Summary collapse
Methods inherited from Models::Element::ID
#process_value, process_value, #value, #value=
Methods inherited from Models::Element::Base
#doc_comment, #process_value, process_value, #req, #req=, #value, #value=
Constructor Details
#initialize(val: nil, req: nil, ref: nil) ⇒ void
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/definitions/elements/generated/378.allowance_charge_percent_qualifier.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "378" @name = "Allowance/Charge Percent Qualifier" @description = "Code indicating on what basis allowance or charge percent is calculated" super( min: 1, max: 1, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/definitions/elements/generated/378.allowance_charge_percent_qualifier.rb', line 30 def code_list() return [ "1", # Item List Cost "2", # Item Net Cost "3", # Discount/Gross "4", # Discount/Net "5", # Base Price per Unit "6", # Base Price Amount "7", # Base Price Amount Less Previous Discount "8", # Net Monthly On All Invoices Past Due "9", # Late Payment Charge Base Amount "A", # Fuel Rate "Z", # Mutually Defined ] end |