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
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class NetworkTotal < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias { T.any(Lithic::NetworkTotal, Lithic::Internal::AnyHash) }
|
|
8
|
+
|
|
9
|
+
# Globally unique identifier.
|
|
10
|
+
sig { returns(String) }
|
|
11
|
+
attr_accessor :token
|
|
12
|
+
|
|
13
|
+
sig { returns(Lithic::NetworkTotal::Amounts) }
|
|
14
|
+
attr_reader :amounts
|
|
15
|
+
|
|
16
|
+
sig { params(amounts: Lithic::NetworkTotal::Amounts::OrHash).void }
|
|
17
|
+
attr_writer :amounts
|
|
18
|
+
|
|
19
|
+
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
|
20
|
+
sig { returns(Time) }
|
|
21
|
+
attr_accessor :created
|
|
22
|
+
|
|
23
|
+
# 3-character alphabetic ISO 4217 code.
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
attr_accessor :currency
|
|
26
|
+
|
|
27
|
+
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
|
28
|
+
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
|
29
|
+
# (Settlement Reporting Entity).
|
|
30
|
+
sig { returns(String) }
|
|
31
|
+
attr_accessor :institution_id
|
|
32
|
+
|
|
33
|
+
# Indicates that all settlement records related to this Network Total are
|
|
34
|
+
# available in the details endpoint.
|
|
35
|
+
sig { returns(T::Boolean) }
|
|
36
|
+
attr_accessor :is_complete
|
|
37
|
+
|
|
38
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
39
|
+
# or INTERLINK.
|
|
40
|
+
sig { returns(Lithic::NetworkTotal::Network::TaggedSymbol) }
|
|
41
|
+
attr_accessor :network
|
|
42
|
+
|
|
43
|
+
# Date that the network total record applies to. YYYY-MM-DD format.
|
|
44
|
+
sig { returns(Date) }
|
|
45
|
+
attr_accessor :report_date
|
|
46
|
+
|
|
47
|
+
# The institution responsible for settlement. For Mastercard: same as
|
|
48
|
+
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
|
49
|
+
# (FTSRE).
|
|
50
|
+
sig { returns(String) }
|
|
51
|
+
attr_accessor :settlement_institution_id
|
|
52
|
+
|
|
53
|
+
# Settlement service.
|
|
54
|
+
sig { returns(String) }
|
|
55
|
+
attr_accessor :settlement_service
|
|
56
|
+
|
|
57
|
+
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
|
58
|
+
sig { returns(Time) }
|
|
59
|
+
attr_accessor :updated
|
|
60
|
+
|
|
61
|
+
# The clearing cycle that the network total record applies to. Mastercard only.
|
|
62
|
+
sig { returns(T.nilable(Integer)) }
|
|
63
|
+
attr_reader :cycle
|
|
64
|
+
|
|
65
|
+
sig { params(cycle: Integer).void }
|
|
66
|
+
attr_writer :cycle
|
|
67
|
+
|
|
68
|
+
sig do
|
|
69
|
+
params(
|
|
70
|
+
token: String,
|
|
71
|
+
amounts: Lithic::NetworkTotal::Amounts::OrHash,
|
|
72
|
+
created: Time,
|
|
73
|
+
currency: String,
|
|
74
|
+
institution_id: String,
|
|
75
|
+
is_complete: T::Boolean,
|
|
76
|
+
network: Lithic::NetworkTotal::Network::OrSymbol,
|
|
77
|
+
report_date: Date,
|
|
78
|
+
settlement_institution_id: String,
|
|
79
|
+
settlement_service: String,
|
|
80
|
+
updated: Time,
|
|
81
|
+
cycle: Integer
|
|
82
|
+
).returns(T.attached_class)
|
|
83
|
+
end
|
|
84
|
+
def self.new(
|
|
85
|
+
# Globally unique identifier.
|
|
86
|
+
token:,
|
|
87
|
+
amounts:,
|
|
88
|
+
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
|
89
|
+
created:,
|
|
90
|
+
# 3-character alphabetic ISO 4217 code.
|
|
91
|
+
currency:,
|
|
92
|
+
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
|
93
|
+
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
|
94
|
+
# (Settlement Reporting Entity).
|
|
95
|
+
institution_id:,
|
|
96
|
+
# Indicates that all settlement records related to this Network Total are
|
|
97
|
+
# available in the details endpoint.
|
|
98
|
+
is_complete:,
|
|
99
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
100
|
+
# or INTERLINK.
|
|
101
|
+
network:,
|
|
102
|
+
# Date that the network total record applies to. YYYY-MM-DD format.
|
|
103
|
+
report_date:,
|
|
104
|
+
# The institution responsible for settlement. For Mastercard: same as
|
|
105
|
+
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
|
106
|
+
# (FTSRE).
|
|
107
|
+
settlement_institution_id:,
|
|
108
|
+
# Settlement service.
|
|
109
|
+
settlement_service:,
|
|
110
|
+
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
|
111
|
+
updated:,
|
|
112
|
+
# The clearing cycle that the network total record applies to. Mastercard only.
|
|
113
|
+
cycle: nil
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig do
|
|
118
|
+
override.returns(
|
|
119
|
+
{
|
|
120
|
+
token: String,
|
|
121
|
+
amounts: Lithic::NetworkTotal::Amounts,
|
|
122
|
+
created: Time,
|
|
123
|
+
currency: String,
|
|
124
|
+
institution_id: String,
|
|
125
|
+
is_complete: T::Boolean,
|
|
126
|
+
network: Lithic::NetworkTotal::Network::TaggedSymbol,
|
|
127
|
+
report_date: Date,
|
|
128
|
+
settlement_institution_id: String,
|
|
129
|
+
settlement_service: String,
|
|
130
|
+
updated: Time,
|
|
131
|
+
cycle: Integer
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
end
|
|
135
|
+
def to_hash
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class Amounts < Lithic::Internal::Type::BaseModel
|
|
139
|
+
OrHash =
|
|
140
|
+
T.type_alias do
|
|
141
|
+
T.any(Lithic::NetworkTotal::Amounts, Lithic::Internal::AnyHash)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Total settlement amount excluding interchange, in currency's smallest unit.
|
|
145
|
+
sig { returns(Integer) }
|
|
146
|
+
attr_accessor :gross_settlement
|
|
147
|
+
|
|
148
|
+
# Interchange amount, in currency's smallest unit.
|
|
149
|
+
sig { returns(Integer) }
|
|
150
|
+
attr_accessor :interchange_fees
|
|
151
|
+
|
|
152
|
+
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
|
153
|
+
# in currency's smallest unit.
|
|
154
|
+
sig { returns(Integer) }
|
|
155
|
+
attr_accessor :net_settlement
|
|
156
|
+
|
|
157
|
+
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
|
158
|
+
sig { returns(T.nilable(Integer)) }
|
|
159
|
+
attr_reader :visa_charges
|
|
160
|
+
|
|
161
|
+
sig { params(visa_charges: Integer).void }
|
|
162
|
+
attr_writer :visa_charges
|
|
163
|
+
|
|
164
|
+
sig do
|
|
165
|
+
params(
|
|
166
|
+
gross_settlement: Integer,
|
|
167
|
+
interchange_fees: Integer,
|
|
168
|
+
net_settlement: Integer,
|
|
169
|
+
visa_charges: Integer
|
|
170
|
+
).returns(T.attached_class)
|
|
171
|
+
end
|
|
172
|
+
def self.new(
|
|
173
|
+
# Total settlement amount excluding interchange, in currency's smallest unit.
|
|
174
|
+
gross_settlement:,
|
|
175
|
+
# Interchange amount, in currency's smallest unit.
|
|
176
|
+
interchange_fees:,
|
|
177
|
+
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
|
178
|
+
# in currency's smallest unit.
|
|
179
|
+
net_settlement:,
|
|
180
|
+
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
|
181
|
+
visa_charges: nil
|
|
182
|
+
)
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
sig do
|
|
186
|
+
override.returns(
|
|
187
|
+
{
|
|
188
|
+
gross_settlement: Integer,
|
|
189
|
+
interchange_fees: Integer,
|
|
190
|
+
net_settlement: Integer,
|
|
191
|
+
visa_charges: Integer
|
|
192
|
+
}
|
|
193
|
+
)
|
|
194
|
+
end
|
|
195
|
+
def to_hash
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
|
200
|
+
# or INTERLINK.
|
|
201
|
+
module Network
|
|
202
|
+
extend Lithic::Internal::Type::Enum
|
|
203
|
+
|
|
204
|
+
TaggedSymbol =
|
|
205
|
+
T.type_alias { T.all(Symbol, Lithic::NetworkTotal::Network) }
|
|
206
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
207
|
+
|
|
208
|
+
AMEX = T.let(:AMEX, Lithic::NetworkTotal::Network::TaggedSymbol)
|
|
209
|
+
VISA = T.let(:VISA, Lithic::NetworkTotal::Network::TaggedSymbol)
|
|
210
|
+
MASTERCARD =
|
|
211
|
+
T.let(:MASTERCARD, Lithic::NetworkTotal::Network::TaggedSymbol)
|
|
212
|
+
MAESTRO = T.let(:MAESTRO, Lithic::NetworkTotal::Network::TaggedSymbol)
|
|
213
|
+
INTERLINK =
|
|
214
|
+
T.let(:INTERLINK, Lithic::NetworkTotal::Network::TaggedSymbol)
|
|
215
|
+
|
|
216
|
+
sig do
|
|
217
|
+
override.returns(
|
|
218
|
+
T::Array[Lithic::NetworkTotal::Network::TaggedSymbol]
|
|
219
|
+
)
|
|
220
|
+
end
|
|
221
|
+
def self.values
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
end
|
|
@@ -99,6 +99,11 @@ module Lithic
|
|
|
99
99
|
sig { params(auth_rule_tokens: T::Array[String]).void }
|
|
100
100
|
attr_writer :auth_rule_tokens
|
|
101
101
|
|
|
102
|
+
# Globally unique identifier for the bulk order associated with this card. Only
|
|
103
|
+
# applicable to physical cards that are part of a bulk shipment
|
|
104
|
+
sig { returns(T.nilable(String)) }
|
|
105
|
+
attr_accessor :bulk_order_token
|
|
106
|
+
|
|
102
107
|
# 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
|
103
108
|
sig { returns(T.nilable(String)) }
|
|
104
109
|
attr_reader :cardholder_currency
|
|
@@ -220,6 +225,7 @@ module Lithic
|
|
|
220
225
|
state: Lithic::NonPCICard::State::OrSymbol,
|
|
221
226
|
type: Lithic::NonPCICard::Type::OrSymbol,
|
|
222
227
|
auth_rule_tokens: T::Array[String],
|
|
228
|
+
bulk_order_token: T.nilable(String),
|
|
223
229
|
cardholder_currency: String,
|
|
224
230
|
comment: String,
|
|
225
231
|
digital_card_art_token: String,
|
|
@@ -298,6 +304,9 @@ module Lithic
|
|
|
298
304
|
# key will be removed from the schema in a future release. Use the `/auth_rules`
|
|
299
305
|
# endpoints to fetch Auth Rule information instead.
|
|
300
306
|
auth_rule_tokens: nil,
|
|
307
|
+
# Globally unique identifier for the bulk order associated with this card. Only
|
|
308
|
+
# applicable to physical cards that are part of a bulk shipment
|
|
309
|
+
bulk_order_token: nil,
|
|
301
310
|
# 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
|
302
311
|
cardholder_currency: nil,
|
|
303
312
|
# Additional context or information related to the card.
|
|
@@ -368,6 +377,7 @@ module Lithic
|
|
|
368
377
|
state: Lithic::NonPCICard::State::TaggedSymbol,
|
|
369
378
|
type: Lithic::NonPCICard::Type::TaggedSymbol,
|
|
370
379
|
auth_rule_tokens: T::Array[String],
|
|
380
|
+
bulk_order_token: T.nilable(String),
|
|
371
381
|
cardholder_currency: String,
|
|
372
382
|
comment: String,
|
|
373
383
|
digital_card_art_token: String,
|
|
@@ -50,13 +50,14 @@ module Lithic
|
|
|
50
50
|
sig { returns(Integer) }
|
|
51
51
|
attr_accessor :pending_amount
|
|
52
52
|
|
|
53
|
-
#
|
|
54
|
-
sig { returns(Lithic::Payment::RelatedAccountTokens) }
|
|
53
|
+
# Account tokens related to a payment transaction
|
|
54
|
+
sig { returns(T.nilable(Lithic::Payment::RelatedAccountTokens)) }
|
|
55
55
|
attr_reader :related_account_tokens
|
|
56
56
|
|
|
57
57
|
sig do
|
|
58
58
|
params(
|
|
59
|
-
related_account_tokens:
|
|
59
|
+
related_account_tokens:
|
|
60
|
+
T.nilable(Lithic::Payment::RelatedAccountTokens::OrHash)
|
|
60
61
|
).void
|
|
61
62
|
end
|
|
62
63
|
attr_writer :related_account_tokens
|
|
@@ -123,7 +124,8 @@ module Lithic
|
|
|
123
124
|
Lithic::Payment::MethodAttributes::WireMethodAttributes::OrHash
|
|
124
125
|
),
|
|
125
126
|
pending_amount: Integer,
|
|
126
|
-
related_account_tokens:
|
|
127
|
+
related_account_tokens:
|
|
128
|
+
T.nilable(Lithic::Payment::RelatedAccountTokens::OrHash),
|
|
127
129
|
result: Lithic::Payment::Result::OrSymbol,
|
|
128
130
|
settled_amount: Integer,
|
|
129
131
|
source: Lithic::Payment::Source::OrSymbol,
|
|
@@ -158,7 +160,7 @@ module Lithic
|
|
|
158
160
|
method_attributes:,
|
|
159
161
|
# Pending amount in cents
|
|
160
162
|
pending_amount:,
|
|
161
|
-
#
|
|
163
|
+
# Account tokens related to a payment transaction
|
|
162
164
|
related_account_tokens:,
|
|
163
165
|
# Transaction result
|
|
164
166
|
result:,
|
|
@@ -198,7 +200,8 @@ module Lithic
|
|
|
198
200
|
method_: Lithic::Payment::Method::TaggedSymbol,
|
|
199
201
|
method_attributes: Lithic::Payment::MethodAttributes::Variants,
|
|
200
202
|
pending_amount: Integer,
|
|
201
|
-
related_account_tokens:
|
|
203
|
+
related_account_tokens:
|
|
204
|
+
T.nilable(Lithic::Payment::RelatedAccountTokens),
|
|
202
205
|
result: Lithic::Payment::Result::TaggedSymbol,
|
|
203
206
|
settled_amount: Integer,
|
|
204
207
|
source: Lithic::Payment::Source::TaggedSymbol,
|
|
@@ -236,6 +239,10 @@ module Lithic
|
|
|
236
239
|
T.let(:EXTERNAL_ACH, Lithic::Payment::Category::TaggedSymbol)
|
|
237
240
|
EXTERNAL_CHECK =
|
|
238
241
|
T.let(:EXTERNAL_CHECK, Lithic::Payment::Category::TaggedSymbol)
|
|
242
|
+
EXTERNAL_FEDNOW =
|
|
243
|
+
T.let(:EXTERNAL_FEDNOW, Lithic::Payment::Category::TaggedSymbol)
|
|
244
|
+
EXTERNAL_RTP =
|
|
245
|
+
T.let(:EXTERNAL_RTP, Lithic::Payment::Category::TaggedSymbol)
|
|
239
246
|
EXTERNAL_TRANSFER =
|
|
240
247
|
T.let(:EXTERNAL_TRANSFER, Lithic::Payment::Category::TaggedSymbol)
|
|
241
248
|
EXTERNAL_WIRE =
|
|
@@ -567,6 +574,11 @@ module Lithic
|
|
|
567
574
|
:APPROVED,
|
|
568
575
|
Lithic::Payment::Event::DetailedResult::TaggedSymbol
|
|
569
576
|
)
|
|
577
|
+
DECLINED =
|
|
578
|
+
T.let(
|
|
579
|
+
:DECLINED,
|
|
580
|
+
Lithic::Payment::Event::DetailedResult::TaggedSymbol
|
|
581
|
+
)
|
|
570
582
|
FUNDS_INSUFFICIENT =
|
|
571
583
|
T.let(
|
|
572
584
|
:FUNDS_INSUFFICIENT,
|
|
@@ -652,6 +664,10 @@ module Lithic
|
|
|
652
664
|
end
|
|
653
665
|
attr_accessor :sec_code
|
|
654
666
|
|
|
667
|
+
# Number of days the ACH transaction is on hold
|
|
668
|
+
sig { returns(T.nilable(Integer)) }
|
|
669
|
+
attr_accessor :ach_hold_period
|
|
670
|
+
|
|
655
671
|
# Addenda information
|
|
656
672
|
sig { returns(T.nilable(String)) }
|
|
657
673
|
attr_accessor :addenda
|
|
@@ -683,6 +699,7 @@ module Lithic
|
|
|
683
699
|
params(
|
|
684
700
|
sec_code:
|
|
685
701
|
Lithic::Payment::MethodAttributes::ACHMethodAttributes::SecCode::OrSymbol,
|
|
702
|
+
ach_hold_period: T.nilable(Integer),
|
|
686
703
|
addenda: T.nilable(String),
|
|
687
704
|
company_id: T.nilable(String),
|
|
688
705
|
receipt_routing_number: T.nilable(String),
|
|
@@ -694,6 +711,8 @@ module Lithic
|
|
|
694
711
|
def self.new(
|
|
695
712
|
# SEC code for ACH transaction
|
|
696
713
|
sec_code:,
|
|
714
|
+
# Number of days the ACH transaction is on hold
|
|
715
|
+
ach_hold_period: nil,
|
|
697
716
|
# Addenda information
|
|
698
717
|
addenda: nil,
|
|
699
718
|
# Company ID for the ACH transaction
|
|
@@ -714,6 +733,7 @@ module Lithic
|
|
|
714
733
|
{
|
|
715
734
|
sec_code:
|
|
716
735
|
Lithic::Payment::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol,
|
|
736
|
+
ach_hold_period: T.nilable(Integer),
|
|
717
737
|
addenda: T.nilable(String),
|
|
718
738
|
company_id: T.nilable(String),
|
|
719
739
|
receipt_routing_number: T.nilable(String),
|
|
@@ -928,7 +948,7 @@ module Lithic
|
|
|
928
948
|
sig { returns(T.nilable(String)) }
|
|
929
949
|
attr_accessor :business_account_token
|
|
930
950
|
|
|
931
|
-
#
|
|
951
|
+
# Account tokens related to a payment transaction
|
|
932
952
|
sig do
|
|
933
953
|
params(
|
|
934
954
|
account_token: T.nilable(String),
|
|
@@ -1002,6 +1022,7 @@ module Lithic
|
|
|
1002
1022
|
DECLINED = T.let(:DECLINED, Lithic::Payment::Status::TaggedSymbol)
|
|
1003
1023
|
REVERSED = T.let(:REVERSED, Lithic::Payment::Status::TaggedSymbol)
|
|
1004
1024
|
CANCELED = T.let(:CANCELED, Lithic::Payment::Status::TaggedSymbol)
|
|
1025
|
+
RETURNED = T.let(:RETURNED, Lithic::Payment::Status::TaggedSymbol)
|
|
1005
1026
|
|
|
1006
1027
|
sig do
|
|
1007
1028
|
override.returns(T::Array[Lithic::Payment::Status::TaggedSymbol])
|
|
@@ -150,6 +150,13 @@ module Lithic
|
|
|
150
150
|
end
|
|
151
151
|
attr_accessor :sec_code
|
|
152
152
|
|
|
153
|
+
# Number of days to hold the ACH payment
|
|
154
|
+
sig { returns(T.nilable(Integer)) }
|
|
155
|
+
attr_reader :ach_hold_period
|
|
156
|
+
|
|
157
|
+
sig { params(ach_hold_period: Integer).void }
|
|
158
|
+
attr_writer :ach_hold_period
|
|
159
|
+
|
|
153
160
|
sig { returns(T.nilable(String)) }
|
|
154
161
|
attr_accessor :addenda
|
|
155
162
|
|
|
@@ -157,10 +164,16 @@ module Lithic
|
|
|
157
164
|
params(
|
|
158
165
|
sec_code:
|
|
159
166
|
Lithic::PaymentCreateParams::MethodAttributes::SecCode::OrSymbol,
|
|
167
|
+
ach_hold_period: Integer,
|
|
160
168
|
addenda: T.nilable(String)
|
|
161
169
|
).returns(T.attached_class)
|
|
162
170
|
end
|
|
163
|
-
def self.new(
|
|
171
|
+
def self.new(
|
|
172
|
+
sec_code:,
|
|
173
|
+
# Number of days to hold the ACH payment
|
|
174
|
+
ach_hold_period: nil,
|
|
175
|
+
addenda: nil
|
|
176
|
+
)
|
|
164
177
|
end
|
|
165
178
|
|
|
166
179
|
sig do
|
|
@@ -168,6 +181,7 @@ module Lithic
|
|
|
168
181
|
{
|
|
169
182
|
sec_code:
|
|
170
183
|
Lithic::PaymentCreateParams::MethodAttributes::SecCode::OrSymbol,
|
|
184
|
+
ach_hold_period: Integer,
|
|
171
185
|
addenda: T.nilable(String)
|
|
172
186
|
}
|
|
173
187
|
)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class PaymentReturnParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::PaymentReturnParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Globally unique identifier for the financial account
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :financial_account_token
|
|
17
|
+
|
|
18
|
+
# ACH return reason code indicating the reason for returning the payment.
|
|
19
|
+
# Supported codes include R01-R53 and R80-R85. For a complete list of return codes
|
|
20
|
+
# and their meanings, see
|
|
21
|
+
# [ACH Return Reasons](https://docs.lithic.com/docs/ach-overview#ach-return-reasons)
|
|
22
|
+
sig { returns(String) }
|
|
23
|
+
attr_accessor :return_reason_code
|
|
24
|
+
|
|
25
|
+
# Optional additional information about the return. Limited to 44 characters
|
|
26
|
+
sig { returns(T.nilable(String)) }
|
|
27
|
+
attr_accessor :addenda
|
|
28
|
+
|
|
29
|
+
# Date of death in YYYY-MM-DD format. Required when using return codes **R14**
|
|
30
|
+
# (representative payee deceased) or **R15** (beneficiary or account holder
|
|
31
|
+
# deceased)
|
|
32
|
+
sig { returns(T.nilable(Date)) }
|
|
33
|
+
attr_accessor :date_of_death
|
|
34
|
+
|
|
35
|
+
# Optional memo for the return. Limited to 10 characters
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_accessor :memo
|
|
38
|
+
|
|
39
|
+
sig do
|
|
40
|
+
params(
|
|
41
|
+
financial_account_token: String,
|
|
42
|
+
return_reason_code: String,
|
|
43
|
+
addenda: T.nilable(String),
|
|
44
|
+
date_of_death: T.nilable(Date),
|
|
45
|
+
memo: T.nilable(String),
|
|
46
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
47
|
+
).returns(T.attached_class)
|
|
48
|
+
end
|
|
49
|
+
def self.new(
|
|
50
|
+
# Globally unique identifier for the financial account
|
|
51
|
+
financial_account_token:,
|
|
52
|
+
# ACH return reason code indicating the reason for returning the payment.
|
|
53
|
+
# Supported codes include R01-R53 and R80-R85. For a complete list of return codes
|
|
54
|
+
# and their meanings, see
|
|
55
|
+
# [ACH Return Reasons](https://docs.lithic.com/docs/ach-overview#ach-return-reasons)
|
|
56
|
+
return_reason_code:,
|
|
57
|
+
# Optional additional information about the return. Limited to 44 characters
|
|
58
|
+
addenda: nil,
|
|
59
|
+
# Date of death in YYYY-MM-DD format. Required when using return codes **R14**
|
|
60
|
+
# (representative payee deceased) or **R15** (beneficiary or account holder
|
|
61
|
+
# deceased)
|
|
62
|
+
date_of_death: nil,
|
|
63
|
+
# Optional memo for the return. Limited to 10 characters
|
|
64
|
+
memo: nil,
|
|
65
|
+
request_options: {}
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
sig do
|
|
70
|
+
override.returns(
|
|
71
|
+
{
|
|
72
|
+
financial_account_token: String,
|
|
73
|
+
return_reason_code: String,
|
|
74
|
+
addenda: T.nilable(String),
|
|
75
|
+
date_of_death: T.nilable(Date),
|
|
76
|
+
memo: T.nilable(String),
|
|
77
|
+
request_options: Lithic::RequestOptions
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
def to_hash
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class StatementTotals < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::StatementTotals, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Opening balance transferred from previous account in cents
|
|
12
|
+
sig { returns(Integer) }
|
|
13
|
+
attr_accessor :balance_transfers
|
|
14
|
+
|
|
15
|
+
# ATM and cashback transactions in cents
|
|
16
|
+
sig { returns(Integer) }
|
|
17
|
+
attr_accessor :cash_advances
|
|
18
|
+
|
|
19
|
+
# Volume of credit management operation transactions less any balance transfers in
|
|
20
|
+
# cents
|
|
21
|
+
sig { returns(Integer) }
|
|
22
|
+
attr_accessor :credits
|
|
23
|
+
|
|
24
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
25
|
+
sig { returns(Integer) }
|
|
26
|
+
attr_accessor :debits
|
|
27
|
+
|
|
28
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
29
|
+
sig { returns(Integer) }
|
|
30
|
+
attr_accessor :fees
|
|
31
|
+
|
|
32
|
+
# Interest accrued in cents
|
|
33
|
+
sig { returns(Integer) }
|
|
34
|
+
attr_accessor :interest
|
|
35
|
+
|
|
36
|
+
# Any funds transfers which affective the balance in cents
|
|
37
|
+
sig { returns(Integer) }
|
|
38
|
+
attr_accessor :payments
|
|
39
|
+
|
|
40
|
+
# Net card transaction volume less any cash advances in cents
|
|
41
|
+
sig { returns(Integer) }
|
|
42
|
+
attr_accessor :purchases
|
|
43
|
+
|
|
44
|
+
# Breakdown of credits
|
|
45
|
+
sig { returns(T.nilable(T.anything)) }
|
|
46
|
+
attr_reader :credit_details
|
|
47
|
+
|
|
48
|
+
sig { params(credit_details: T.anything).void }
|
|
49
|
+
attr_writer :credit_details
|
|
50
|
+
|
|
51
|
+
# Breakdown of debits
|
|
52
|
+
sig { returns(T.nilable(T.anything)) }
|
|
53
|
+
attr_reader :debit_details
|
|
54
|
+
|
|
55
|
+
sig { params(debit_details: T.anything).void }
|
|
56
|
+
attr_writer :debit_details
|
|
57
|
+
|
|
58
|
+
# Breakdown of payments
|
|
59
|
+
sig { returns(T.nilable(T.anything)) }
|
|
60
|
+
attr_reader :payment_details
|
|
61
|
+
|
|
62
|
+
sig { params(payment_details: T.anything).void }
|
|
63
|
+
attr_writer :payment_details
|
|
64
|
+
|
|
65
|
+
sig do
|
|
66
|
+
params(
|
|
67
|
+
balance_transfers: Integer,
|
|
68
|
+
cash_advances: Integer,
|
|
69
|
+
credits: Integer,
|
|
70
|
+
debits: Integer,
|
|
71
|
+
fees: Integer,
|
|
72
|
+
interest: Integer,
|
|
73
|
+
payments: Integer,
|
|
74
|
+
purchases: Integer,
|
|
75
|
+
credit_details: T.anything,
|
|
76
|
+
debit_details: T.anything,
|
|
77
|
+
payment_details: T.anything
|
|
78
|
+
).returns(T.attached_class)
|
|
79
|
+
end
|
|
80
|
+
def self.new(
|
|
81
|
+
# Opening balance transferred from previous account in cents
|
|
82
|
+
balance_transfers:,
|
|
83
|
+
# ATM and cashback transactions in cents
|
|
84
|
+
cash_advances:,
|
|
85
|
+
# Volume of credit management operation transactions less any balance transfers in
|
|
86
|
+
# cents
|
|
87
|
+
credits:,
|
|
88
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
89
|
+
debits:,
|
|
90
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
91
|
+
fees:,
|
|
92
|
+
# Interest accrued in cents
|
|
93
|
+
interest:,
|
|
94
|
+
# Any funds transfers which affective the balance in cents
|
|
95
|
+
payments:,
|
|
96
|
+
# Net card transaction volume less any cash advances in cents
|
|
97
|
+
purchases:,
|
|
98
|
+
# Breakdown of credits
|
|
99
|
+
credit_details: nil,
|
|
100
|
+
# Breakdown of debits
|
|
101
|
+
debit_details: nil,
|
|
102
|
+
# Breakdown of payments
|
|
103
|
+
payment_details: nil
|
|
104
|
+
)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
sig do
|
|
108
|
+
override.returns(
|
|
109
|
+
{
|
|
110
|
+
balance_transfers: Integer,
|
|
111
|
+
cash_advances: Integer,
|
|
112
|
+
credits: Integer,
|
|
113
|
+
debits: Integer,
|
|
114
|
+
fees: Integer,
|
|
115
|
+
interest: Integer,
|
|
116
|
+
payments: Integer,
|
|
117
|
+
purchases: Integer,
|
|
118
|
+
credit_details: T.anything,
|
|
119
|
+
debit_details: T.anything,
|
|
120
|
+
payment_details: T.anything
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
end
|
|
124
|
+
def to_hash
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|