Class: NFE::Footer

Inherits:
Register show all
Defined in:
lib/footer.rb

Constant Summary collapse

REQUIRED_FIELDS =
[
    :total_detail_lines,
    :total_amount,
    :total_tax_amount
]
VALID_FIELDS =
REQUIRED_FIELDS
DEFAULTS =
{
    total_detail_lines: "0"
}

Constants inherited from Register

Register::VALID_TYPES

Instance Attribute Summary

Attributes inherited from Register

#fields, #required_fields, #type

Instance Method Summary collapse

Methods inherited from Register

#<<, #to_hash, #to_s, #valid?, #valid_register_field?, #validate!

Constructor Details

#initializeFooter

Returns a new instance of Footer.



15
16
17
# File 'lib/footer.rb', line 15

def initialize
    super 9
end