class Eddy::Elements::E378
### 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
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/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
Public Instance Methods
code_list()
click to toggle source
@return [Array<String>]
# 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