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,174 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
module FinancialAccounts
|
|
6
|
-
class BalanceListResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
-
OrHash =
|
|
8
|
-
T.type_alias do
|
|
9
|
-
T.any(
|
|
10
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse,
|
|
11
|
-
Lithic::Internal::AnyHash
|
|
12
|
-
)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
# Globally unique identifier for the financial account that holds this balance.
|
|
16
|
-
sig { returns(String) }
|
|
17
|
-
attr_accessor :token
|
|
18
|
-
|
|
19
|
-
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
20
|
-
sig { returns(Integer) }
|
|
21
|
-
attr_accessor :available_amount
|
|
22
|
-
|
|
23
|
-
# Date and time for when the balance was first created.
|
|
24
|
-
sig { returns(Time) }
|
|
25
|
-
attr_accessor :created
|
|
26
|
-
|
|
27
|
-
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
28
|
-
sig { returns(String) }
|
|
29
|
-
attr_accessor :currency
|
|
30
|
-
|
|
31
|
-
# Globally unique identifier for the last financial transaction event that
|
|
32
|
-
# impacted this balance.
|
|
33
|
-
sig { returns(String) }
|
|
34
|
-
attr_accessor :last_transaction_event_token
|
|
35
|
-
|
|
36
|
-
# Globally unique identifier for the last financial transaction that impacted this
|
|
37
|
-
# balance.
|
|
38
|
-
sig { returns(String) }
|
|
39
|
-
attr_accessor :last_transaction_token
|
|
40
|
-
|
|
41
|
-
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
42
|
-
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
43
|
-
sig { returns(Integer) }
|
|
44
|
-
attr_accessor :pending_amount
|
|
45
|
-
|
|
46
|
-
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
47
|
-
# cents for USD).
|
|
48
|
-
sig { returns(Integer) }
|
|
49
|
-
attr_accessor :total_amount
|
|
50
|
-
|
|
51
|
-
# Type of financial account.
|
|
52
|
-
sig do
|
|
53
|
-
returns(
|
|
54
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
55
|
-
)
|
|
56
|
-
end
|
|
57
|
-
attr_accessor :type
|
|
58
|
-
|
|
59
|
-
# Date and time for when the balance was last updated.
|
|
60
|
-
sig { returns(Time) }
|
|
61
|
-
attr_accessor :updated
|
|
62
|
-
|
|
63
|
-
# Balance of a Financial Account
|
|
64
|
-
sig do
|
|
65
|
-
params(
|
|
66
|
-
token: String,
|
|
67
|
-
available_amount: Integer,
|
|
68
|
-
created: Time,
|
|
69
|
-
currency: String,
|
|
70
|
-
last_transaction_event_token: String,
|
|
71
|
-
last_transaction_token: String,
|
|
72
|
-
pending_amount: Integer,
|
|
73
|
-
total_amount: Integer,
|
|
74
|
-
type:
|
|
75
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::OrSymbol,
|
|
76
|
-
updated: Time
|
|
77
|
-
).returns(T.attached_class)
|
|
78
|
-
end
|
|
79
|
-
def self.new(
|
|
80
|
-
# Globally unique identifier for the financial account that holds this balance.
|
|
81
|
-
token:,
|
|
82
|
-
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
83
|
-
available_amount:,
|
|
84
|
-
# Date and time for when the balance was first created.
|
|
85
|
-
created:,
|
|
86
|
-
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
87
|
-
currency:,
|
|
88
|
-
# Globally unique identifier for the last financial transaction event that
|
|
89
|
-
# impacted this balance.
|
|
90
|
-
last_transaction_event_token:,
|
|
91
|
-
# Globally unique identifier for the last financial transaction that impacted this
|
|
92
|
-
# balance.
|
|
93
|
-
last_transaction_token:,
|
|
94
|
-
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
95
|
-
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
96
|
-
pending_amount:,
|
|
97
|
-
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
98
|
-
# cents for USD).
|
|
99
|
-
total_amount:,
|
|
100
|
-
# Type of financial account.
|
|
101
|
-
type:,
|
|
102
|
-
# Date and time for when the balance was last updated.
|
|
103
|
-
updated:
|
|
104
|
-
)
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
sig do
|
|
108
|
-
override.returns(
|
|
109
|
-
{
|
|
110
|
-
token: String,
|
|
111
|
-
available_amount: Integer,
|
|
112
|
-
created: Time,
|
|
113
|
-
currency: String,
|
|
114
|
-
last_transaction_event_token: String,
|
|
115
|
-
last_transaction_token: String,
|
|
116
|
-
pending_amount: Integer,
|
|
117
|
-
total_amount: Integer,
|
|
118
|
-
type:
|
|
119
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol,
|
|
120
|
-
updated: Time
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
end
|
|
124
|
-
def to_hash
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
# Type of financial account.
|
|
128
|
-
module Type
|
|
129
|
-
extend Lithic::Internal::Type::Enum
|
|
130
|
-
|
|
131
|
-
TaggedSymbol =
|
|
132
|
-
T.type_alias do
|
|
133
|
-
T.all(
|
|
134
|
-
Symbol,
|
|
135
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type
|
|
136
|
-
)
|
|
137
|
-
end
|
|
138
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
139
|
-
|
|
140
|
-
ISSUING =
|
|
141
|
-
T.let(
|
|
142
|
-
:ISSUING,
|
|
143
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
144
|
-
)
|
|
145
|
-
OPERATING =
|
|
146
|
-
T.let(
|
|
147
|
-
:OPERATING,
|
|
148
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
149
|
-
)
|
|
150
|
-
RESERVE =
|
|
151
|
-
T.let(
|
|
152
|
-
:RESERVE,
|
|
153
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
154
|
-
)
|
|
155
|
-
SECURITY =
|
|
156
|
-
T.let(
|
|
157
|
-
:SECURITY,
|
|
158
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
159
|
-
)
|
|
160
|
-
|
|
161
|
-
sig do
|
|
162
|
-
override.returns(
|
|
163
|
-
T::Array[
|
|
164
|
-
Lithic::Models::FinancialAccounts::BalanceListResponse::Type::TaggedSymbol
|
|
165
|
-
]
|
|
166
|
-
)
|
|
167
|
-
end
|
|
168
|
-
def self.values
|
|
169
|
-
end
|
|
170
|
-
end
|
|
171
|
-
end
|
|
172
|
-
end
|
|
173
|
-
end
|
|
174
|
-
end
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
class FundingEventRetrieveResponse < Lithic::Internal::Type::BaseModel
|
|
6
|
-
OrHash =
|
|
7
|
-
T.type_alias do
|
|
8
|
-
T.any(
|
|
9
|
-
Lithic::Models::FundingEventRetrieveResponse,
|
|
10
|
-
Lithic::Internal::AnyHash
|
|
11
|
-
)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# Unique token ID
|
|
15
|
-
sig { returns(String) }
|
|
16
|
-
attr_accessor :token
|
|
17
|
-
|
|
18
|
-
# Collection resource type
|
|
19
|
-
sig do
|
|
20
|
-
returns(
|
|
21
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::TaggedSymbol
|
|
22
|
-
)
|
|
23
|
-
end
|
|
24
|
-
attr_accessor :collection_resource_type
|
|
25
|
-
|
|
26
|
-
# IDs of collections, further information can be gathered from the appropriate
|
|
27
|
-
# collection API based on collection_resource_type
|
|
28
|
-
sig { returns(T::Array[String]) }
|
|
29
|
-
attr_accessor :collection_tokens
|
|
30
|
-
|
|
31
|
-
# Time of the creation
|
|
32
|
-
sig { returns(Time) }
|
|
33
|
-
attr_accessor :created
|
|
34
|
-
|
|
35
|
-
# Time of the high watermark
|
|
36
|
-
sig { returns(Time) }
|
|
37
|
-
attr_accessor :high_watermark
|
|
38
|
-
|
|
39
|
-
# Network settlement summary breakdown by network settlement date
|
|
40
|
-
sig do
|
|
41
|
-
returns(
|
|
42
|
-
T::Array[
|
|
43
|
-
Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary
|
|
44
|
-
]
|
|
45
|
-
)
|
|
46
|
-
end
|
|
47
|
-
attr_accessor :network_settlement_summary
|
|
48
|
-
|
|
49
|
-
# Time of the previous high watermark
|
|
50
|
-
sig { returns(Time) }
|
|
51
|
-
attr_accessor :previous_high_watermark
|
|
52
|
-
|
|
53
|
-
# Time of the update
|
|
54
|
-
sig { returns(Time) }
|
|
55
|
-
attr_accessor :updated
|
|
56
|
-
|
|
57
|
-
sig do
|
|
58
|
-
params(
|
|
59
|
-
token: String,
|
|
60
|
-
collection_resource_type:
|
|
61
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::OrSymbol,
|
|
62
|
-
collection_tokens: T::Array[String],
|
|
63
|
-
created: Time,
|
|
64
|
-
high_watermark: Time,
|
|
65
|
-
network_settlement_summary:
|
|
66
|
-
T::Array[
|
|
67
|
-
Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary::OrHash
|
|
68
|
-
],
|
|
69
|
-
previous_high_watermark: Time,
|
|
70
|
-
updated: Time
|
|
71
|
-
).returns(T.attached_class)
|
|
72
|
-
end
|
|
73
|
-
def self.new(
|
|
74
|
-
# Unique token ID
|
|
75
|
-
token:,
|
|
76
|
-
# Collection resource type
|
|
77
|
-
collection_resource_type:,
|
|
78
|
-
# IDs of collections, further information can be gathered from the appropriate
|
|
79
|
-
# collection API based on collection_resource_type
|
|
80
|
-
collection_tokens:,
|
|
81
|
-
# Time of the creation
|
|
82
|
-
created:,
|
|
83
|
-
# Time of the high watermark
|
|
84
|
-
high_watermark:,
|
|
85
|
-
# Network settlement summary breakdown by network settlement date
|
|
86
|
-
network_settlement_summary:,
|
|
87
|
-
# Time of the previous high watermark
|
|
88
|
-
previous_high_watermark:,
|
|
89
|
-
# Time of the update
|
|
90
|
-
updated:
|
|
91
|
-
)
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
sig do
|
|
95
|
-
override.returns(
|
|
96
|
-
{
|
|
97
|
-
token: String,
|
|
98
|
-
collection_resource_type:
|
|
99
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::TaggedSymbol,
|
|
100
|
-
collection_tokens: T::Array[String],
|
|
101
|
-
created: Time,
|
|
102
|
-
high_watermark: Time,
|
|
103
|
-
network_settlement_summary:
|
|
104
|
-
T::Array[
|
|
105
|
-
Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary
|
|
106
|
-
],
|
|
107
|
-
previous_high_watermark: Time,
|
|
108
|
-
updated: Time
|
|
109
|
-
}
|
|
110
|
-
)
|
|
111
|
-
end
|
|
112
|
-
def to_hash
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
# Collection resource type
|
|
116
|
-
module CollectionResourceType
|
|
117
|
-
extend Lithic::Internal::Type::Enum
|
|
118
|
-
|
|
119
|
-
TaggedSymbol =
|
|
120
|
-
T.type_alias do
|
|
121
|
-
T.all(
|
|
122
|
-
Symbol,
|
|
123
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType
|
|
124
|
-
)
|
|
125
|
-
end
|
|
126
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
127
|
-
|
|
128
|
-
BOOK_TRANSFER =
|
|
129
|
-
T.let(
|
|
130
|
-
:BOOK_TRANSFER,
|
|
131
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::TaggedSymbol
|
|
132
|
-
)
|
|
133
|
-
PAYMENT =
|
|
134
|
-
T.let(
|
|
135
|
-
:PAYMENT,
|
|
136
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::TaggedSymbol
|
|
137
|
-
)
|
|
138
|
-
|
|
139
|
-
sig do
|
|
140
|
-
override.returns(
|
|
141
|
-
T::Array[
|
|
142
|
-
Lithic::Models::FundingEventRetrieveResponse::CollectionResourceType::TaggedSymbol
|
|
143
|
-
]
|
|
144
|
-
)
|
|
145
|
-
end
|
|
146
|
-
def self.values
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
|
151
|
-
OrHash =
|
|
152
|
-
T.type_alias do
|
|
153
|
-
T.any(
|
|
154
|
-
Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary,
|
|
155
|
-
Lithic::Internal::AnyHash
|
|
156
|
-
)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
sig { returns(Date) }
|
|
160
|
-
attr_accessor :network_settlement_date
|
|
161
|
-
|
|
162
|
-
sig { returns(Integer) }
|
|
163
|
-
attr_accessor :settled_gross_amount
|
|
164
|
-
|
|
165
|
-
sig do
|
|
166
|
-
params(
|
|
167
|
-
network_settlement_date: Date,
|
|
168
|
-
settled_gross_amount: Integer
|
|
169
|
-
).returns(T.attached_class)
|
|
170
|
-
end
|
|
171
|
-
def self.new(network_settlement_date:, settled_gross_amount:)
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
sig do
|
|
175
|
-
override.returns(
|
|
176
|
-
{ network_settlement_date: Date, settled_gross_amount: Integer }
|
|
177
|
-
)
|
|
178
|
-
end
|
|
179
|
-
def to_hash
|
|
180
|
-
end
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
end
|
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
module Reports
|
|
6
|
-
module Settlement
|
|
7
|
-
class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
|
|
8
|
-
OrHash =
|
|
9
|
-
T.type_alias do
|
|
10
|
-
T.any(
|
|
11
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse,
|
|
12
|
-
Lithic::Internal::AnyHash
|
|
13
|
-
)
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
# Globally unique identifier.
|
|
17
|
-
sig { returns(String) }
|
|
18
|
-
attr_accessor :token
|
|
19
|
-
|
|
20
|
-
sig do
|
|
21
|
-
returns(
|
|
22
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts
|
|
23
|
-
)
|
|
24
|
-
end
|
|
25
|
-
attr_reader :amounts
|
|
26
|
-
|
|
27
|
-
sig do
|
|
28
|
-
params(
|
|
29
|
-
amounts:
|
|
30
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts::OrHash
|
|
31
|
-
).void
|
|
32
|
-
end
|
|
33
|
-
attr_writer :amounts
|
|
34
|
-
|
|
35
|
-
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
|
36
|
-
sig { returns(Time) }
|
|
37
|
-
attr_accessor :created
|
|
38
|
-
|
|
39
|
-
# 3-character alphabetic ISO 4217 code.
|
|
40
|
-
sig { returns(String) }
|
|
41
|
-
attr_accessor :currency
|
|
42
|
-
|
|
43
|
-
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
|
44
|
-
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
|
45
|
-
# (Settlement Reporting Entity).
|
|
46
|
-
sig { returns(String) }
|
|
47
|
-
attr_accessor :institution_id
|
|
48
|
-
|
|
49
|
-
# Indicates that all settlement records related to this Network Total are
|
|
50
|
-
# available in the details endpoint.
|
|
51
|
-
sig { returns(T::Boolean) }
|
|
52
|
-
attr_accessor :is_complete
|
|
53
|
-
|
|
54
|
-
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
55
|
-
# or INTERLINK.
|
|
56
|
-
sig do
|
|
57
|
-
returns(
|
|
58
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
59
|
-
)
|
|
60
|
-
end
|
|
61
|
-
attr_accessor :network
|
|
62
|
-
|
|
63
|
-
# Date that the network total record applies to. YYYY-MM-DD format.
|
|
64
|
-
sig { returns(Date) }
|
|
65
|
-
attr_accessor :report_date
|
|
66
|
-
|
|
67
|
-
# The institution responsible for settlement. For Mastercard: same as
|
|
68
|
-
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
|
69
|
-
# (FTSRE).
|
|
70
|
-
sig { returns(String) }
|
|
71
|
-
attr_accessor :settlement_institution_id
|
|
72
|
-
|
|
73
|
-
# Settlement service.
|
|
74
|
-
sig { returns(String) }
|
|
75
|
-
attr_accessor :settlement_service
|
|
76
|
-
|
|
77
|
-
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
|
78
|
-
sig { returns(Time) }
|
|
79
|
-
attr_accessor :updated
|
|
80
|
-
|
|
81
|
-
# The clearing cycle that the network total record applies to. Mastercard only.
|
|
82
|
-
sig { returns(T.nilable(Integer)) }
|
|
83
|
-
attr_reader :cycle
|
|
84
|
-
|
|
85
|
-
sig { params(cycle: Integer).void }
|
|
86
|
-
attr_writer :cycle
|
|
87
|
-
|
|
88
|
-
sig do
|
|
89
|
-
params(
|
|
90
|
-
token: String,
|
|
91
|
-
amounts:
|
|
92
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts::OrHash,
|
|
93
|
-
created: Time,
|
|
94
|
-
currency: String,
|
|
95
|
-
institution_id: String,
|
|
96
|
-
is_complete: T::Boolean,
|
|
97
|
-
network:
|
|
98
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::OrSymbol,
|
|
99
|
-
report_date: Date,
|
|
100
|
-
settlement_institution_id: String,
|
|
101
|
-
settlement_service: String,
|
|
102
|
-
updated: Time,
|
|
103
|
-
cycle: Integer
|
|
104
|
-
).returns(T.attached_class)
|
|
105
|
-
end
|
|
106
|
-
def self.new(
|
|
107
|
-
# Globally unique identifier.
|
|
108
|
-
token:,
|
|
109
|
-
amounts:,
|
|
110
|
-
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
|
111
|
-
created:,
|
|
112
|
-
# 3-character alphabetic ISO 4217 code.
|
|
113
|
-
currency:,
|
|
114
|
-
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
|
115
|
-
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
|
116
|
-
# (Settlement Reporting Entity).
|
|
117
|
-
institution_id:,
|
|
118
|
-
# Indicates that all settlement records related to this Network Total are
|
|
119
|
-
# available in the details endpoint.
|
|
120
|
-
is_complete:,
|
|
121
|
-
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
122
|
-
# or INTERLINK.
|
|
123
|
-
network:,
|
|
124
|
-
# Date that the network total record applies to. YYYY-MM-DD format.
|
|
125
|
-
report_date:,
|
|
126
|
-
# The institution responsible for settlement. For Mastercard: same as
|
|
127
|
-
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
|
128
|
-
# (FTSRE).
|
|
129
|
-
settlement_institution_id:,
|
|
130
|
-
# Settlement service.
|
|
131
|
-
settlement_service:,
|
|
132
|
-
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
|
133
|
-
updated:,
|
|
134
|
-
# The clearing cycle that the network total record applies to. Mastercard only.
|
|
135
|
-
cycle: nil
|
|
136
|
-
)
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
sig do
|
|
140
|
-
override.returns(
|
|
141
|
-
{
|
|
142
|
-
token: String,
|
|
143
|
-
amounts:
|
|
144
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts,
|
|
145
|
-
created: Time,
|
|
146
|
-
currency: String,
|
|
147
|
-
institution_id: String,
|
|
148
|
-
is_complete: T::Boolean,
|
|
149
|
-
network:
|
|
150
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol,
|
|
151
|
-
report_date: Date,
|
|
152
|
-
settlement_institution_id: String,
|
|
153
|
-
settlement_service: String,
|
|
154
|
-
updated: Time,
|
|
155
|
-
cycle: Integer
|
|
156
|
-
}
|
|
157
|
-
)
|
|
158
|
-
end
|
|
159
|
-
def to_hash
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
class Amounts < Lithic::Internal::Type::BaseModel
|
|
163
|
-
OrHash =
|
|
164
|
-
T.type_alias do
|
|
165
|
-
T.any(
|
|
166
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts,
|
|
167
|
-
Lithic::Internal::AnyHash
|
|
168
|
-
)
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
# Total settlement amount excluding interchange, in currency's smallest unit.
|
|
172
|
-
sig { returns(Integer) }
|
|
173
|
-
attr_accessor :gross_settlement
|
|
174
|
-
|
|
175
|
-
# Interchange amount, in currency's smallest unit.
|
|
176
|
-
sig { returns(Integer) }
|
|
177
|
-
attr_accessor :interchange_fees
|
|
178
|
-
|
|
179
|
-
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
|
180
|
-
# in currency's smallest unit.
|
|
181
|
-
sig { returns(Integer) }
|
|
182
|
-
attr_accessor :net_settlement
|
|
183
|
-
|
|
184
|
-
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
|
185
|
-
sig { returns(T.nilable(Integer)) }
|
|
186
|
-
attr_reader :visa_charges
|
|
187
|
-
|
|
188
|
-
sig { params(visa_charges: Integer).void }
|
|
189
|
-
attr_writer :visa_charges
|
|
190
|
-
|
|
191
|
-
sig do
|
|
192
|
-
params(
|
|
193
|
-
gross_settlement: Integer,
|
|
194
|
-
interchange_fees: Integer,
|
|
195
|
-
net_settlement: Integer,
|
|
196
|
-
visa_charges: Integer
|
|
197
|
-
).returns(T.attached_class)
|
|
198
|
-
end
|
|
199
|
-
def self.new(
|
|
200
|
-
# Total settlement amount excluding interchange, in currency's smallest unit.
|
|
201
|
-
gross_settlement:,
|
|
202
|
-
# Interchange amount, in currency's smallest unit.
|
|
203
|
-
interchange_fees:,
|
|
204
|
-
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
|
205
|
-
# in currency's smallest unit.
|
|
206
|
-
net_settlement:,
|
|
207
|
-
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
|
208
|
-
visa_charges: nil
|
|
209
|
-
)
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
sig do
|
|
213
|
-
override.returns(
|
|
214
|
-
{
|
|
215
|
-
gross_settlement: Integer,
|
|
216
|
-
interchange_fees: Integer,
|
|
217
|
-
net_settlement: Integer,
|
|
218
|
-
visa_charges: Integer
|
|
219
|
-
}
|
|
220
|
-
)
|
|
221
|
-
end
|
|
222
|
-
def to_hash
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
227
|
-
# or INTERLINK.
|
|
228
|
-
module Network
|
|
229
|
-
extend Lithic::Internal::Type::Enum
|
|
230
|
-
|
|
231
|
-
TaggedSymbol =
|
|
232
|
-
T.type_alias do
|
|
233
|
-
T.all(
|
|
234
|
-
Symbol,
|
|
235
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network
|
|
236
|
-
)
|
|
237
|
-
end
|
|
238
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
239
|
-
|
|
240
|
-
AMEX =
|
|
241
|
-
T.let(
|
|
242
|
-
:AMEX,
|
|
243
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
244
|
-
)
|
|
245
|
-
VISA =
|
|
246
|
-
T.let(
|
|
247
|
-
:VISA,
|
|
248
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
249
|
-
)
|
|
250
|
-
MASTERCARD =
|
|
251
|
-
T.let(
|
|
252
|
-
:MASTERCARD,
|
|
253
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
254
|
-
)
|
|
255
|
-
MAESTRO =
|
|
256
|
-
T.let(
|
|
257
|
-
:MAESTRO,
|
|
258
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
259
|
-
)
|
|
260
|
-
INTERLINK =
|
|
261
|
-
T.let(
|
|
262
|
-
:INTERLINK,
|
|
263
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
264
|
-
)
|
|
265
|
-
|
|
266
|
-
sig do
|
|
267
|
-
override.returns(
|
|
268
|
-
T::Array[
|
|
269
|
-
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
|
270
|
-
]
|
|
271
|
-
)
|
|
272
|
-
end
|
|
273
|
-
def self.values
|
|
274
|
-
end
|
|
275
|
-
end
|
|
276
|
-
end
|
|
277
|
-
end
|
|
278
|
-
end
|
|
279
|
-
end
|
|
280
|
-
end
|