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
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
# @see Lithic::Resources::Disputes#update
|
|
6
|
-
class DisputeUpdateResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute token
|
|
8
|
-
# Globally unique identifier.
|
|
9
|
-
#
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :token, String
|
|
12
|
-
|
|
13
|
-
# @!attribute amount
|
|
14
|
-
# Amount under dispute. May be different from the original transaction amount.
|
|
15
|
-
#
|
|
16
|
-
# @return [Integer]
|
|
17
|
-
required :amount, Integer
|
|
18
|
-
|
|
19
|
-
# @!attribute arbitration_date
|
|
20
|
-
# Date dispute entered arbitration.
|
|
21
|
-
#
|
|
22
|
-
# @return [Time, nil]
|
|
23
|
-
required :arbitration_date, Time, nil?: true
|
|
24
|
-
|
|
25
|
-
# @!attribute created
|
|
26
|
-
# Timestamp of when first Dispute was reported.
|
|
27
|
-
#
|
|
28
|
-
# @return [Time]
|
|
29
|
-
required :created, Time
|
|
30
|
-
|
|
31
|
-
# @!attribute customer_filed_date
|
|
32
|
-
# Date that the dispute was filed by the customer making the dispute.
|
|
33
|
-
#
|
|
34
|
-
# @return [Time, nil]
|
|
35
|
-
required :customer_filed_date, Time, nil?: true
|
|
36
|
-
|
|
37
|
-
# @!attribute customer_note
|
|
38
|
-
# End customer description of the reason for the dispute.
|
|
39
|
-
#
|
|
40
|
-
# @return [String, nil]
|
|
41
|
-
required :customer_note, String, nil?: true
|
|
42
|
-
|
|
43
|
-
# @!attribute network_claim_ids
|
|
44
|
-
# Unique identifiers for the dispute from the network.
|
|
45
|
-
#
|
|
46
|
-
# @return [Array<String>, nil]
|
|
47
|
-
required :network_claim_ids, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
48
|
-
|
|
49
|
-
# @!attribute network_filed_date
|
|
50
|
-
# Date that the dispute was submitted to the network.
|
|
51
|
-
#
|
|
52
|
-
# @return [Time, nil]
|
|
53
|
-
required :network_filed_date, Time, nil?: true
|
|
54
|
-
|
|
55
|
-
# @!attribute network_reason_code
|
|
56
|
-
# Network reason code used to file the dispute.
|
|
57
|
-
#
|
|
58
|
-
# @return [String, nil]
|
|
59
|
-
required :network_reason_code, String, nil?: true
|
|
60
|
-
|
|
61
|
-
# @!attribute prearbitration_date
|
|
62
|
-
# Date dispute entered pre-arbitration.
|
|
63
|
-
#
|
|
64
|
-
# @return [Time, nil]
|
|
65
|
-
required :prearbitration_date, Time, nil?: true
|
|
66
|
-
|
|
67
|
-
# @!attribute primary_claim_id
|
|
68
|
-
# Unique identifier for the dispute from the network. If there are multiple, this
|
|
69
|
-
# will be the first claim id set by the network
|
|
70
|
-
#
|
|
71
|
-
# @return [String, nil]
|
|
72
|
-
required :primary_claim_id, String, nil?: true
|
|
73
|
-
|
|
74
|
-
# @!attribute reason
|
|
75
|
-
# Dispute reason:
|
|
76
|
-
#
|
|
77
|
-
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
|
78
|
-
# - `CANCELLED`: Transaction was cancelled by the customer.
|
|
79
|
-
# - `DUPLICATED`: The transaction was a duplicate.
|
|
80
|
-
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
|
81
|
-
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
|
82
|
-
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
|
83
|
-
# merchant activity.
|
|
84
|
-
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
|
85
|
-
# described.
|
|
86
|
-
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
|
87
|
-
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
|
88
|
-
# - `MISSING_AUTH`: The transaction was missing authorization.
|
|
89
|
-
# - `OTHER`: Other reason.
|
|
90
|
-
# - `PROCESSING_ERROR`: Processing error.
|
|
91
|
-
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
|
92
|
-
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
|
93
|
-
# cancelled.
|
|
94
|
-
#
|
|
95
|
-
# @return [Symbol, Lithic::Models::DisputeUpdateResponse::Reason]
|
|
96
|
-
required :reason, enum: -> { Lithic::Models::DisputeUpdateResponse::Reason }
|
|
97
|
-
|
|
98
|
-
# @!attribute representment_date
|
|
99
|
-
# Date the representment was received.
|
|
100
|
-
#
|
|
101
|
-
# @return [Time, nil]
|
|
102
|
-
required :representment_date, Time, nil?: true
|
|
103
|
-
|
|
104
|
-
# @!attribute resolution_date
|
|
105
|
-
# Date that the dispute was resolved.
|
|
106
|
-
#
|
|
107
|
-
# @return [Time, nil]
|
|
108
|
-
required :resolution_date, Time, nil?: true
|
|
109
|
-
|
|
110
|
-
# @!attribute resolution_note
|
|
111
|
-
# Note by Dispute team on the case resolution.
|
|
112
|
-
#
|
|
113
|
-
# @return [String, nil]
|
|
114
|
-
required :resolution_note, String, nil?: true
|
|
115
|
-
|
|
116
|
-
# @!attribute resolution_reason
|
|
117
|
-
# Reason for the dispute resolution:
|
|
118
|
-
#
|
|
119
|
-
# - `CASE_LOST`: This case was lost at final arbitration.
|
|
120
|
-
# - `NETWORK_REJECTED`: Network rejected.
|
|
121
|
-
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
|
122
|
-
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
|
123
|
-
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
|
124
|
-
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
|
125
|
-
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
|
126
|
-
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
|
127
|
-
# - `PAST_FILING_DATE`: Past filing date.
|
|
128
|
-
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
|
129
|
-
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
|
130
|
-
# - `REFUNDED`: Refunded.
|
|
131
|
-
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
|
132
|
-
# - `WITHDRAWN`: Withdrawn.
|
|
133
|
-
# - `WON_ARBITRATION`: Won arbitration.
|
|
134
|
-
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
|
135
|
-
# - `WON_PREARBITRATION`: Won prearbitration.
|
|
136
|
-
#
|
|
137
|
-
# @return [Symbol, Lithic::Models::DisputeUpdateResponse::ResolutionReason, nil]
|
|
138
|
-
required :resolution_reason,
|
|
139
|
-
enum: -> { Lithic::Models::DisputeUpdateResponse::ResolutionReason },
|
|
140
|
-
nil?: true
|
|
141
|
-
|
|
142
|
-
# @!attribute status
|
|
143
|
-
# Status types:
|
|
144
|
-
#
|
|
145
|
-
# - `NEW` - New dispute case is opened.
|
|
146
|
-
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
|
147
|
-
# information.
|
|
148
|
-
# - `SUBMITTED` - Dispute is submitted to the card network.
|
|
149
|
-
# - `REPRESENTMENT` - Case has entered second presentment.
|
|
150
|
-
# - `PREARBITRATION` - Case has entered prearbitration.
|
|
151
|
-
# - `ARBITRATION` - Case has entered arbitration.
|
|
152
|
-
# - `CASE_WON` - Case was won and credit will be issued.
|
|
153
|
-
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
|
154
|
-
#
|
|
155
|
-
# @return [Symbol, Lithic::Models::DisputeUpdateResponse::Status]
|
|
156
|
-
required :status, enum: -> { Lithic::Models::DisputeUpdateResponse::Status }
|
|
157
|
-
|
|
158
|
-
# @!attribute transaction_token
|
|
159
|
-
# The transaction that is being disputed. A transaction can only be disputed once
|
|
160
|
-
# but may have multiple dispute cases.
|
|
161
|
-
#
|
|
162
|
-
# @return [String]
|
|
163
|
-
required :transaction_token, String
|
|
164
|
-
|
|
165
|
-
# @!method initialize(token:, amount:, arbitration_date:, created:, customer_filed_date:, customer_note:, network_claim_ids:, network_filed_date:, network_reason_code:, prearbitration_date:, primary_claim_id:, reason:, representment_date:, resolution_date:, resolution_note:, resolution_reason:, status:, transaction_token:)
|
|
166
|
-
# Some parameter documentations has been truncated, see
|
|
167
|
-
# {Lithic::Models::DisputeUpdateResponse} for more details.
|
|
168
|
-
#
|
|
169
|
-
# Dispute.
|
|
170
|
-
#
|
|
171
|
-
# @param token [String] Globally unique identifier.
|
|
172
|
-
#
|
|
173
|
-
# @param amount [Integer] Amount under dispute. May be different from the original transaction amount.
|
|
174
|
-
#
|
|
175
|
-
# @param arbitration_date [Time, nil] Date dispute entered arbitration.
|
|
176
|
-
#
|
|
177
|
-
# @param created [Time] Timestamp of when first Dispute was reported.
|
|
178
|
-
#
|
|
179
|
-
# @param customer_filed_date [Time, nil] Date that the dispute was filed by the customer making the dispute.
|
|
180
|
-
#
|
|
181
|
-
# @param customer_note [String, nil] End customer description of the reason for the dispute.
|
|
182
|
-
#
|
|
183
|
-
# @param network_claim_ids [Array<String>, nil] Unique identifiers for the dispute from the network.
|
|
184
|
-
#
|
|
185
|
-
# @param network_filed_date [Time, nil] Date that the dispute was submitted to the network.
|
|
186
|
-
#
|
|
187
|
-
# @param network_reason_code [String, nil] Network reason code used to file the dispute.
|
|
188
|
-
#
|
|
189
|
-
# @param prearbitration_date [Time, nil] Date dispute entered pre-arbitration.
|
|
190
|
-
#
|
|
191
|
-
# @param primary_claim_id [String, nil] Unique identifier for the dispute from the network. If there are multiple, this
|
|
192
|
-
#
|
|
193
|
-
# @param reason [Symbol, Lithic::Models::DisputeUpdateResponse::Reason] Dispute reason:
|
|
194
|
-
#
|
|
195
|
-
# @param representment_date [Time, nil] Date the representment was received.
|
|
196
|
-
#
|
|
197
|
-
# @param resolution_date [Time, nil] Date that the dispute was resolved.
|
|
198
|
-
#
|
|
199
|
-
# @param resolution_note [String, nil] Note by Dispute team on the case resolution.
|
|
200
|
-
#
|
|
201
|
-
# @param resolution_reason [Symbol, Lithic::Models::DisputeUpdateResponse::ResolutionReason, nil] Reason for the dispute resolution:
|
|
202
|
-
#
|
|
203
|
-
# @param status [Symbol, Lithic::Models::DisputeUpdateResponse::Status] Status types:
|
|
204
|
-
#
|
|
205
|
-
# @param transaction_token [String] The transaction that is being disputed. A transaction can only be disputed once
|
|
206
|
-
|
|
207
|
-
# Dispute reason:
|
|
208
|
-
#
|
|
209
|
-
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
|
210
|
-
# - `CANCELLED`: Transaction was cancelled by the customer.
|
|
211
|
-
# - `DUPLICATED`: The transaction was a duplicate.
|
|
212
|
-
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
|
213
|
-
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
|
214
|
-
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
|
215
|
-
# merchant activity.
|
|
216
|
-
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
|
217
|
-
# described.
|
|
218
|
-
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
|
219
|
-
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
|
220
|
-
# - `MISSING_AUTH`: The transaction was missing authorization.
|
|
221
|
-
# - `OTHER`: Other reason.
|
|
222
|
-
# - `PROCESSING_ERROR`: Processing error.
|
|
223
|
-
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
|
224
|
-
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
|
225
|
-
# cancelled.
|
|
226
|
-
#
|
|
227
|
-
# @see Lithic::Models::DisputeUpdateResponse#reason
|
|
228
|
-
module Reason
|
|
229
|
-
extend Lithic::Internal::Type::Enum
|
|
230
|
-
|
|
231
|
-
ATM_CASH_MISDISPENSE = :ATM_CASH_MISDISPENSE
|
|
232
|
-
CANCELLED = :CANCELLED
|
|
233
|
-
DUPLICATED = :DUPLICATED
|
|
234
|
-
FRAUD_CARD_NOT_PRESENT = :FRAUD_CARD_NOT_PRESENT
|
|
235
|
-
FRAUD_CARD_PRESENT = :FRAUD_CARD_PRESENT
|
|
236
|
-
FRAUD_OTHER = :FRAUD_OTHER
|
|
237
|
-
GOODS_SERVICES_NOT_AS_DESCRIBED = :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
238
|
-
GOODS_SERVICES_NOT_RECEIVED = :GOODS_SERVICES_NOT_RECEIVED
|
|
239
|
-
INCORRECT_AMOUNT = :INCORRECT_AMOUNT
|
|
240
|
-
MISSING_AUTH = :MISSING_AUTH
|
|
241
|
-
OTHER = :OTHER
|
|
242
|
-
PROCESSING_ERROR = :PROCESSING_ERROR
|
|
243
|
-
RECURRING_TRANSACTION_NOT_CANCELLED = :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
244
|
-
REFUND_NOT_PROCESSED = :REFUND_NOT_PROCESSED
|
|
245
|
-
|
|
246
|
-
# @!method self.values
|
|
247
|
-
# @return [Array<Symbol>]
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
# Reason for the dispute resolution:
|
|
251
|
-
#
|
|
252
|
-
# - `CASE_LOST`: This case was lost at final arbitration.
|
|
253
|
-
# - `NETWORK_REJECTED`: Network rejected.
|
|
254
|
-
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
|
255
|
-
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
|
256
|
-
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
|
257
|
-
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
|
258
|
-
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
|
259
|
-
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
|
260
|
-
# - `PAST_FILING_DATE`: Past filing date.
|
|
261
|
-
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
|
262
|
-
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
|
263
|
-
# - `REFUNDED`: Refunded.
|
|
264
|
-
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
|
265
|
-
# - `WITHDRAWN`: Withdrawn.
|
|
266
|
-
# - `WON_ARBITRATION`: Won arbitration.
|
|
267
|
-
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
|
268
|
-
# - `WON_PREARBITRATION`: Won prearbitration.
|
|
269
|
-
#
|
|
270
|
-
# @see Lithic::Models::DisputeUpdateResponse#resolution_reason
|
|
271
|
-
module ResolutionReason
|
|
272
|
-
extend Lithic::Internal::Type::Enum
|
|
273
|
-
|
|
274
|
-
CASE_LOST = :CASE_LOST
|
|
275
|
-
NETWORK_REJECTED = :NETWORK_REJECTED
|
|
276
|
-
NO_DISPUTE_RIGHTS_3DS = :NO_DISPUTE_RIGHTS_3DS
|
|
277
|
-
NO_DISPUTE_RIGHTS_BELOW_THRESHOLD = :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
278
|
-
NO_DISPUTE_RIGHTS_CONTACTLESS = :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
279
|
-
NO_DISPUTE_RIGHTS_HYBRID = :NO_DISPUTE_RIGHTS_HYBRID
|
|
280
|
-
NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS = :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
281
|
-
NO_DISPUTE_RIGHTS_OTHER = :NO_DISPUTE_RIGHTS_OTHER
|
|
282
|
-
PAST_FILING_DATE = :PAST_FILING_DATE
|
|
283
|
-
PREARBITRATION_REJECTED = :PREARBITRATION_REJECTED
|
|
284
|
-
PROCESSOR_REJECTED_OTHER = :PROCESSOR_REJECTED_OTHER
|
|
285
|
-
REFUNDED = :REFUNDED
|
|
286
|
-
REFUNDED_AFTER_CHARGEBACK = :REFUNDED_AFTER_CHARGEBACK
|
|
287
|
-
WITHDRAWN = :WITHDRAWN
|
|
288
|
-
WON_ARBITRATION = :WON_ARBITRATION
|
|
289
|
-
WON_FIRST_CHARGEBACK = :WON_FIRST_CHARGEBACK
|
|
290
|
-
WON_PREARBITRATION = :WON_PREARBITRATION
|
|
291
|
-
|
|
292
|
-
# @!method self.values
|
|
293
|
-
# @return [Array<Symbol>]
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
# Status types:
|
|
297
|
-
#
|
|
298
|
-
# - `NEW` - New dispute case is opened.
|
|
299
|
-
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
|
300
|
-
# information.
|
|
301
|
-
# - `SUBMITTED` - Dispute is submitted to the card network.
|
|
302
|
-
# - `REPRESENTMENT` - Case has entered second presentment.
|
|
303
|
-
# - `PREARBITRATION` - Case has entered prearbitration.
|
|
304
|
-
# - `ARBITRATION` - Case has entered arbitration.
|
|
305
|
-
# - `CASE_WON` - Case was won and credit will be issued.
|
|
306
|
-
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
|
307
|
-
#
|
|
308
|
-
# @see Lithic::Models::DisputeUpdateResponse#status
|
|
309
|
-
module Status
|
|
310
|
-
extend Lithic::Internal::Type::Enum
|
|
311
|
-
|
|
312
|
-
ARBITRATION = :ARBITRATION
|
|
313
|
-
CASE_CLOSED = :CASE_CLOSED
|
|
314
|
-
CASE_WON = :CASE_WON
|
|
315
|
-
NEW = :NEW
|
|
316
|
-
PENDING_CUSTOMER = :PENDING_CUSTOMER
|
|
317
|
-
PREARBITRATION = :PREARBITRATION
|
|
318
|
-
REPRESENTMENT = :REPRESENTMENT
|
|
319
|
-
SUBMITTED = :SUBMITTED
|
|
320
|
-
|
|
321
|
-
# @!method self.values
|
|
322
|
-
# @return [Array<Symbol>]
|
|
323
|
-
end
|
|
324
|
-
end
|
|
325
|
-
end
|
|
326
|
-
end
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
module FinancialAccounts
|
|
6
|
-
# @see Lithic::Resources::FinancialAccounts::Balances#list
|
|
7
|
-
class BalanceListResponse < Lithic::Internal::Type::BaseModel
|
|
8
|
-
# @!attribute token
|
|
9
|
-
# Globally unique identifier for the financial account that holds this balance.
|
|
10
|
-
#
|
|
11
|
-
# @return [String]
|
|
12
|
-
required :token, String
|
|
13
|
-
|
|
14
|
-
# @!attribute available_amount
|
|
15
|
-
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
16
|
-
#
|
|
17
|
-
# @return [Integer]
|
|
18
|
-
required :available_amount, Integer
|
|
19
|
-
|
|
20
|
-
# @!attribute created
|
|
21
|
-
# Date and time for when the balance was first created.
|
|
22
|
-
#
|
|
23
|
-
# @return [Time]
|
|
24
|
-
required :created, Time
|
|
25
|
-
|
|
26
|
-
# @!attribute currency
|
|
27
|
-
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
28
|
-
#
|
|
29
|
-
# @return [String]
|
|
30
|
-
required :currency, String
|
|
31
|
-
|
|
32
|
-
# @!attribute last_transaction_event_token
|
|
33
|
-
# Globally unique identifier for the last financial transaction event that
|
|
34
|
-
# impacted this balance.
|
|
35
|
-
#
|
|
36
|
-
# @return [String]
|
|
37
|
-
required :last_transaction_event_token, String
|
|
38
|
-
|
|
39
|
-
# @!attribute last_transaction_token
|
|
40
|
-
# Globally unique identifier for the last financial transaction that impacted this
|
|
41
|
-
# balance.
|
|
42
|
-
#
|
|
43
|
-
# @return [String]
|
|
44
|
-
required :last_transaction_token, String
|
|
45
|
-
|
|
46
|
-
# @!attribute pending_amount
|
|
47
|
-
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
48
|
-
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
49
|
-
#
|
|
50
|
-
# @return [Integer]
|
|
51
|
-
required :pending_amount, Integer
|
|
52
|
-
|
|
53
|
-
# @!attribute total_amount
|
|
54
|
-
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
55
|
-
# cents for USD).
|
|
56
|
-
#
|
|
57
|
-
# @return [Integer]
|
|
58
|
-
required :total_amount, Integer
|
|
59
|
-
|
|
60
|
-
# @!attribute type
|
|
61
|
-
# Type of financial account.
|
|
62
|
-
#
|
|
63
|
-
# @return [Symbol, Lithic::Models::FinancialAccounts::BalanceListResponse::Type]
|
|
64
|
-
required :type, enum: -> { Lithic::Models::FinancialAccounts::BalanceListResponse::Type }
|
|
65
|
-
|
|
66
|
-
# @!attribute updated
|
|
67
|
-
# Date and time for when the balance was last updated.
|
|
68
|
-
#
|
|
69
|
-
# @return [Time]
|
|
70
|
-
required :updated, Time
|
|
71
|
-
|
|
72
|
-
# @!method initialize(token:, available_amount:, created:, currency:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, type:, updated:)
|
|
73
|
-
# Some parameter documentations has been truncated, see
|
|
74
|
-
# {Lithic::Models::FinancialAccounts::BalanceListResponse} for more details.
|
|
75
|
-
#
|
|
76
|
-
# Balance of a Financial Account
|
|
77
|
-
#
|
|
78
|
-
# @param token [String] Globally unique identifier for the financial account that holds this balance.
|
|
79
|
-
#
|
|
80
|
-
# @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
81
|
-
#
|
|
82
|
-
# @param created [Time] Date and time for when the balance was first created.
|
|
83
|
-
#
|
|
84
|
-
# @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
85
|
-
#
|
|
86
|
-
# @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
|
|
87
|
-
#
|
|
88
|
-
# @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
|
|
89
|
-
#
|
|
90
|
-
# @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
|
|
91
|
-
#
|
|
92
|
-
# @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
93
|
-
#
|
|
94
|
-
# @param type [Symbol, Lithic::Models::FinancialAccounts::BalanceListResponse::Type] Type of financial account.
|
|
95
|
-
#
|
|
96
|
-
# @param updated [Time] Date and time for when the balance was last updated.
|
|
97
|
-
|
|
98
|
-
# Type of financial account.
|
|
99
|
-
#
|
|
100
|
-
# @see Lithic::Models::FinancialAccounts::BalanceListResponse#type
|
|
101
|
-
module Type
|
|
102
|
-
extend Lithic::Internal::Type::Enum
|
|
103
|
-
|
|
104
|
-
ISSUING = :ISSUING
|
|
105
|
-
OPERATING = :OPERATING
|
|
106
|
-
RESERVE = :RESERVE
|
|
107
|
-
SECURITY = :SECURITY
|
|
108
|
-
|
|
109
|
-
# @!method self.values
|
|
110
|
-
# @return [Array<Symbol>]
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
end
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
# @see Lithic::Resources::FundingEvents#list
|
|
6
|
-
class FundingEventListResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute token
|
|
8
|
-
# Unique token ID
|
|
9
|
-
#
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :token, String
|
|
12
|
-
|
|
13
|
-
# @!attribute collection_resource_type
|
|
14
|
-
# Collection resource type
|
|
15
|
-
#
|
|
16
|
-
# @return [Symbol, Lithic::Models::FundingEventListResponse::CollectionResourceType]
|
|
17
|
-
required :collection_resource_type,
|
|
18
|
-
enum: -> { Lithic::Models::FundingEventListResponse::CollectionResourceType }
|
|
19
|
-
|
|
20
|
-
# @!attribute collection_tokens
|
|
21
|
-
# IDs of collections, further information can be gathered from the appropriate
|
|
22
|
-
# collection API based on collection_resource_type
|
|
23
|
-
#
|
|
24
|
-
# @return [Array<String>]
|
|
25
|
-
required :collection_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
26
|
-
|
|
27
|
-
# @!attribute created
|
|
28
|
-
# Time of the creation
|
|
29
|
-
#
|
|
30
|
-
# @return [Time]
|
|
31
|
-
required :created, Time
|
|
32
|
-
|
|
33
|
-
# @!attribute high_watermark
|
|
34
|
-
# Time of the high watermark
|
|
35
|
-
#
|
|
36
|
-
# @return [Time]
|
|
37
|
-
required :high_watermark, Time
|
|
38
|
-
|
|
39
|
-
# @!attribute network_settlement_summary
|
|
40
|
-
# Network settlement summary breakdown by network settlement date
|
|
41
|
-
#
|
|
42
|
-
# @return [Array<Lithic::Models::FundingEventListResponse::NetworkSettlementSummary>]
|
|
43
|
-
required :network_settlement_summary,
|
|
44
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary] }
|
|
45
|
-
|
|
46
|
-
# @!attribute previous_high_watermark
|
|
47
|
-
# Time of the previous high watermark
|
|
48
|
-
#
|
|
49
|
-
# @return [Time]
|
|
50
|
-
required :previous_high_watermark, Time
|
|
51
|
-
|
|
52
|
-
# @!attribute updated
|
|
53
|
-
# Time of the update
|
|
54
|
-
#
|
|
55
|
-
# @return [Time]
|
|
56
|
-
required :updated, Time
|
|
57
|
-
|
|
58
|
-
# @!method initialize(token:, collection_resource_type:, collection_tokens:, created:, high_watermark:, network_settlement_summary:, previous_high_watermark:, updated:)
|
|
59
|
-
# Some parameter documentations has been truncated, see
|
|
60
|
-
# {Lithic::Models::FundingEventListResponse} for more details.
|
|
61
|
-
#
|
|
62
|
-
# @param token [String] Unique token ID
|
|
63
|
-
#
|
|
64
|
-
# @param collection_resource_type [Symbol, Lithic::Models::FundingEventListResponse::CollectionResourceType] Collection resource type
|
|
65
|
-
#
|
|
66
|
-
# @param collection_tokens [Array<String>] IDs of collections, further information can be gathered from the appropriate col
|
|
67
|
-
#
|
|
68
|
-
# @param created [Time] Time of the creation
|
|
69
|
-
#
|
|
70
|
-
# @param high_watermark [Time] Time of the high watermark
|
|
71
|
-
#
|
|
72
|
-
# @param network_settlement_summary [Array<Lithic::Models::FundingEventListResponse::NetworkSettlementSummary>] Network settlement summary breakdown by network settlement date
|
|
73
|
-
#
|
|
74
|
-
# @param previous_high_watermark [Time] Time of the previous high watermark
|
|
75
|
-
#
|
|
76
|
-
# @param updated [Time] Time of the update
|
|
77
|
-
|
|
78
|
-
# Collection resource type
|
|
79
|
-
#
|
|
80
|
-
# @see Lithic::Models::FundingEventListResponse#collection_resource_type
|
|
81
|
-
module CollectionResourceType
|
|
82
|
-
extend Lithic::Internal::Type::Enum
|
|
83
|
-
|
|
84
|
-
BOOK_TRANSFER = :BOOK_TRANSFER
|
|
85
|
-
PAYMENT = :PAYMENT
|
|
86
|
-
|
|
87
|
-
# @!method self.values
|
|
88
|
-
# @return [Array<Symbol>]
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
|
92
|
-
# @!attribute network_settlement_date
|
|
93
|
-
#
|
|
94
|
-
# @return [Date]
|
|
95
|
-
required :network_settlement_date, Date
|
|
96
|
-
|
|
97
|
-
# @!attribute settled_gross_amount
|
|
98
|
-
#
|
|
99
|
-
# @return [Integer]
|
|
100
|
-
required :settled_gross_amount, Integer
|
|
101
|
-
|
|
102
|
-
# @!method initialize(network_settlement_date:, settled_gross_amount:)
|
|
103
|
-
# @param network_settlement_date [Date]
|
|
104
|
-
# @param settled_gross_amount [Integer]
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
end
|
|
108
|
-
end
|