lithic 0.1.0.pre.alpha.55 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +62 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
- data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/{external_bank_account_retry_prenote_response.rb → external_bank_account.rb} +32 -33
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +15 -2
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +3 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +164 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +11 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +18 -6
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +9 -243
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +56 -0
- data/lib/lithic/resources/auth_rules/v2.rb +19 -17
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +21 -2
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +38 -21
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +131 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +99 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/{external_bank_account_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +62 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +469 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +28 -7
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +12 -500
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +57 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +11 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +6 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +71 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +44 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account.rbs +162 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +35 -8
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +11 -2
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +248 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +18 -5
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +12 -191
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +56 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +6 -1
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +115 -67
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -97,49 +97,49 @@ module Lithic
|
|
|
97
97
|
# returned will be null
|
|
98
98
|
#
|
|
99
99
|
# @return [String, nil]
|
|
100
|
-
optional :account_token, String
|
|
100
|
+
optional :account_token, String, nil?: true
|
|
101
101
|
|
|
102
102
|
# @!attribute address
|
|
103
103
|
# Address
|
|
104
104
|
#
|
|
105
105
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
106
|
-
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
106
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
|
|
107
107
|
|
|
108
108
|
# @!attribute company_id
|
|
109
109
|
# Optional field that helps identify bank accounts in receipts
|
|
110
110
|
#
|
|
111
111
|
# @return [String, nil]
|
|
112
|
-
optional :company_id, String
|
|
112
|
+
optional :company_id, String, nil?: true
|
|
113
113
|
|
|
114
114
|
# @!attribute dob
|
|
115
115
|
# Date of Birth of the Individual that owns the external bank account
|
|
116
116
|
#
|
|
117
117
|
# @return [Date, nil]
|
|
118
|
-
optional :dob, Date
|
|
118
|
+
optional :dob, Date, nil?: true
|
|
119
119
|
|
|
120
120
|
# @!attribute doing_business_as
|
|
121
121
|
# Doing Business As
|
|
122
122
|
#
|
|
123
123
|
# @return [String, nil]
|
|
124
|
-
optional :doing_business_as, String
|
|
124
|
+
optional :doing_business_as, String, nil?: true
|
|
125
125
|
|
|
126
126
|
# @!attribute financial_account_token
|
|
127
127
|
# The financial account token of the operating account to fund the micro deposits
|
|
128
128
|
#
|
|
129
129
|
# @return [String, nil]
|
|
130
|
-
optional :financial_account_token, String
|
|
130
|
+
optional :financial_account_token, String, nil?: true
|
|
131
131
|
|
|
132
132
|
# @!attribute name
|
|
133
133
|
# The nickname for this External Bank Account
|
|
134
134
|
#
|
|
135
135
|
# @return [String, nil]
|
|
136
|
-
optional :name, String
|
|
136
|
+
optional :name, String, nil?: true
|
|
137
137
|
|
|
138
138
|
# @!attribute user_defined_id
|
|
139
139
|
# User Defined ID
|
|
140
140
|
#
|
|
141
141
|
# @return [String, nil]
|
|
142
|
-
optional :user_defined_id, String
|
|
142
|
+
optional :user_defined_id, String, nil?: true
|
|
143
143
|
|
|
144
144
|
# @!attribute verification_failed_reason
|
|
145
145
|
# Optional free text description of the reason for the failed verification. For
|
|
@@ -147,7 +147,7 @@ module Lithic
|
|
|
147
147
|
# by the ACH network
|
|
148
148
|
#
|
|
149
149
|
# @return [String, nil]
|
|
150
|
-
optional :verification_failed_reason, String
|
|
150
|
+
optional :verification_failed_reason, String, nil?: true
|
|
151
151
|
|
|
152
152
|
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
|
153
153
|
# Some parameter documentations has been truncated, see
|
|
@@ -179,23 +179,23 @@ module Lithic
|
|
|
179
179
|
#
|
|
180
180
|
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationState] Verification State
|
|
181
181
|
#
|
|
182
|
-
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
182
|
+
# @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
|
|
183
183
|
#
|
|
184
|
-
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
184
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
|
|
185
185
|
#
|
|
186
|
-
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
186
|
+
# @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
|
|
187
187
|
#
|
|
188
|
-
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
188
|
+
# @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
|
|
189
189
|
#
|
|
190
|
-
# @param doing_business_as [String] Doing Business As
|
|
190
|
+
# @param doing_business_as [String, nil] Doing Business As
|
|
191
191
|
#
|
|
192
|
-
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
192
|
+
# @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
|
|
193
193
|
#
|
|
194
|
-
# @param name [String] The nickname for this External Bank Account
|
|
194
|
+
# @param name [String, nil] The nickname for this External Bank Account
|
|
195
195
|
#
|
|
196
|
-
# @param user_defined_id [String] User Defined ID
|
|
196
|
+
# @param user_defined_id [String, nil] User Defined ID
|
|
197
197
|
#
|
|
198
|
-
# @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
|
|
198
|
+
# @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
|
|
199
199
|
|
|
200
200
|
# Owner Type
|
|
201
201
|
#
|
|
@@ -99,49 +99,49 @@ module Lithic
|
|
|
99
99
|
# returned will be null
|
|
100
100
|
#
|
|
101
101
|
# @return [String, nil]
|
|
102
|
-
optional :account_token, String
|
|
102
|
+
optional :account_token, String, nil?: true
|
|
103
103
|
|
|
104
104
|
# @!attribute address
|
|
105
105
|
# Address
|
|
106
106
|
#
|
|
107
107
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
108
|
-
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
108
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
|
|
109
109
|
|
|
110
110
|
# @!attribute company_id
|
|
111
111
|
# Optional field that helps identify bank accounts in receipts
|
|
112
112
|
#
|
|
113
113
|
# @return [String, nil]
|
|
114
|
-
optional :company_id, String
|
|
114
|
+
optional :company_id, String, nil?: true
|
|
115
115
|
|
|
116
116
|
# @!attribute dob
|
|
117
117
|
# Date of Birth of the Individual that owns the external bank account
|
|
118
118
|
#
|
|
119
119
|
# @return [Date, nil]
|
|
120
|
-
optional :dob, Date
|
|
120
|
+
optional :dob, Date, nil?: true
|
|
121
121
|
|
|
122
122
|
# @!attribute doing_business_as
|
|
123
123
|
# Doing Business As
|
|
124
124
|
#
|
|
125
125
|
# @return [String, nil]
|
|
126
|
-
optional :doing_business_as, String
|
|
126
|
+
optional :doing_business_as, String, nil?: true
|
|
127
127
|
|
|
128
128
|
# @!attribute financial_account_token
|
|
129
129
|
# The financial account token of the operating account to fund the micro deposits
|
|
130
130
|
#
|
|
131
131
|
# @return [String, nil]
|
|
132
|
-
optional :financial_account_token, String
|
|
132
|
+
optional :financial_account_token, String, nil?: true
|
|
133
133
|
|
|
134
134
|
# @!attribute name
|
|
135
135
|
# The nickname for this External Bank Account
|
|
136
136
|
#
|
|
137
137
|
# @return [String, nil]
|
|
138
|
-
optional :name, String
|
|
138
|
+
optional :name, String, nil?: true
|
|
139
139
|
|
|
140
140
|
# @!attribute user_defined_id
|
|
141
141
|
# User Defined ID
|
|
142
142
|
#
|
|
143
143
|
# @return [String, nil]
|
|
144
|
-
optional :user_defined_id, String
|
|
144
|
+
optional :user_defined_id, String, nil?: true
|
|
145
145
|
|
|
146
146
|
# @!attribute verification_failed_reason
|
|
147
147
|
# Optional free text description of the reason for the failed verification. For
|
|
@@ -149,7 +149,7 @@ module Lithic
|
|
|
149
149
|
# by the ACH network
|
|
150
150
|
#
|
|
151
151
|
# @return [String, nil]
|
|
152
|
-
optional :verification_failed_reason, String
|
|
152
|
+
optional :verification_failed_reason, String, nil?: true
|
|
153
153
|
|
|
154
154
|
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
|
155
155
|
# Some parameter documentations has been truncated, see
|
|
@@ -182,23 +182,23 @@ module Lithic
|
|
|
182
182
|
#
|
|
183
183
|
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationState] Verification State
|
|
184
184
|
#
|
|
185
|
-
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
185
|
+
# @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
|
|
186
186
|
#
|
|
187
|
-
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
187
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
|
|
188
188
|
#
|
|
189
|
-
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
189
|
+
# @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
|
|
190
190
|
#
|
|
191
|
-
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
191
|
+
# @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
|
|
192
192
|
#
|
|
193
|
-
# @param doing_business_as [String] Doing Business As
|
|
193
|
+
# @param doing_business_as [String, nil] Doing Business As
|
|
194
194
|
#
|
|
195
|
-
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
195
|
+
# @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
|
|
196
196
|
#
|
|
197
|
-
# @param name [String] The nickname for this External Bank Account
|
|
197
|
+
# @param name [String, nil] The nickname for this External Bank Account
|
|
198
198
|
#
|
|
199
|
-
# @param user_defined_id [String] User Defined ID
|
|
199
|
+
# @param user_defined_id [String, nil] User Defined ID
|
|
200
200
|
#
|
|
201
|
-
# @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
|
|
201
|
+
# @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
|
|
202
202
|
|
|
203
203
|
# Owner Type
|
|
204
204
|
#
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
# @!attribute user_defined_id
|
|
78
78
|
#
|
|
79
79
|
# @return [String, nil]
|
|
80
|
-
optional :user_defined_id, String
|
|
80
|
+
optional :user_defined_id, String, nil?: true
|
|
81
81
|
|
|
82
82
|
# @!method initialize(token:, created:, status:, updated:, category: nil, currency: nil, events: nil, family: nil, financial_account_token: nil, payment_type: nil, pending_amount: nil, result: nil, settled_amount: nil, user_defined_id: nil)
|
|
83
83
|
# @param token [String] Unique identifier for the transaction
|
|
@@ -106,7 +106,7 @@ module Lithic
|
|
|
106
106
|
#
|
|
107
107
|
# @param settled_amount [Integer]
|
|
108
108
|
#
|
|
109
|
-
# @param user_defined_id [String]
|
|
109
|
+
# @param user_defined_id [String, nil]
|
|
110
110
|
|
|
111
111
|
# The status of the transaction
|
|
112
112
|
#
|
|
@@ -119,6 +119,7 @@ module Lithic
|
|
|
119
119
|
DECLINED = :DECLINED
|
|
120
120
|
REVERSED = :REVERSED
|
|
121
121
|
CANCELED = :CANCELED
|
|
122
|
+
RETURNED = :RETURNED
|
|
122
123
|
|
|
123
124
|
# @!method self.values
|
|
124
125
|
# @return [Array<Symbol>]
|
|
@@ -131,6 +132,8 @@ module Lithic
|
|
|
131
132
|
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
132
133
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
|
133
134
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
135
|
+
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
136
|
+
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
134
137
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
135
138
|
|
|
136
139
|
# @!method self.values
|
|
@@ -234,6 +237,16 @@ module Lithic
|
|
|
234
237
|
EXTERNAL_CHECK_SETTLED = :EXTERNAL_CHECK_SETTLED
|
|
235
238
|
EXTERNAL_CHECK_REVERSED = :EXTERNAL_CHECK_REVERSED
|
|
236
239
|
EXTERNAL_CHECK_RELEASED = :EXTERNAL_CHECK_RELEASED
|
|
240
|
+
EXTERNAL_FEDNOW_INITIATED = :EXTERNAL_FEDNOW_INITIATED
|
|
241
|
+
EXTERNAL_FEDNOW_CANCELED = :EXTERNAL_FEDNOW_CANCELED
|
|
242
|
+
EXTERNAL_FEDNOW_SETTLED = :EXTERNAL_FEDNOW_SETTLED
|
|
243
|
+
EXTERNAL_FEDNOW_REVERSED = :EXTERNAL_FEDNOW_REVERSED
|
|
244
|
+
EXTERNAL_FEDNOW_RELEASED = :EXTERNAL_FEDNOW_RELEASED
|
|
245
|
+
EXTERNAL_RTP_INITIATED = :EXTERNAL_RTP_INITIATED
|
|
246
|
+
EXTERNAL_RTP_CANCELED = :EXTERNAL_RTP_CANCELED
|
|
247
|
+
EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
|
|
248
|
+
EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
|
|
249
|
+
EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
|
|
237
250
|
|
|
238
251
|
# @!method self.values
|
|
239
252
|
# @return [Array<Symbol>]
|
|
@@ -104,6 +104,8 @@ module Lithic
|
|
|
104
104
|
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
105
105
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
|
106
106
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
107
|
+
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
|
|
108
|
+
EXTERNAL_RTP = :EXTERNAL_RTP
|
|
107
109
|
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
108
110
|
|
|
109
111
|
# @!method self.values
|
|
@@ -130,6 +132,7 @@ module Lithic
|
|
|
130
132
|
DECLINED = :DECLINED
|
|
131
133
|
REVERSED = :REVERSED
|
|
132
134
|
CANCELED = :CANCELED
|
|
135
|
+
RETURNED = :RETURNED
|
|
133
136
|
|
|
134
137
|
# @!method self.values
|
|
135
138
|
# @return [Array<Symbol>]
|
|
@@ -97,9 +97,10 @@ module Lithic
|
|
|
97
97
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
98
98
|
# @!attribute auto_collection_configuration
|
|
99
99
|
#
|
|
100
|
-
# @return [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
|
|
100
|
+
# @return [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration, nil]
|
|
101
101
|
required :auto_collection_configuration,
|
|
102
|
-
-> { Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration }
|
|
102
|
+
-> { Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration },
|
|
103
|
+
nil?: true
|
|
103
104
|
|
|
104
105
|
# @!attribute credit_limit
|
|
105
106
|
#
|
|
@@ -124,7 +125,7 @@ module Lithic
|
|
|
124
125
|
required :tier, String, nil?: true
|
|
125
126
|
|
|
126
127
|
# @!method initialize(auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:)
|
|
127
|
-
# @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
|
|
128
|
+
# @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration, nil]
|
|
128
129
|
#
|
|
129
130
|
# @param credit_limit [Integer, nil]
|
|
130
131
|
#
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class FinancialAccountBalance < Lithic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute token
|
|
7
|
+
# Globally unique identifier for the financial account that holds this balance.
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :token, String
|
|
11
|
+
|
|
12
|
+
# @!attribute available_amount
|
|
13
|
+
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
14
|
+
#
|
|
15
|
+
# @return [Integer]
|
|
16
|
+
required :available_amount, Integer
|
|
17
|
+
|
|
18
|
+
# @!attribute created
|
|
19
|
+
# Date and time for when the balance was first created.
|
|
20
|
+
#
|
|
21
|
+
# @return [Time]
|
|
22
|
+
required :created, Time
|
|
23
|
+
|
|
24
|
+
# @!attribute currency
|
|
25
|
+
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :currency, String
|
|
29
|
+
|
|
30
|
+
# @!attribute last_transaction_event_token
|
|
31
|
+
# Globally unique identifier for the last financial transaction event that
|
|
32
|
+
# impacted this balance.
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
required :last_transaction_event_token, String
|
|
36
|
+
|
|
37
|
+
# @!attribute last_transaction_token
|
|
38
|
+
# Globally unique identifier for the last financial transaction that impacted this
|
|
39
|
+
# balance.
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
required :last_transaction_token, String
|
|
43
|
+
|
|
44
|
+
# @!attribute pending_amount
|
|
45
|
+
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
46
|
+
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
47
|
+
#
|
|
48
|
+
# @return [Integer]
|
|
49
|
+
required :pending_amount, Integer
|
|
50
|
+
|
|
51
|
+
# @!attribute total_amount
|
|
52
|
+
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
53
|
+
# cents for USD).
|
|
54
|
+
#
|
|
55
|
+
# @return [Integer]
|
|
56
|
+
required :total_amount, Integer
|
|
57
|
+
|
|
58
|
+
# @!attribute type
|
|
59
|
+
# Type of financial account.
|
|
60
|
+
#
|
|
61
|
+
# @return [Symbol, Lithic::Models::FinancialAccountBalance::Type]
|
|
62
|
+
required :type, enum: -> { Lithic::FinancialAccountBalance::Type }
|
|
63
|
+
|
|
64
|
+
# @!attribute updated
|
|
65
|
+
# Date and time for when the balance was last updated.
|
|
66
|
+
#
|
|
67
|
+
# @return [Time]
|
|
68
|
+
required :updated, Time
|
|
69
|
+
|
|
70
|
+
# @!method initialize(token:, available_amount:, created:, currency:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, type:, updated:)
|
|
71
|
+
# Some parameter documentations has been truncated, see
|
|
72
|
+
# {Lithic::Models::FinancialAccountBalance} for more details.
|
|
73
|
+
#
|
|
74
|
+
# Balance of a Financial Account
|
|
75
|
+
#
|
|
76
|
+
# @param token [String] Globally unique identifier for the financial account that holds this balance.
|
|
77
|
+
#
|
|
78
|
+
# @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
79
|
+
#
|
|
80
|
+
# @param created [Time] Date and time for when the balance was first created.
|
|
81
|
+
#
|
|
82
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
83
|
+
#
|
|
84
|
+
# @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
|
|
85
|
+
#
|
|
86
|
+
# @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
|
|
87
|
+
#
|
|
88
|
+
# @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
|
|
89
|
+
#
|
|
90
|
+
# @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
91
|
+
#
|
|
92
|
+
# @param type [Symbol, Lithic::Models::FinancialAccountBalance::Type] Type of financial account.
|
|
93
|
+
#
|
|
94
|
+
# @param updated [Time] Date and time for when the balance was last updated.
|
|
95
|
+
|
|
96
|
+
# Type of financial account.
|
|
97
|
+
#
|
|
98
|
+
# @see Lithic::Models::FinancialAccountBalance#type
|
|
99
|
+
module Type
|
|
100
|
+
extend Lithic::Internal::Type::Enum
|
|
101
|
+
|
|
102
|
+
ISSUING = :ISSUING
|
|
103
|
+
OPERATING = :OPERATING
|
|
104
|
+
RESERVE = :RESERVE
|
|
105
|
+
SECURITY = :SECURITY
|
|
106
|
+
|
|
107
|
+
# @!method self.values
|
|
108
|
+
# @return [Array<Symbol>]
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class CategoryBalances < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute fees
|
|
8
|
+
#
|
|
9
|
+
# @return [Integer]
|
|
10
|
+
required :fees, Integer
|
|
11
|
+
|
|
12
|
+
# @!attribute interest
|
|
13
|
+
#
|
|
14
|
+
# @return [Integer]
|
|
15
|
+
required :interest, Integer
|
|
16
|
+
|
|
17
|
+
# @!attribute principal
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer]
|
|
20
|
+
required :principal, Integer
|
|
21
|
+
|
|
22
|
+
# @!method initialize(fees:, interest:, principal:)
|
|
23
|
+
# @param fees [Integer]
|
|
24
|
+
# @param interest [Integer]
|
|
25
|
+
# @param principal [Integer]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|