Class: ShellDataReportingApIs::FeeItem
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- ShellDataReportingApIs::FeeItem
- Defined in:
- lib/shell_data_reporting_ap_is/models/fee_item.rb
Overview
FeeItem Model.
Instance Attribute Summary collapse
-
#account_id ⇒ Integer
Account Id.
-
#account_number ⇒ String
Account Number.
-
#account_short_name ⇒ String
Account short Number.
-
#card_group_id ⇒ Integer
Card Group Id.
-
#card_group_name ⇒ String
Card Group Name.
-
#card_id ⇒ Integer
Unique Card Id.
-
#col_co_gross_amount ⇒ Float
ColCo gross amount.
-
#col_co_net_amount ⇒ Float
ColCo net amount.
-
#col_co_vat_amount ⇒ Float
ColCoVAT amount.
-
#customer_currency_code ⇒ String
ISO currency code Example: GBP.
-
#customer_currency_symbol ⇒ String
Currency symbol of the Currency Code Example: £, $.
-
#customer_exchange_rate ⇒ Float
Customer exchange rate.
-
#driver_name ⇒ String
Driver name embossed on the Card.
-
#emboss_text ⇒ String
Text embossed on the Card.
-
#fee_item_card_level_breakup ⇒ String
Fee breakup at card level for Fee Items where applicable.
-
#fee_item_date ⇒ String
Local Fee Item Date of when the transaction took place Format: yyyyMMdd.
-
#fee_item_id ⇒ Integer
Fee Item unique identifier in the H3 Cards Platform.
-
#fee_item_time ⇒ String
Local Fee Item Time of where the transaction took place Format: HH:mm:ss (24 hours format).
-
#fee_rule_description ⇒ String
Fee rule description.
-
#fee_rule_id ⇒ Integer
Fee rule identifier.
-
#fee_rule_tiers ⇒ Array[FeesFeeRuleTiers]
Fee rule description.
-
#fee_type ⇒ String
Fee type description.
-
#fee_type_group ⇒ String
Fee type group in under which the Fee item is generated.
-
#fee_type_id ⇒ Integer
Fee type identifier.
-
#frequency ⇒ String
Fee frequency derived from Fee rules if applicable Returns ID-Description in one field Example: 1- Daily (all days) 2-Daily (only working days) 3-Weekly – Monday 4-Weekly - Tuesday.
-
#interim_invoice_id ⇒ Integer
Interim invoice id.
-
#interim_invoice_number ⇒ String
Interim invoice number.
-
#invoice_account_id ⇒ Integer
Invoice Account Id.
-
#invoice_account_number ⇒ String
Invoice Account Number.
-
#invoice_account_short_name ⇒ String
Invoice Account short Name.
-
#invoice_date ⇒ String
Invoice date Format: yyyyMMdd.
-
#invoice_gross_amount ⇒ Float
Invoice gross amount.
-
#invoice_id ⇒ Integer
Invoice id.
-
#invoice_net_amount ⇒ Float
Invoice net amount.
-
#invoice_number ⇒ String
Invoice number.
-
#invoice_vat_amount ⇒ Float
Invoice VAT amount.
-
#is_cancelled ⇒ TrueClass | FalseClass
True/False.
-
#is_invoiced ⇒ TrueClass | FalseClass
True/False.
-
#is_manual ⇒ TrueClass | FalseClass
True/False.
-
#legislative_region_id ⇒ Integer
Legislative region id.
-
#legislative_region_name ⇒ String
Legislative region name.
-
#line_item_description ⇒ String
Line Item Description generally the quantity as printed on Invoice or the manually keyed in description for manual fees.
-
#original_currency_code ⇒ String
Original FeeItem Currency ISO code.
-
#original_currency_symbol ⇒ String
Original FeeItem currency symbol.
-
#original_exchange_rate ⇒ Float
Original FeeItem exchange rate.
-
#original_fee_item_id ⇒ Integer
Original Fee Item id.
-
#original_fee_item_invoice_date ⇒ String
Invoice Date of the original fee item (when not null).
-
#original_fee_item_invoice_id ⇒ Integer
Invoice Id/ Billing Document Id of the original fee item (when not null).
-
#original_fee_item_invoice_number ⇒ String
Invoice Number of the original fee item (when not null).
-
#original_gross_amount ⇒ Float
Original FeeItem gross amount.
-
#original_legislative_region_id ⇒ Integer
Original legislative region id.
-
#original_legislative_region_name ⇒ String
Original legislative region name.
-
#original_net_amount ⇒ Float
Original FeeItem net amount.
-
#original_unit_price ⇒ Float
Original FeeItem unit price.
-
#original_vat_amount ⇒ Float
Original FeeItem VAT amount.
-
#pan ⇒ String
Card PAN.
-
#payer_id ⇒ Integer
Payer Id.
-
#payer_number ⇒ String
Payer Number.
-
#payer_short_name ⇒ String
Payer short Name.
-
#product_code ⇒ String
Product Code – Global as per GFN configuration Example: 2 Service fee 4 Invoice production fee 5 Account fee 6 Transaction fee 7 Card membership fee.
-
#product_group_id ⇒ Integer
Product Group Id Example: Sample list 22 Card related fees 23 Monetary Adjustment.
-
#product_group_name ⇒ String
Product Group Name Example: Sample list 22 Card related fees 23 Monetary Adjustment.
-
#product_id ⇒ Integer
Product Id Example: Sample list of product ids and description.
-
#product_name ⇒ String
Product Name Example: Sample list of product ids and description.
-
#quantity ⇒ Integer
Quantity.
-
#reverse_charge ⇒ TrueClass | FalseClass
True/False.
-
#system_entry_date ⇒ String
System entry date.
-
#system_entry_time ⇒ String
System entry time.
-
#vat_category_description ⇒ String
VAT Category description.
-
#vat_category_id ⇒ Integer
VAT Category identifier.
-
#vat_country_code ⇒ String
VAT country ISO code.
-
#vat_country_name ⇒ String
VAT country name.
-
#vat_percentage ⇒ Float
VAT percentage.
-
#vrn ⇒ String
Reg.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
#initialize(fee_item_id = SKIP, account_id = SKIP, account_number = SKIP, account_short_name = SKIP, invoice_account_id = SKIP, invoice_account_number = SKIP, invoice_account_short_name = SKIP, payer_id = SKIP, payer_number = SKIP, payer_short_name = SKIP, card_id = SKIP, pan = SKIP, card_group_id = SKIP, card_group_name = SKIP, fee_type_id = SKIP, fee_type = SKIP, fee_type_group = SKIP, fee_rule_id = SKIP, fee_rule_description = SKIP, fee_rule_tiers = SKIP, fee_item_date = SKIP, fee_item_time = SKIP, is_manual = SKIP, is_cancelled = SKIP, customer_currency_code = SKIP, customer_currency_symbol = SKIP, product_id = SKIP, product_code = SKIP, product_name = SKIP, product_group_id = SKIP, product_group_name = SKIP, line_item_description = SKIP, quantity = SKIP, is_invoiced = SKIP, vat_country_code = SKIP, vat_country_name = SKIP, vat_percentage = SKIP, vat_category_id = SKIP, vat_category_description = SKIP, legislative_region_id = SKIP, legislative_region_name = SKIP, system_entry_date = SKIP, system_entry_time = SKIP, col_co_net_amount = SKIP, col_co_vat_amount = SKIP, col_co_gross_amount = SKIP, interim_invoice_id = SKIP, interim_invoice_number = SKIP, invoice_id = SKIP, invoice_number = SKIP, invoice_date = SKIP, customer_exchange_rate = SKIP, invoice_net_amount = SKIP, invoice_gross_amount = SKIP, invoice_vat_amount = SKIP, reverse_charge = SKIP, original_fee_item_id = SKIP, original_currency_code = SKIP, original_currency_symbol = SKIP, original_unit_price = SKIP, original_net_amount = SKIP, original_vat_amount = SKIP, original_gross_amount = SKIP, original_exchange_rate = SKIP, original_legislative_region_id = SKIP, original_legislative_region_name = SKIP, frequency = SKIP, fee_item_card_level_breakup = SKIP, original_fee_item_invoice_id = SKIP, original_fee_item_invoice_number = SKIP, original_fee_item_invoice_date = SKIP, driver_name = SKIP, emboss_text = SKIP, vrn = SKIP) ⇒ FeeItem
Returns a new instance of FeeItem.
597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 597 def initialize(fee_item_id = SKIP, account_id = SKIP, account_number = SKIP, account_short_name = SKIP, invoice_account_id = SKIP, invoice_account_number = SKIP, invoice_account_short_name = SKIP, payer_id = SKIP, payer_number = SKIP, payer_short_name = SKIP, card_id = SKIP, pan = SKIP, card_group_id = SKIP, card_group_name = SKIP, fee_type_id = SKIP, fee_type = SKIP, fee_type_group = SKIP, fee_rule_id = SKIP, fee_rule_description = SKIP, fee_rule_tiers = SKIP, fee_item_date = SKIP, fee_item_time = SKIP, is_manual = SKIP, is_cancelled = SKIP, customer_currency_code = SKIP, customer_currency_symbol = SKIP, product_id = SKIP, product_code = SKIP, product_name = SKIP, product_group_id = SKIP, product_group_name = SKIP, line_item_description = SKIP, quantity = SKIP, is_invoiced = SKIP, vat_country_code = SKIP, vat_country_name = SKIP, vat_percentage = SKIP, vat_category_id = SKIP, vat_category_description = SKIP, legislative_region_id = SKIP, legislative_region_name = SKIP, system_entry_date = SKIP, system_entry_time = SKIP, col_co_net_amount = SKIP, col_co_vat_amount = SKIP, col_co_gross_amount = SKIP, interim_invoice_id = SKIP, interim_invoice_number = SKIP, invoice_id = SKIP, invoice_number = SKIP, invoice_date = SKIP, customer_exchange_rate = SKIP, invoice_net_amount = SKIP, invoice_gross_amount = SKIP, invoice_vat_amount = SKIP, reverse_charge = SKIP, original_fee_item_id = SKIP, original_currency_code = SKIP, original_currency_symbol = SKIP, original_unit_price = SKIP, original_net_amount = SKIP, original_vat_amount = SKIP, original_gross_amount = SKIP, original_exchange_rate = SKIP, original_legislative_region_id = SKIP, original_legislative_region_name = SKIP, frequency = SKIP, fee_item_card_level_breakup = SKIP, original_fee_item_invoice_id = SKIP, original_fee_item_invoice_number = SKIP, original_fee_item_invoice_date = SKIP, driver_name = SKIP, emboss_text = SKIP, vrn = SKIP) @fee_item_id = fee_item_id unless fee_item_id == SKIP @account_id = account_id unless account_id == SKIP @account_number = account_number unless account_number == SKIP @account_short_name = account_short_name unless account_short_name == SKIP @invoice_account_id = invoice_account_id unless invoice_account_id == SKIP @invoice_account_number = invoice_account_number unless invoice_account_number == SKIP unless invoice_account_short_name == SKIP @invoice_account_short_name = invoice_account_short_name end @payer_id = payer_id unless payer_id == SKIP @payer_number = payer_number unless payer_number == SKIP @payer_short_name = payer_short_name unless payer_short_name == SKIP @card_id = card_id unless card_id == SKIP @pan = pan unless pan == SKIP @card_group_id = card_group_id unless card_group_id == SKIP @card_group_name = card_group_name unless card_group_name == SKIP @fee_type_id = fee_type_id unless fee_type_id == SKIP @fee_type = fee_type unless fee_type == SKIP @fee_type_group = fee_type_group unless fee_type_group == SKIP @fee_rule_id = fee_rule_id unless fee_rule_id == SKIP @fee_rule_description = fee_rule_description unless fee_rule_description == SKIP @fee_rule_tiers = fee_rule_tiers unless fee_rule_tiers == SKIP @fee_item_date = fee_item_date unless fee_item_date == SKIP @fee_item_time = fee_item_time unless fee_item_time == SKIP @is_manual = is_manual unless is_manual == SKIP @is_cancelled = is_cancelled unless is_cancelled == SKIP @customer_currency_code = customer_currency_code unless customer_currency_code == SKIP @customer_currency_symbol = customer_currency_symbol unless customer_currency_symbol == SKIP @product_id = product_id unless product_id == SKIP @product_code = product_code unless product_code == SKIP @product_name = product_name unless product_name == SKIP @product_group_id = product_group_id unless product_group_id == SKIP @product_group_name = product_group_name unless product_group_name == SKIP @line_item_description = line_item_description unless line_item_description == SKIP @quantity = quantity unless quantity == SKIP @is_invoiced = is_invoiced unless is_invoiced == SKIP @vat_country_code = vat_country_code unless vat_country_code == SKIP @vat_country_name = vat_country_name unless vat_country_name == SKIP @vat_percentage = vat_percentage unless vat_percentage == SKIP @vat_category_id = vat_category_id unless vat_category_id == SKIP @vat_category_description = vat_category_description unless vat_category_description == SKIP @legislative_region_id = legislative_region_id unless legislative_region_id == SKIP @legislative_region_name = legislative_region_name unless legislative_region_name == SKIP @system_entry_date = system_entry_date unless system_entry_date == SKIP @system_entry_time = system_entry_time unless system_entry_time == SKIP @col_co_net_amount = col_co_net_amount unless col_co_net_amount == SKIP @col_co_vat_amount = col_co_vat_amount unless col_co_vat_amount == SKIP @col_co_gross_amount = col_co_gross_amount unless col_co_gross_amount == SKIP @interim_invoice_id = interim_invoice_id unless interim_invoice_id == SKIP @interim_invoice_number = interim_invoice_number unless interim_invoice_number == SKIP @invoice_id = invoice_id unless invoice_id == SKIP @invoice_number = invoice_number unless invoice_number == SKIP @invoice_date = invoice_date unless invoice_date == SKIP @customer_exchange_rate = customer_exchange_rate unless customer_exchange_rate == SKIP @invoice_net_amount = invoice_net_amount unless invoice_net_amount == SKIP @invoice_gross_amount = invoice_gross_amount unless invoice_gross_amount == SKIP @invoice_vat_amount = invoice_vat_amount unless invoice_vat_amount == SKIP @reverse_charge = reverse_charge unless reverse_charge == SKIP @original_fee_item_id = original_fee_item_id unless original_fee_item_id == SKIP @original_currency_code = original_currency_code unless original_currency_code == SKIP @original_currency_symbol = original_currency_symbol unless original_currency_symbol == SKIP @original_unit_price = original_unit_price unless original_unit_price == SKIP @original_net_amount = original_net_amount unless original_net_amount == SKIP @original_vat_amount = original_vat_amount unless original_vat_amount == SKIP @original_gross_amount = original_gross_amount unless original_gross_amount == SKIP @original_exchange_rate = original_exchange_rate unless original_exchange_rate == SKIP unless original_legislative_region_id == SKIP @original_legislative_region_id = original_legislative_region_id end unless original_legislative_region_name == SKIP @original_legislative_region_name = original_legislative_region_name end @frequency = frequency unless frequency == SKIP unless fee_item_card_level_breakup == SKIP @fee_item_card_level_breakup = fee_item_card_level_breakup end unless original_fee_item_invoice_id == SKIP @original_fee_item_invoice_id = original_fee_item_invoice_id end unless original_fee_item_invoice_number == SKIP @original_fee_item_invoice_number = original_fee_item_invoice_number end unless original_fee_item_invoice_date == SKIP @original_fee_item_invoice_date = original_fee_item_invoice_date end @driver_name = driver_name unless driver_name == SKIP @emboss_text = emboss_text unless emboss_text == SKIP @vrn = vrn unless vrn == SKIP end |
Instance Attribute Details
#account_id ⇒ Integer
Account Id
18 19 20 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 18 def account_id @account_id end |
#account_number ⇒ String
Account Number
22 23 24 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 22 def account_number @account_number end |
#account_short_name ⇒ String
Account short Number
26 27 28 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 26 def account_short_name @account_short_name end |
#card_group_id ⇒ Integer
Card Group Id
62 63 64 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 62 def card_group_id @card_group_id end |
#card_group_name ⇒ String
Card Group Name
66 67 68 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 66 def card_group_name @card_group_name end |
#card_id ⇒ Integer
Unique Card Id
54 55 56 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 54 def card_id @card_id end |
#col_co_gross_amount ⇒ Float
ColCo gross amount
227 228 229 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 227 def col_co_gross_amount @col_co_gross_amount end |
#col_co_net_amount ⇒ Float
ColCo net amount
219 220 221 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 219 def col_co_net_amount @col_co_net_amount end |
#col_co_vat_amount ⇒ Float
ColCoVAT amount
223 224 225 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 223 def col_co_vat_amount @col_co_vat_amount end |
#customer_currency_code ⇒ String
ISO currency code Example: GBP
119 120 121 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 119 def customer_currency_code @customer_currency_code end |
#customer_currency_symbol ⇒ String
Currency symbol of the Currency Code Example: £, $
124 125 126 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 124 def customer_currency_symbol @customer_currency_symbol end |
#customer_exchange_rate ⇒ Float
Customer exchange rate
252 253 254 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 252 def customer_exchange_rate @customer_exchange_rate end |
#driver_name ⇒ String
Driver name embossed on the Card
346 347 348 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 346 def driver_name @driver_name end |
#emboss_text ⇒ String
Text embossed on the Card
350 351 352 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 350 def emboss_text @emboss_text end |
#fee_item_card_level_breakup ⇒ String
Fee breakup at card level for Fee Items where applicable.
323 324 325 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 323 def fee_item_card_level_breakup @fee_item_card_level_breakup end |
#fee_item_date ⇒ String
Local Fee Item Date of when the transaction took place Format: yyyyMMdd
99 100 101 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 99 def fee_item_date @fee_item_date end |
#fee_item_id ⇒ Integer
Fee Item unique identifier in the H3 Cards Platform
14 15 16 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 14 def fee_item_id @fee_item_id end |
#fee_item_time ⇒ String
Local Fee Item Time of where the transaction took place Format: HH:mm:ss (24 hours format)
104 105 106 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 104 def fee_item_time @fee_item_time end |
#fee_rule_description ⇒ String
Fee rule description
90 91 92 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 90 def fee_rule_description @fee_rule_description end |
#fee_rule_id ⇒ Integer
Fee rule identifier
86 87 88 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 86 def fee_rule_id @fee_rule_id end |
#fee_rule_tiers ⇒ Array[FeesFeeRuleTiers]
Fee rule description
94 95 96 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 94 def fee_rule_tiers @fee_rule_tiers end |
#fee_type ⇒ String
Fee type description
74 75 76 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 74 def fee_type @fee_type end |
#fee_type_group ⇒ String
Fee type group in under which the Fee item is generated. Example: Account Card Others
82 83 84 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 82 def fee_type_group @fee_type_group end |
#fee_type_id ⇒ Integer
Fee type identifier.
70 71 72 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 70 def fee_type_id @fee_type_id end |
#frequency ⇒ String
Fee frequency derived from Fee rules if applicable Returns ID-Description in one field Example: 1- Daily (all days) 2-Daily (only working days) 3-Weekly – Monday 4-Weekly - Tuesday
319 320 321 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 319 def frequency @frequency end |
#interim_invoice_id ⇒ Integer
Interim invoice id
231 232 233 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 231 def interim_invoice_id @interim_invoice_id end |
#interim_invoice_number ⇒ String
Interim invoice number
235 236 237 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 235 def interim_invoice_number @interim_invoice_number end |
#invoice_account_id ⇒ Integer
Invoice Account Id
30 31 32 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 30 def invoice_account_id @invoice_account_id end |
#invoice_account_number ⇒ String
Invoice Account Number
34 35 36 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 34 def invoice_account_number @invoice_account_number end |
#invoice_account_short_name ⇒ String
Invoice Account short Name
38 39 40 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 38 def invoice_account_short_name @invoice_account_short_name end |
#invoice_date ⇒ String
Invoice date Format: yyyyMMdd
248 249 250 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 248 def invoice_date @invoice_date end |
#invoice_gross_amount ⇒ Float
Invoice gross amount
260 261 262 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 260 def invoice_gross_amount @invoice_gross_amount end |
#invoice_id ⇒ Integer
Invoice id
239 240 241 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 239 def invoice_id @invoice_id end |
#invoice_net_amount ⇒ Float
Invoice net amount
256 257 258 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 256 def invoice_net_amount @invoice_net_amount end |
#invoice_number ⇒ String
Invoice number
243 244 245 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 243 def invoice_number @invoice_number end |
#invoice_vat_amount ⇒ Float
Invoice VAT amount
264 265 266 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 264 def invoice_vat_amount @invoice_vat_amount end |
#is_cancelled ⇒ TrueClass | FalseClass
True/False. Is cancelled
114 115 116 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 114 def is_cancelled @is_cancelled end |
#is_invoiced ⇒ TrueClass | FalseClass
True/False. Is fee item invoiced
179 180 181 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 179 def is_invoiced @is_invoiced end |
#is_manual ⇒ TrueClass | FalseClass
True/False. Is manual
109 110 111 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 109 def is_manual @is_manual end |
#legislative_region_id ⇒ Integer
Legislative region id
203 204 205 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 203 def legislative_region_id @legislative_region_id end |
#legislative_region_name ⇒ String
Legislative region name
207 208 209 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 207 def legislative_region_name @legislative_region_name end |
#line_item_description ⇒ String
Line Item Description generally the quantity as printed on Invoice or the manually keyed in description for manual fees
170 171 172 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 170 def line_item_description @line_item_description end |
#original_currency_code ⇒ String
Original FeeItem Currency ISO code.
277 278 279 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 277 def original_currency_code @original_currency_code end |
#original_currency_symbol ⇒ String
Original FeeItem currency symbol
281 282 283 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 281 def original_currency_symbol @original_currency_symbol end |
#original_exchange_rate ⇒ Float
Original FeeItem exchange rate
301 302 303 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 301 def original_exchange_rate @original_exchange_rate end |
#original_fee_item_id ⇒ Integer
Original Fee Item id.
273 274 275 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 273 def original_fee_item_id @original_fee_item_id end |
#original_fee_item_invoice_date ⇒ String
Invoice Date of the original fee item (when not null). Applicable only for fee items that are refund to an original fee item that is already invoiced. Format: yyyyMMdd
342 343 344 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 342 def original_fee_item_invoice_date @original_fee_item_invoice_date end |
#original_fee_item_invoice_id ⇒ Integer
Invoice Id/ Billing Document Id of the original fee item (when not null). Applicable only for fee items that are refund to an original fee item that is already invoiced.
329 330 331 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 329 def original_fee_item_invoice_id @original_fee_item_invoice_id end |
#original_fee_item_invoice_number ⇒ String
Invoice Number of the original fee item (when not null). Applicable only for fee items that are refund to an original fee item that is already invoiced.
335 336 337 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 335 def original_fee_item_invoice_number @original_fee_item_invoice_number end |
#original_gross_amount ⇒ Float
Original FeeItem gross amount
297 298 299 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 297 def original_gross_amount @original_gross_amount end |
#original_legislative_region_id ⇒ Integer
Original legislative region id
305 306 307 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 305 def original_legislative_region_id @original_legislative_region_id end |
#original_legislative_region_name ⇒ String
Original legislative region name
309 310 311 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 309 def original_legislative_region_name @original_legislative_region_name end |
#original_net_amount ⇒ Float
Original FeeItem net amount
289 290 291 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 289 def original_net_amount @original_net_amount end |
#original_unit_price ⇒ Float
Original FeeItem unit price
285 286 287 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 285 def original_unit_price @original_unit_price end |
#original_vat_amount ⇒ Float
Original FeeItem VAT amount
293 294 295 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 293 def original_vat_amount @original_vat_amount end |
#pan ⇒ String
Card PAN
58 59 60 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 58 def pan @pan end |
#payer_id ⇒ Integer
Payer Id
42 43 44 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 42 def payer_id @payer_id end |
#payer_number ⇒ String
Payer Number
46 47 48 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 46 def payer_number @payer_number end |
#payer_short_name ⇒ String
Payer short Name
50 51 52 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 50 def payer_short_name @payer_short_name end |
#product_code ⇒ String
Product Code – Global as per GFN configuration Example: 2 Service fee 4 Invoice production fee 5 Account fee 6 Transaction fee 7 Card membership fee
144 145 146 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 144 def product_code @product_code end |
#product_group_id ⇒ Integer
Product Group Id Example: Sample list 22 Card related fees 23 Monetary Adjustment
158 159 160 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 158 def product_group_id @product_group_id end |
#product_group_name ⇒ String
Product Group Name Example: Sample list 22 Card related fees 23 Monetary Adjustment
165 166 167 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 165 def product_group_name @product_group_name end |
#product_id ⇒ Integer
Product Id Example: Sample list of product ids and description. 100 Service fee 102 Invoice production fee 103 Account fee 104 Transaction fee 105 Card membership fee
134 135 136 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 134 def product_id @product_id end |
#product_name ⇒ String
Product Name Example: Sample list of product ids and description. Service fee Invoice production fee
151 152 153 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 151 def product_name @product_name end |
#quantity ⇒ Integer
Quantity
174 175 176 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 174 def quantity @quantity end |
#reverse_charge ⇒ TrueClass | FalseClass
True/False. Reverse charge.
269 270 271 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 269 def reverse_charge @reverse_charge end |
#system_entry_date ⇒ String
System entry date
211 212 213 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 211 def system_entry_date @system_entry_date end |
#system_entry_time ⇒ String
System entry time
215 216 217 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 215 def system_entry_time @system_entry_time end |
#vat_category_description ⇒ String
VAT Category description
199 200 201 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 199 def vat_category_description @vat_category_description end |
#vat_category_id ⇒ Integer
VAT Category identifier
195 196 197 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 195 def vat_category_id @vat_category_id end |
#vat_country_code ⇒ String
VAT country ISO code
183 184 185 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 183 def vat_country_code @vat_country_code end |
#vat_country_name ⇒ String
VAT country name
187 188 189 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 187 def vat_country_name @vat_country_name end |
#vat_percentage ⇒ Float
VAT percentage
191 192 193 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 191 def vat_percentage @vat_percentage end |
#vrn ⇒ String
Reg. Number embossed on the Card
354 355 356 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 354 def vrn @vrn end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 733 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. fee_item_id = hash.key?('FeeItemId') ? hash['FeeItemId'] : SKIP account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP account_short_name = hash.key?('AccountShortName') ? hash['AccountShortName'] : SKIP invoice_account_id = hash.key?('InvoiceAccountId') ? hash['InvoiceAccountId'] : SKIP invoice_account_number = hash.key?('InvoiceAccountNumber') ? hash['InvoiceAccountNumber'] : SKIP invoice_account_short_name = hash.key?('InvoiceAccountShortName') ? hash['InvoiceAccountShortName'] : SKIP payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP payer_short_name = hash.key?('PayerShortName') ? hash['PayerShortName'] : SKIP card_id = hash.key?('CardId') ? hash['CardId'] : SKIP pan = hash.key?('PAN') ? hash['PAN'] : SKIP card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP card_group_name = hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP fee_type_id = hash.key?('FeeTypeId') ? hash['FeeTypeId'] : SKIP fee_type = hash.key?('FeeType') ? hash['FeeType'] : SKIP fee_type_group = hash.key?('FeeTypeGroup') ? hash['FeeTypeGroup'] : SKIP fee_rule_id = hash.key?('FeeRuleId') ? hash['FeeRuleId'] : SKIP fee_rule_description = hash.key?('FeeRuleDescription') ? hash['FeeRuleDescription'] : SKIP # Parameter is an array, so we need to iterate through it fee_rule_tiers = nil unless hash['FeeRuleTiers'].nil? fee_rule_tiers = [] hash['FeeRuleTiers'].each do |structure| fee_rule_tiers << (FeesFeeRuleTiers.from_hash(structure) if structure) end end fee_rule_tiers = SKIP unless hash.key?('FeeRuleTiers') fee_item_date = hash.key?('FeeItemDate') ? hash['FeeItemDate'] : SKIP fee_item_time = hash.key?('FeeItemTime') ? hash['FeeItemTime'] : SKIP is_manual = hash.key?('IsManual') ? hash['IsManual'] : SKIP is_cancelled = hash.key?('IsCancelled') ? hash['IsCancelled'] : SKIP customer_currency_code = hash.key?('CustomerCurrencyCode') ? hash['CustomerCurrencyCode'] : SKIP customer_currency_symbol = hash.key?('CustomerCurrencySymbol') ? hash['CustomerCurrencySymbol'] : SKIP product_id = hash.key?('ProductId') ? hash['ProductId'] : SKIP product_code = hash.key?('ProductCode') ? hash['ProductCode'] : SKIP product_name = hash.key?('ProductName') ? hash['ProductName'] : SKIP product_group_id = hash.key?('ProductGroupId') ? hash['ProductGroupId'] : SKIP product_group_name = hash.key?('ProductGroupName') ? hash['ProductGroupName'] : SKIP line_item_description = hash.key?('LineItemDescription') ? hash['LineItemDescription'] : SKIP quantity = hash.key?('Quantity') ? hash['Quantity'] : SKIP is_invoiced = hash.key?('IsInvoiced') ? hash['IsInvoiced'] : SKIP vat_country_code = hash.key?('VATCountryCode') ? hash['VATCountryCode'] : SKIP vat_country_name = hash.key?('VATCountryName') ? hash['VATCountryName'] : SKIP vat_percentage = hash.key?('VATPercentage') ? hash['VATPercentage'] : SKIP vat_category_id = hash.key?('VATCategoryID') ? hash['VATCategoryID'] : SKIP vat_category_description = hash.key?('VATCategoryDescription') ? hash['VATCategoryDescription'] : SKIP legislative_region_id = hash.key?('LegislativeRegionId') ? hash['LegislativeRegionId'] : SKIP legislative_region_name = hash.key?('LegislativeRegionName') ? hash['LegislativeRegionName'] : SKIP system_entry_date = hash.key?('SystemEntryDate') ? hash['SystemEntryDate'] : SKIP system_entry_time = hash.key?('SystemEntryTime') ? hash['SystemEntryTime'] : SKIP col_co_net_amount = hash.key?('ColCoNetAmount') ? hash['ColCoNetAmount'] : SKIP col_co_vat_amount = hash.key?('ColCoVATAmount') ? hash['ColCoVATAmount'] : SKIP col_co_gross_amount = hash.key?('ColCoGrossAmount') ? hash['ColCoGrossAmount'] : SKIP interim_invoice_id = hash.key?('InterimInvoiceId') ? hash['InterimInvoiceId'] : SKIP interim_invoice_number = hash.key?('InterimInvoiceNumber') ? hash['InterimInvoiceNumber'] : SKIP invoice_id = hash.key?('InvoiceId') ? hash['InvoiceId'] : SKIP invoice_number = hash.key?('InvoiceNumber') ? hash['InvoiceNumber'] : SKIP invoice_date = hash.key?('InvoiceDate') ? hash['InvoiceDate'] : SKIP customer_exchange_rate = hash.key?('CustomerExchangeRate') ? hash['CustomerExchangeRate'] : SKIP invoice_net_amount = hash.key?('InvoiceNetAmount') ? hash['InvoiceNetAmount'] : SKIP invoice_gross_amount = hash.key?('InvoiceGrossAmount') ? hash['InvoiceGrossAmount'] : SKIP invoice_vat_amount = hash.key?('InvoiceVATAmount') ? hash['InvoiceVATAmount'] : SKIP reverse_charge = hash.key?('ReverseCharge') ? hash['ReverseCharge'] : SKIP original_fee_item_id = hash.key?('OriginalFeeItemId') ? hash['OriginalFeeItemId'] : SKIP original_currency_code = hash.key?('OriginalCurrencyCode') ? hash['OriginalCurrencyCode'] : SKIP original_currency_symbol = hash.key?('OriginalCurrencySymbol') ? hash['OriginalCurrencySymbol'] : SKIP original_unit_price = hash.key?('OriginalUnitPrice') ? hash['OriginalUnitPrice'] : SKIP original_net_amount = hash.key?('OriginalNetAmount') ? hash['OriginalNetAmount'] : SKIP original_vat_amount = hash.key?('OriginalVATAmount') ? hash['OriginalVATAmount'] : SKIP original_gross_amount = hash.key?('OriginalGrossAmount') ? hash['OriginalGrossAmount'] : SKIP original_exchange_rate = hash.key?('OriginalExchangeRate') ? hash['OriginalExchangeRate'] : SKIP original_legislative_region_id = hash.key?('OriginalLegislativeRegionId') ? hash['OriginalLegislativeRegionId'] : SKIP original_legislative_region_name = hash.key?('OriginalLegislativeRegionName') ? hash['OriginalLegislativeRegionName'] : SKIP frequency = hash.key?('Frequency') ? hash['Frequency'] : SKIP fee_item_card_level_breakup = hash.key?('FeeItemCardLevelBreakup') ? hash['FeeItemCardLevelBreakup'] : SKIP original_fee_item_invoice_id = hash.key?('OriginalFeeItemInvoiceId') ? hash['OriginalFeeItemInvoiceId'] : SKIP original_fee_item_invoice_number = hash.key?('OriginalFeeItemInvoiceNumber') ? hash['OriginalFeeItemInvoiceNumber'] : SKIP original_fee_item_invoice_date = hash.key?('OriginalFeeItemInvoiceDate') ? hash['OriginalFeeItemInvoiceDate'] : SKIP driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP emboss_text = hash.key?('EmbossText') ? hash['EmbossText'] : SKIP vrn = hash.key?('VRN') ? hash['VRN'] : SKIP # Create object from extracted values. FeeItem.new(fee_item_id, account_id, account_number, account_short_name, invoice_account_id, invoice_account_number, invoice_account_short_name, payer_id, payer_number, payer_short_name, card_id, pan, card_group_id, card_group_name, fee_type_id, fee_type, fee_type_group, fee_rule_id, fee_rule_description, fee_rule_tiers, fee_item_date, fee_item_time, is_manual, is_cancelled, customer_currency_code, customer_currency_symbol, product_id, product_code, product_name, product_group_id, product_group_name, line_item_description, quantity, is_invoiced, vat_country_code, vat_country_name, vat_percentage, vat_category_id, vat_category_description, legislative_region_id, legislative_region_name, system_entry_date, system_entry_time, col_co_net_amount, col_co_vat_amount, col_co_gross_amount, interim_invoice_id, interim_invoice_number, invoice_id, invoice_number, invoice_date, customer_exchange_rate, invoice_net_amount, invoice_gross_amount, invoice_vat_amount, reverse_charge, original_fee_item_id, original_currency_code, original_currency_symbol, original_unit_price, original_net_amount, original_vat_amount, original_gross_amount, original_exchange_rate, original_legislative_region_id, original_legislative_region_name, frequency, fee_item_card_level_breakup, original_fee_item_invoice_id, original_fee_item_invoice_number, original_fee_item_invoice_date, driver_name, emboss_text, vrn) end |
.names ⇒ Object
A mapping from model property names to API property names.
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 357 def self.names @_hash = {} if @_hash.nil? @_hash['fee_item_id'] = 'FeeItemId' @_hash['account_id'] = 'AccountId' @_hash['account_number'] = 'AccountNumber' @_hash['account_short_name'] = 'AccountShortName' @_hash['invoice_account_id'] = 'InvoiceAccountId' @_hash['invoice_account_number'] = 'InvoiceAccountNumber' @_hash['invoice_account_short_name'] = 'InvoiceAccountShortName' @_hash['payer_id'] = 'PayerId' @_hash['payer_number'] = 'PayerNumber' @_hash['payer_short_name'] = 'PayerShortName' @_hash['card_id'] = 'CardId' @_hash['pan'] = 'PAN' @_hash['card_group_id'] = 'CardGroupId' @_hash['card_group_name'] = 'CardGroupName' @_hash['fee_type_id'] = 'FeeTypeId' @_hash['fee_type'] = 'FeeType' @_hash['fee_type_group'] = 'FeeTypeGroup' @_hash['fee_rule_id'] = 'FeeRuleId' @_hash['fee_rule_description'] = 'FeeRuleDescription' @_hash['fee_rule_tiers'] = 'FeeRuleTiers' @_hash['fee_item_date'] = 'FeeItemDate' @_hash['fee_item_time'] = 'FeeItemTime' @_hash['is_manual'] = 'IsManual' @_hash['is_cancelled'] = 'IsCancelled' @_hash['customer_currency_code'] = 'CustomerCurrencyCode' @_hash['customer_currency_symbol'] = 'CustomerCurrencySymbol' @_hash['product_id'] = 'ProductId' @_hash['product_code'] = 'ProductCode' @_hash['product_name'] = 'ProductName' @_hash['product_group_id'] = 'ProductGroupId' @_hash['product_group_name'] = 'ProductGroupName' @_hash['line_item_description'] = 'LineItemDescription' @_hash['quantity'] = 'Quantity' @_hash['is_invoiced'] = 'IsInvoiced' @_hash['vat_country_code'] = 'VATCountryCode' @_hash['vat_country_name'] = 'VATCountryName' @_hash['vat_percentage'] = 'VATPercentage' @_hash['vat_category_id'] = 'VATCategoryID' @_hash['vat_category_description'] = 'VATCategoryDescription' @_hash['legislative_region_id'] = 'LegislativeRegionId' @_hash['legislative_region_name'] = 'LegislativeRegionName' @_hash['system_entry_date'] = 'SystemEntryDate' @_hash['system_entry_time'] = 'SystemEntryTime' @_hash['col_co_net_amount'] = 'ColCoNetAmount' @_hash['col_co_vat_amount'] = 'ColCoVATAmount' @_hash['col_co_gross_amount'] = 'ColCoGrossAmount' @_hash['interim_invoice_id'] = 'InterimInvoiceId' @_hash['interim_invoice_number'] = 'InterimInvoiceNumber' @_hash['invoice_id'] = 'InvoiceId' @_hash['invoice_number'] = 'InvoiceNumber' @_hash['invoice_date'] = 'InvoiceDate' @_hash['customer_exchange_rate'] = 'CustomerExchangeRate' @_hash['invoice_net_amount'] = 'InvoiceNetAmount' @_hash['invoice_gross_amount'] = 'InvoiceGrossAmount' @_hash['invoice_vat_amount'] = 'InvoiceVATAmount' @_hash['reverse_charge'] = 'ReverseCharge' @_hash['original_fee_item_id'] = 'OriginalFeeItemId' @_hash['original_currency_code'] = 'OriginalCurrencyCode' @_hash['original_currency_symbol'] = 'OriginalCurrencySymbol' @_hash['original_unit_price'] = 'OriginalUnitPrice' @_hash['original_net_amount'] = 'OriginalNetAmount' @_hash['original_vat_amount'] = 'OriginalVATAmount' @_hash['original_gross_amount'] = 'OriginalGrossAmount' @_hash['original_exchange_rate'] = 'OriginalExchangeRate' @_hash['original_legislative_region_id'] = 'OriginalLegislativeRegionId' @_hash['original_legislative_region_name'] = 'OriginalLegislativeRegionName' @_hash['frequency'] = 'Frequency' @_hash['fee_item_card_level_breakup'] = 'FeeItemCardLevelBreakup' @_hash['original_fee_item_invoice_id'] = 'OriginalFeeItemInvoiceId' @_hash['original_fee_item_invoice_number'] = 'OriginalFeeItemInvoiceNumber' @_hash['original_fee_item_invoice_date'] = 'OriginalFeeItemInvoiceDate' @_hash['driver_name'] = 'DriverName' @_hash['emboss_text'] = 'EmbossText' @_hash['vrn'] = 'VRN' @_hash end |
.nullables ⇒ Object
An array for nullable fields
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 519 def self.nullables %w[ fee_item_id account_id account_number account_short_name invoice_account_id invoice_account_number invoice_account_short_name payer_id payer_number payer_short_name card_id pan card_group_id card_group_name fee_type_id fee_type fee_type_group fee_rule_id fee_rule_description fee_item_date fee_item_time is_manual is_cancelled customer_currency_code customer_currency_symbol product_id product_code product_name product_group_id product_group_name line_item_description quantity is_invoiced vat_country_code vat_country_name vat_percentage vat_category_id vat_category_description legislative_region_id legislative_region_name system_entry_date system_entry_time col_co_net_amount col_co_vat_amount col_co_gross_amount interim_invoice_id interim_invoice_number invoice_id invoice_number invoice_date customer_exchange_rate invoice_net_amount invoice_gross_amount invoice_vat_amount reverse_charge original_fee_item_id original_currency_code original_currency_symbol original_unit_price original_net_amount original_vat_amount original_gross_amount original_exchange_rate original_legislative_region_id original_legislative_region_name frequency fee_item_card_level_breakup original_fee_item_invoice_id original_fee_item_invoice_number original_fee_item_invoice_date driver_name emboss_text vrn ] end |
.optionals ⇒ Object
An array for optional fields
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/shell_data_reporting_ap_is/models/fee_item.rb', line 439 def self.optionals %w[ fee_item_id account_id account_number account_short_name invoice_account_id invoice_account_number invoice_account_short_name payer_id payer_number payer_short_name card_id pan card_group_id card_group_name fee_type_id fee_type fee_type_group fee_rule_id fee_rule_description fee_rule_tiers fee_item_date fee_item_time is_manual is_cancelled customer_currency_code customer_currency_symbol product_id product_code product_name product_group_id product_group_name line_item_description quantity is_invoiced vat_country_code vat_country_name vat_percentage vat_category_id vat_category_description legislative_region_id legislative_region_name system_entry_date system_entry_time col_co_net_amount col_co_vat_amount col_co_gross_amount interim_invoice_id interim_invoice_number invoice_id invoice_number invoice_date customer_exchange_rate invoice_net_amount invoice_gross_amount invoice_vat_amount reverse_charge original_fee_item_id original_currency_code original_currency_symbol original_unit_price original_net_amount original_vat_amount original_gross_amount original_exchange_rate original_legislative_region_id original_legislative_region_name frequency fee_item_card_level_breakup original_fee_item_invoice_id original_fee_item_invoice_number original_fee_item_invoice_date driver_name emboss_text vrn ] end |