Class: EMIS::Models::CombatPay
- Inherits:
-
Object
- Object
- EMIS::Models::CombatPay
- Defined in:
- lib/emis/models/combat_pay.rb
Overview
EMIS Combat Pay data for a veteran
Instance Attribute Summary collapse
-
#begin_date ⇒ Date
Date the specified pay began.
-
#combat_zone_country_code ⇒ String
2 letter ISO code that represents the country designated a Combat Zone.
-
#end_date ⇒ Date
Date the specified pay terminated.
-
#segment_identifier ⇒ String
Identifier that is used to ensure a unique key on each Military Pay record.
-
#type_code ⇒ String
Code that indicates the type of pay being reported.
Instance Attribute Details
#begin_date ⇒ Date
Returns date the specified pay began. Day is not available from the pay files and is defaulted to “01”.
23 24 25 26 27 28 29 30 31 |
# File 'lib/emis/models/combat_pay.rb', line 23 class CombatPay include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :type_code, String attribute :combat_zone_country_code, String end |
#combat_zone_country_code ⇒ String
Returns 2 letter ISO code that represents the country designated a Combat Zone. Used only when CZTE is indicated by type_code
.
23 24 25 26 27 28 29 30 31 |
# File 'lib/emis/models/combat_pay.rb', line 23 class CombatPay include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :type_code, String attribute :combat_zone_country_code, String end |
#end_date ⇒ Date
Returns date the specified pay terminated. Day is not available from the pay files and is defaulted to the end of the month.
23 24 25 26 27 28 29 30 31 |
# File 'lib/emis/models/combat_pay.rb', line 23 class CombatPay include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :type_code, String attribute :combat_zone_country_code, String end |
#segment_identifier ⇒ String
Returns identifier that is used to ensure a unique key on each Military Pay record.
23 24 25 26 27 28 29 30 31 |
# File 'lib/emis/models/combat_pay.rb', line 23 class CombatPay include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :type_code, String attribute :combat_zone_country_code, String end |
#type_code ⇒ String
Returns code that indicates the type of pay being reported.
01 => Combat Zone Tax Exclusion (CZTE)
02 => Hostile Fire/Imminent Danger
03 => Hazardous Duty incentive.
23 24 25 26 27 28 29 30 31 |
# File 'lib/emis/models/combat_pay.rb', line 23 class CombatPay include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :type_code, String attribute :combat_zone_country_code, String end |