Class: ShellDataReportingApIs::PastStatementOfAccounts
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- ShellDataReportingApIs::PastStatementOfAccounts
- Defined in:
- lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb
Overview
PastStatementOfAccounts Model.
Instance Attribute Summary collapse
-
#amount_due ⇒ Float
Invoiced amount under this statement of account and due for payment.
-
#amount_not_overdue ⇒ Float
Total Invoiced amount until this SOA and not overdue for payment.
-
#amount_overdue ⇒ Float
Overdue amount from the previously generated statement of accounts.
-
#amount_overdue_from_unallocated ⇒ Float
Overdue amount calculated from unallocated payment.
-
#amount_paid ⇒ Float
Amount settled for this Statement.
-
#balance_on_this_statement ⇒ Float
Balance amount to be settled on this SOA.
-
#billing_currency_code ⇒ String
Billing currency ISO code.
-
#billing_currency_symbol ⇒ String
Billing currency symbol.
-
#credit_limit ⇒ Float
Credit limit.
-
#credit_limit_currency_code ⇒ String
ISO code of the credit limit’s currency.
-
#credit_limit_currency_symbol ⇒ String
Symbol of the credit limit’s currency.
-
#credit_limit_in_customer_currency ⇒ Float
Credit limit in Customer currency.
-
#currency_code ⇒ String
ISO code of SOA currency.
-
#currency_symbol ⇒ String
Symbol of SOA currency.
-
#fully_paid ⇒ TrueClass | FalseClass
True If all summary billing documents under this SOA are fully paid (i.e., the fully paid flag is set to true for all documents or the amount allocated is greater than or equal to the amount due under this SOA..
-
#last_payment_currency_code ⇒ String
ISO code of last payment currency.
-
#last_payment_currency_symbol ⇒ String
Symbol of last payment currency.
-
#last_payment_date ⇒ String
Last payment date.
-
#last_payment_value ⇒ Float
Last payment value.
-
#local_currency_code ⇒ String
Currency ISO code of the local country.
-
#local_currency_exchange_rate ⇒ Float
Exchange rate from Billing currency to local currency.
-
#local_currency_symbol ⇒ String
Currency Symbol of the local country.
-
#outstanding_balance ⇒ Float
Total outstanding balance at the time of this SOA generation.
-
#payer_id ⇒ Integer
Payment customer id of the customer.
-
#payer_number ⇒ String
Payment customer number.
-
#payment_due_date ⇒ String
Due date for payment.
-
#so_a_reference_number ⇒ String
Statement of account reference number.
-
#statement_date ⇒ String
Date on which the SOA was generated.
-
#statement_of_account_id ⇒ Integer
Statement of account identifier,.
-
#total_billing_documents ⇒ Integer
Total number of billing documents generated under this Statement of Account.
-
#total_net_amount_billing_currency ⇒ Float
Total NET amount from all billing documents in this SOA.
-
#total_summary_billing_documents ⇒ Float
Total number of summary billing documents for this Statement of Account.
-
#total_vat_amount_billing_currency ⇒ Float
Total VAT amount from all billing documents in this SOA.
-
#unallocated_payment ⇒ Float
Amount paid but not allocated to any invoices at the time of this SOA generation.
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(amount_due = SKIP, amount_not_overdue = SKIP, amount_overdue = SKIP, amount_overdue_from_unallocated = SKIP, amount_paid = SKIP, balance_on_this_statement = SKIP, billing_currency_code = SKIP, billing_currency_symbol = SKIP, credit_limit = SKIP, credit_limit_currency_code = SKIP, credit_limit_currency_symbol = SKIP, credit_limit_in_customer_currency = SKIP, currency_code = SKIP, currency_symbol = SKIP, fully_paid = SKIP, last_payment_currency_code = SKIP, last_payment_currency_symbol = SKIP, last_payment_date = SKIP, last_payment_value = SKIP, outstanding_balance = SKIP, payer_id = SKIP, payer_number = SKIP, payment_due_date = SKIP, so_a_reference_number = SKIP, statement_date = SKIP, statement_of_account_id = SKIP, total_billing_documents = SKIP, total_net_amount_billing_currency = SKIP, total_summary_billing_documents = SKIP, total_vat_amount_billing_currency = SKIP, unallocated_payment = SKIP, local_currency_code = SKIP, local_currency_symbol = SKIP, local_currency_exchange_rate = SKIP) ⇒ PastStatementOfAccounts
Returns a new instance of PastStatementOfAccounts.
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 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 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 297 def initialize(amount_due = SKIP, amount_not_overdue = SKIP, amount_overdue = SKIP, amount_overdue_from_unallocated = SKIP, amount_paid = SKIP, balance_on_this_statement = SKIP, billing_currency_code = SKIP, billing_currency_symbol = SKIP, credit_limit = SKIP, credit_limit_currency_code = SKIP, credit_limit_currency_symbol = SKIP, credit_limit_in_customer_currency = SKIP, currency_code = SKIP, currency_symbol = SKIP, fully_paid = SKIP, last_payment_currency_code = SKIP, last_payment_currency_symbol = SKIP, last_payment_date = SKIP, last_payment_value = SKIP, outstanding_balance = SKIP, payer_id = SKIP, payer_number = SKIP, payment_due_date = SKIP, so_a_reference_number = SKIP, statement_date = SKIP, statement_of_account_id = SKIP, total_billing_documents = SKIP, total_net_amount_billing_currency = SKIP, total_summary_billing_documents = SKIP, total_vat_amount_billing_currency = SKIP, unallocated_payment = SKIP, local_currency_code = SKIP, local_currency_symbol = SKIP, local_currency_exchange_rate = SKIP) @amount_due = amount_due unless amount_due == SKIP @amount_not_overdue = amount_not_overdue unless amount_not_overdue == SKIP @amount_overdue = amount_overdue unless amount_overdue == SKIP unless amount_overdue_from_unallocated == SKIP @amount_overdue_from_unallocated = amount_overdue_from_unallocated end @amount_paid = amount_paid unless amount_paid == SKIP unless balance_on_this_statement == SKIP @balance_on_this_statement = balance_on_this_statement end @billing_currency_code = billing_currency_code unless billing_currency_code == SKIP @billing_currency_symbol = billing_currency_symbol unless billing_currency_symbol == SKIP @credit_limit = credit_limit unless credit_limit == SKIP unless credit_limit_currency_code == SKIP @credit_limit_currency_code = credit_limit_currency_code end unless credit_limit_currency_symbol == SKIP @credit_limit_currency_symbol = credit_limit_currency_symbol end unless credit_limit_in_customer_currency == SKIP @credit_limit_in_customer_currency = credit_limit_in_customer_currency end @currency_code = currency_code unless currency_code == SKIP @currency_symbol = currency_symbol unless currency_symbol == SKIP @fully_paid = fully_paid unless fully_paid == SKIP unless last_payment_currency_code == SKIP @last_payment_currency_code = last_payment_currency_code end unless last_payment_currency_symbol == SKIP @last_payment_currency_symbol = last_payment_currency_symbol end @last_payment_date = last_payment_date unless last_payment_date == SKIP @last_payment_value = last_payment_value unless last_payment_value == SKIP @outstanding_balance = outstanding_balance unless outstanding_balance == SKIP @payer_id = payer_id unless payer_id == SKIP @payer_number = payer_number unless payer_number == SKIP @payment_due_date = payment_due_date unless payment_due_date == SKIP @so_a_reference_number = so_a_reference_number unless so_a_reference_number == SKIP @statement_date = statement_date unless statement_date == SKIP @statement_of_account_id = statement_of_account_id unless statement_of_account_id == SKIP @total_billing_documents = total_billing_documents unless total_billing_documents == SKIP unless total_net_amount_billing_currency == SKIP @total_net_amount_billing_currency = total_net_amount_billing_currency end unless total_summary_billing_documents == SKIP @total_summary_billing_documents = total_summary_billing_documents end unless total_vat_amount_billing_currency == SKIP @total_vat_amount_billing_currency = total_vat_amount_billing_currency end @unallocated_payment = unallocated_payment unless unallocated_payment == SKIP @local_currency_code = local_currency_code unless local_currency_code == SKIP @local_currency_symbol = local_currency_symbol unless local_currency_symbol == SKIP unless local_currency_exchange_rate == SKIP @local_currency_exchange_rate = local_currency_exchange_rate end end |
Instance Attribute Details
#amount_due ⇒ Float
Invoiced amount under this statement of account and due for payment.
14 15 16 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 14 def amount_due @amount_due end |
#amount_not_overdue ⇒ Float
Total Invoiced amount until this SOA and not overdue for payment.
18 19 20 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 18 def amount_not_overdue @amount_not_overdue end |
#amount_overdue ⇒ Float
Overdue amount from the previously generated statement of accounts.
22 23 24 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 22 def amount_overdue @amount_overdue end |
#amount_overdue_from_unallocated ⇒ Float
Overdue amount calculated from unallocated payment.
26 27 28 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 26 def amount_overdue_from_unallocated @amount_overdue_from_unallocated end |
#amount_paid ⇒ Float
Amount settled for this Statement.
30 31 32 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 30 def amount_paid @amount_paid end |
#balance_on_this_statement ⇒ Float
Balance amount to be settled on this SOA.
34 35 36 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 34 def balance_on_this_statement @balance_on_this_statement end |
#billing_currency_code ⇒ String
Billing currency ISO code. Example: EUR
39 40 41 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 39 def billing_currency_code @billing_currency_code end |
#billing_currency_symbol ⇒ String
Billing currency symbol. Example: €
44 45 46 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 44 def billing_currency_symbol @billing_currency_symbol end |
#credit_limit ⇒ Float
Credit limit.
48 49 50 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 48 def credit_limit @credit_limit end |
#credit_limit_currency_code ⇒ String
ISO code of the credit limit’s currency. Example: EUR
53 54 55 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 53 def credit_limit_currency_code @credit_limit_currency_code end |
#credit_limit_currency_symbol ⇒ String
Symbol of the credit limit’s currency. Example: €
58 59 60 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 58 def credit_limit_currency_symbol @credit_limit_currency_symbol end |
#credit_limit_in_customer_currency ⇒ Float
Credit limit in Customer currency. Note: For currency details refer the parameters CurrencyCode & CurrencySymbol in the SOADetail response.
64 65 66 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 64 def credit_limit_in_customer_currency @credit_limit_in_customer_currency end |
#currency_code ⇒ String
ISO code of SOA currency. Example: EUR
69 70 71 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 69 def currency_code @currency_code end |
#currency_symbol ⇒ String
Symbol of SOA currency. Example: €
74 75 76 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 74 def currency_symbol @currency_symbol end |
#fully_paid ⇒ TrueClass | FalseClass
True If all summary billing documents under this SOA are fully paid (i.e., the fully paid flag is set to true for all documents or the amount allocated is greater than or equal to the amount due under this SOA.
80 81 82 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 80 def fully_paid @fully_paid end |
#last_payment_currency_code ⇒ String
ISO code of last payment currency. Example: EUR
85 86 87 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 85 def last_payment_currency_code @last_payment_currency_code end |
#last_payment_currency_symbol ⇒ String
Symbol of last payment currency. Example: €
90 91 92 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 90 def last_payment_currency_symbol @last_payment_currency_symbol end |
#last_payment_date ⇒ String
Last payment date. Format: yyyyMMdd
94 95 96 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 94 def last_payment_date @last_payment_date end |
#last_payment_value ⇒ Float
Last payment value.
98 99 100 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 98 def last_payment_value @last_payment_value end |
#local_currency_code ⇒ String
Currency ISO code of the local country. It is derived based on CountryCode from microservice configuration. This field is expected to have different value than the previously mentioned field CurrencyCode, only in the case of serviced OUs. Example: EUR
157 158 159 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 157 def local_currency_code @local_currency_code end |
#local_currency_exchange_rate ⇒ Float
Exchange rate from Billing currency to local currency. Example: 1.2
170 171 172 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 170 def local_currency_exchange_rate @local_currency_exchange_rate end |
#local_currency_symbol ⇒ String
Currency Symbol of the local country. It is derived based on CountryCode from microservice configuration. This field is expected to have different value than the previously mentioned field CurrencySymbol, only in the case of serviced OUs. Example: €
165 166 167 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 165 def local_currency_symbol @local_currency_symbol end |
#outstanding_balance ⇒ Float
Total outstanding balance at the time of this SOA generation.
102 103 104 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 102 def outstanding_balance @outstanding_balance end |
#payer_id ⇒ Integer
Payment customer id of the customer.
106 107 108 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 106 def payer_id @payer_id end |
#payer_number ⇒ String
Payment customer number.
110 111 112 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 110 def payer_number @payer_number end |
#payment_due_date ⇒ String
Due date for payment. Format: yyyyMMdd
114 115 116 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 114 def payment_due_date @payment_due_date end |
#so_a_reference_number ⇒ String
Statement of account reference number.
118 119 120 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 118 def so_a_reference_number @so_a_reference_number end |
#statement_date ⇒ String
Date on which the SOA was generated. Format: yyyyMMdd
123 124 125 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 123 def statement_date @statement_date end |
#statement_of_account_id ⇒ Integer
Statement of account identifier,
127 128 129 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 127 def statement_of_account_id @statement_of_account_id end |
#total_billing_documents ⇒ Integer
Total number of billing documents generated under this Statement of Account.
132 133 134 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 132 def total_billing_documents @total_billing_documents end |
#total_net_amount_billing_currency ⇒ Float
Total NET amount from all billing documents in this SOA.
136 137 138 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 136 def total_net_amount_billing_currency @total_net_amount_billing_currency end |
#total_summary_billing_documents ⇒ Float
Total number of summary billing documents for this Statement of Account
140 141 142 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 140 def total_summary_billing_documents @total_summary_billing_documents end |
#total_vat_amount_billing_currency ⇒ Float
Total VAT amount from all billing documents in this SOA.
144 145 146 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 144 def total_vat_amount_billing_currency @total_vat_amount_billing_currency end |
#unallocated_payment ⇒ Float
Amount paid but not allocated to any invoices at the time of this SOA generation.
149 150 151 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 149 def unallocated_payment @unallocated_payment end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
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 437 438 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 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 390 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. amount_due = hash.key?('AmountDue') ? hash['AmountDue'] : SKIP amount_not_overdue = hash.key?('AmountNotOverdue') ? hash['AmountNotOverdue'] : SKIP amount_overdue = hash.key?('AmountOverdue') ? hash['AmountOverdue'] : SKIP amount_overdue_from_unallocated = hash.key?('AmountOverdueFromUnallocated') ? hash['AmountOverdueFromUnallocated'] : SKIP amount_paid = hash.key?('AmountPaid') ? hash['AmountPaid'] : SKIP balance_on_this_statement = hash.key?('BalanceOnThisStatement') ? hash['BalanceOnThisStatement'] : SKIP billing_currency_code = hash.key?('BillingCurrencyCode') ? hash['BillingCurrencyCode'] : SKIP billing_currency_symbol = hash.key?('BillingCurrencySymbol') ? hash['BillingCurrencySymbol'] : SKIP credit_limit = hash.key?('CreditLimit') ? hash['CreditLimit'] : SKIP credit_limit_currency_code = hash.key?('CreditLimitCurrencyCode') ? hash['CreditLimitCurrencyCode'] : SKIP credit_limit_currency_symbol = hash.key?('CreditLimitCurrencySymbol') ? hash['CreditLimitCurrencySymbol'] : SKIP credit_limit_in_customer_currency = hash.key?('CreditLimitInCustomerCurrency') ? hash['CreditLimitInCustomerCurrency'] : SKIP currency_code = hash.key?('CurrencyCode') ? hash['CurrencyCode'] : SKIP currency_symbol = hash.key?('CurrencySymbol') ? hash['CurrencySymbol'] : SKIP fully_paid = hash.key?('FullyPaid') ? hash['FullyPaid'] : SKIP last_payment_currency_code = hash.key?('LastPaymentCurrencyCode') ? hash['LastPaymentCurrencyCode'] : SKIP last_payment_currency_symbol = hash.key?('LastPaymentCurrencySymbol') ? hash['LastPaymentCurrencySymbol'] : SKIP last_payment_date = hash.key?('LastPaymentDate') ? hash['LastPaymentDate'] : SKIP last_payment_value = hash.key?('LastPaymentValue') ? hash['LastPaymentValue'] : SKIP outstanding_balance = hash.key?('OutstandingBalance') ? hash['OutstandingBalance'] : SKIP payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP payment_due_date = hash.key?('PaymentDueDate') ? hash['PaymentDueDate'] : SKIP so_a_reference_number = hash.key?('SoAReferenceNumber') ? hash['SoAReferenceNumber'] : SKIP statement_date = hash.key?('StatementDate') ? hash['StatementDate'] : SKIP statement_of_account_id = hash.key?('StatementOfAccountId') ? hash['StatementOfAccountId'] : SKIP total_billing_documents = hash.key?('TotalBillingDocuments') ? hash['TotalBillingDocuments'] : SKIP total_net_amount_billing_currency = hash.key?('TotalNetAmountBillingCurrency') ? hash['TotalNetAmountBillingCurrency'] : SKIP total_summary_billing_documents = hash.key?('TotalSummaryBillingDocuments') ? hash['TotalSummaryBillingDocuments'] : SKIP total_vat_amount_billing_currency = hash.key?('TotalVATAmountBillingCurrency') ? hash['TotalVATAmountBillingCurrency'] : SKIP unallocated_payment = hash.key?('UnallocatedPayment') ? hash['UnallocatedPayment'] : SKIP local_currency_code = hash.key?('LocalCurrencyCode') ? hash['LocalCurrencyCode'] : SKIP local_currency_symbol = hash.key?('LocalCurrencySymbol') ? hash['LocalCurrencySymbol'] : SKIP local_currency_exchange_rate = hash.key?('LocalCurrencyExchangeRate') ? hash['LocalCurrencyExchangeRate'] : SKIP # Create object from extracted values. PastStatementOfAccounts.new(amount_due, amount_not_overdue, amount_overdue, amount_overdue_from_unallocated, amount_paid, balance_on_this_statement, billing_currency_code, billing_currency_symbol, credit_limit, credit_limit_currency_code, credit_limit_currency_symbol, credit_limit_in_customer_currency, currency_code, currency_symbol, fully_paid, last_payment_currency_code, last_payment_currency_symbol, last_payment_date, last_payment_value, outstanding_balance, payer_id, payer_number, payment_due_date, so_a_reference_number, statement_date, statement_of_account_id, total_billing_documents, total_net_amount_billing_currency, total_summary_billing_documents, total_vat_amount_billing_currency, unallocated_payment, local_currency_code, local_currency_symbol, local_currency_exchange_rate) end |
.names ⇒ Object
A mapping from model property names to API property names.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 173 def self.names @_hash = {} if @_hash.nil? @_hash['amount_due'] = 'AmountDue' @_hash['amount_not_overdue'] = 'AmountNotOverdue' @_hash['amount_overdue'] = 'AmountOverdue' @_hash['amount_overdue_from_unallocated'] = 'AmountOverdueFromUnallocated' @_hash['amount_paid'] = 'AmountPaid' @_hash['balance_on_this_statement'] = 'BalanceOnThisStatement' @_hash['billing_currency_code'] = 'BillingCurrencyCode' @_hash['billing_currency_symbol'] = 'BillingCurrencySymbol' @_hash['credit_limit'] = 'CreditLimit' @_hash['credit_limit_currency_code'] = 'CreditLimitCurrencyCode' @_hash['credit_limit_currency_symbol'] = 'CreditLimitCurrencySymbol' @_hash['credit_limit_in_customer_currency'] = 'CreditLimitInCustomerCurrency' @_hash['currency_code'] = 'CurrencyCode' @_hash['currency_symbol'] = 'CurrencySymbol' @_hash['fully_paid'] = 'FullyPaid' @_hash['last_payment_currency_code'] = 'LastPaymentCurrencyCode' @_hash['last_payment_currency_symbol'] = 'LastPaymentCurrencySymbol' @_hash['last_payment_date'] = 'LastPaymentDate' @_hash['last_payment_value'] = 'LastPaymentValue' @_hash['outstanding_balance'] = 'OutstandingBalance' @_hash['payer_id'] = 'PayerId' @_hash['payer_number'] = 'PayerNumber' @_hash['payment_due_date'] = 'PaymentDueDate' @_hash['so_a_reference_number'] = 'SoAReferenceNumber' @_hash['statement_date'] = 'StatementDate' @_hash['statement_of_account_id'] = 'StatementOfAccountId' @_hash['total_billing_documents'] = 'TotalBillingDocuments' @_hash['total_net_amount_billing_currency'] = 'TotalNetAmountBillingCurrency' @_hash['total_summary_billing_documents'] = 'TotalSummaryBillingDocuments' @_hash['total_vat_amount_billing_currency'] = 'TotalVATAmountBillingCurrency' @_hash['unallocated_payment'] = 'UnallocatedPayment' @_hash['local_currency_code'] = 'LocalCurrencyCode' @_hash['local_currency_symbol'] = 'LocalCurrencySymbol' @_hash['local_currency_exchange_rate'] = 'LocalCurrencyExchangeRate' @_hash end |
.nullables ⇒ Object
An array for nullable fields
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 258 def self.nullables %w[ amount_due amount_not_overdue amount_overdue amount_overdue_from_unallocated amount_paid balance_on_this_statement billing_currency_code billing_currency_symbol credit_limit credit_limit_currency_code credit_limit_currency_symbol credit_limit_in_customer_currency currency_code currency_symbol fully_paid last_payment_currency_code last_payment_currency_symbol last_payment_date last_payment_value outstanding_balance payer_id payer_number payment_due_date so_a_reference_number statement_date statement_of_account_id total_billing_documents total_net_amount_billing_currency total_summary_billing_documents total_vat_amount_billing_currency unallocated_payment local_currency_code local_currency_symbol local_currency_exchange_rate ] end |
.optionals ⇒ Object
An array for optional fields
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb', line 218 def self.optionals %w[ amount_due amount_not_overdue amount_overdue amount_overdue_from_unallocated amount_paid balance_on_this_statement billing_currency_code billing_currency_symbol credit_limit credit_limit_currency_code credit_limit_currency_symbol credit_limit_in_customer_currency currency_code currency_symbol fully_paid last_payment_currency_code last_payment_currency_symbol last_payment_date last_payment_value outstanding_balance payer_id payer_number payment_due_date so_a_reference_number statement_date statement_of_account_id total_billing_documents total_net_amount_billing_currency total_summary_billing_documents total_vat_amount_billing_currency unallocated_payment local_currency_code local_currency_symbol local_currency_exchange_rate ] end |