lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.7
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/README.md +29 -5
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +19 -16
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +26 -23
- data/lib/lithic/internal/type/enum.rb +10 -8
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +29 -50
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -56
- data/lib/lithic/models/account_holder_create_params.rb +140 -144
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +7 -7
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +12 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
- data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +25 -25
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +25 -25
- data/lib/lithic/models/card_renew_params.rb +27 -27
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +7 -7
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +17 -17
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +128 -132
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +16 -16
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +100 -100
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +100 -100
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +39 -39
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +54 -54
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +37 -37
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +64 -61
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +6 -6
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +10 -18
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +40 -72
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -100
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +26 -39
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +18 -37
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +67 -107
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +46 -72
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +139 -153
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +121 -156
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +219 -237
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +24 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +15 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +10 -19
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -35,8 +35,8 @@ module Lithic
|
|
35
35
|
|
36
36
|
# @!attribute credit_limit
|
37
37
|
# For prepay accounts, this is the minimum prepay balance that must be maintained.
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# For charge card accounts, this is the maximum credit balance extended by a
|
39
|
+
# lender
|
40
40
|
#
|
41
41
|
# @return [Integer]
|
42
42
|
required :credit_limit, Integer
|
@@ -66,8 +66,8 @@ module Lithic
|
|
66
66
|
|
67
67
|
# @!attribute excess_credits
|
68
68
|
# Excess credits in the form of provisional credits, payments, or purchase
|
69
|
-
#
|
70
|
-
#
|
69
|
+
# refunds. If positive, the account is in net credit state with no outstanding
|
70
|
+
# balances. An overpayment could land an account in this state
|
71
71
|
#
|
72
72
|
# @return [Integer]
|
73
73
|
required :excess_credits, Integer
|
@@ -231,7 +231,7 @@ module Lithic
|
|
231
231
|
# Whether the account currently has grace or not
|
232
232
|
#
|
233
233
|
# @return [Boolean]
|
234
|
-
required :has_grace, Lithic::Internal::Type::
|
234
|
+
required :has_grace, Lithic::Internal::Type::Boolean
|
235
235
|
|
236
236
|
# @!attribute period_number
|
237
237
|
# Current overall period number
|
@@ -280,21 +280,21 @@ module Lithic
|
|
280
280
|
required :status,
|
281
281
|
enum: -> { Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status }
|
282
282
|
|
283
|
-
# @!attribute
|
284
|
-
#
|
283
|
+
# @!attribute substatus
|
284
|
+
# Substatus for the financial account
|
285
285
|
#
|
286
|
-
# @return [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
287
|
-
optional :
|
288
|
-
enum: -> { Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
286
|
+
# @return [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus, nil]
|
287
|
+
optional :substatus,
|
288
|
+
enum: -> { Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus },
|
289
289
|
nil?: true
|
290
290
|
|
291
291
|
# @!parse
|
292
292
|
# # Information about the financial account state
|
293
293
|
# #
|
294
294
|
# # @param status [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status]
|
295
|
-
# # @param
|
295
|
+
# # @param substatus [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus, nil]
|
296
296
|
# #
|
297
|
-
# def initialize(status:,
|
297
|
+
# def initialize(status:, substatus: nil, **) = super
|
298
298
|
|
299
299
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
300
300
|
|
@@ -316,10 +316,10 @@ module Lithic
|
|
316
316
|
# def self.values; end
|
317
317
|
end
|
318
318
|
|
319
|
-
#
|
319
|
+
# Substatus for the financial account
|
320
320
|
#
|
321
|
-
# @see Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState#
|
322
|
-
module
|
321
|
+
# @see Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState#substatus
|
322
|
+
module Substatus
|
323
323
|
extend Lithic::Internal::Type::Enum
|
324
324
|
|
325
325
|
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|
@@ -356,15 +356,15 @@ module Lithic
|
|
356
356
|
class Balances < Lithic::Internal::Type::BaseModel
|
357
357
|
# @!attribute due
|
358
358
|
# Amount due for the prior billing cycle. Any amounts not fully paid off on this
|
359
|
-
#
|
359
|
+
# due date will be considered past due the next day
|
360
360
|
#
|
361
361
|
# @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::Due]
|
362
362
|
required :due, -> { Lithic::Models::FinancialAccounts::LoanTape::Balances::Due }
|
363
363
|
|
364
364
|
# @!attribute next_statement_due
|
365
365
|
# Amount due for the current billing cycle. Any amounts not paid off by early
|
366
|
-
#
|
367
|
-
#
|
366
|
+
# payments or credits will be considered due at the end of the current billing
|
367
|
+
# period
|
368
368
|
#
|
369
369
|
# @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::NextStatementDue]
|
370
370
|
required :next_statement_due,
|
@@ -412,7 +412,7 @@ module Lithic
|
|
412
412
|
|
413
413
|
# @!parse
|
414
414
|
# # Amount due for the prior billing cycle. Any amounts not fully paid off on this
|
415
|
-
# #
|
415
|
+
# # due date will be considered past due the next day
|
416
416
|
# #
|
417
417
|
# # @param fees [Integer]
|
418
418
|
# # @param interest [Integer]
|
@@ -442,8 +442,8 @@ module Lithic
|
|
442
442
|
|
443
443
|
# @!parse
|
444
444
|
# # Amount due for the current billing cycle. Any amounts not paid off by early
|
445
|
-
# #
|
446
|
-
# #
|
445
|
+
# # payments or credits will be considered due at the end of the current billing
|
446
|
+
# # period
|
447
447
|
# #
|
448
448
|
# # @param fees [Integer]
|
449
449
|
# # @param interest [Integer]
|
@@ -529,7 +529,7 @@ module Lithic
|
|
529
529
|
|
530
530
|
# @!attribute credits
|
531
531
|
# Volume of credit management operation transactions less any balance transfers in
|
532
|
-
#
|
532
|
+
# cents
|
533
533
|
#
|
534
534
|
# @return [Integer]
|
535
535
|
required :credits, Integer
|
@@ -796,7 +796,7 @@ module Lithic
|
|
796
796
|
|
797
797
|
# @!attribute credits
|
798
798
|
# Volume of credit management operation transactions less any balance transfers in
|
799
|
-
#
|
799
|
+
# cents
|
800
800
|
#
|
801
801
|
# @return [Integer]
|
802
802
|
required :credits, Integer
|
@@ -876,7 +876,7 @@ module Lithic
|
|
876
876
|
|
877
877
|
# @!attribute credits
|
878
878
|
# Volume of credit management operation transactions less any balance transfers in
|
879
|
-
#
|
879
|
+
# cents
|
880
880
|
#
|
881
881
|
# @return [Integer]
|
882
882
|
required :credits, Integer
|
@@ -11,10 +11,10 @@ module Lithic
|
|
11
11
|
|
12
12
|
# @!attribute [r] begin_
|
13
13
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
14
|
-
#
|
14
|
+
# will be included.
|
15
15
|
#
|
16
16
|
# @return [Date, nil]
|
17
|
-
optional :begin_, Date
|
17
|
+
optional :begin_, Date
|
18
18
|
|
19
19
|
# @!parse
|
20
20
|
# # @return [Date]
|
@@ -22,10 +22,10 @@ module Lithic
|
|
22
22
|
|
23
23
|
# @!attribute [r] end_
|
24
24
|
# Date string in RFC 3339 format. Only entries created before the specified date
|
25
|
-
#
|
25
|
+
# will be included.
|
26
26
|
#
|
27
27
|
# @return [Date, nil]
|
28
|
-
optional :end_, Date
|
28
|
+
optional :end_, Date
|
29
29
|
|
30
30
|
# @!parse
|
31
31
|
# # @return [Date]
|
@@ -33,7 +33,7 @@ module Lithic
|
|
33
33
|
|
34
34
|
# @!attribute [r] ending_before
|
35
35
|
# A cursor representing an item's token before which a page of results should end.
|
36
|
-
#
|
36
|
+
# Used to retrieve the previous page of results before this item.
|
37
37
|
#
|
38
38
|
# @return [String, nil]
|
39
39
|
optional :ending_before, String
|
@@ -54,7 +54,7 @@ module Lithic
|
|
54
54
|
|
55
55
|
# @!attribute [r] starting_after
|
56
56
|
# A cursor representing an item's token after which a page of results should
|
57
|
-
#
|
57
|
+
# begin. Used to retrieve the next page of results after this item.
|
58
58
|
#
|
59
59
|
# @return [String, nil]
|
60
60
|
optional :starting_after, String
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
|
54
54
|
# @!attribute ending_balance
|
55
55
|
# Balance at the end of the billing period. For charge cards, this should be the
|
56
|
-
#
|
56
|
+
# same at the statement amount due in cents
|
57
57
|
#
|
58
58
|
# @return [Integer]
|
59
59
|
required :ending_balance, Integer
|
@@ -225,7 +225,7 @@ module Lithic
|
|
225
225
|
# Whether the account currently has grace or not
|
226
226
|
#
|
227
227
|
# @return [Boolean]
|
228
|
-
required :has_grace, Lithic::Internal::Type::
|
228
|
+
required :has_grace, Lithic::Internal::Type::Boolean
|
229
229
|
|
230
230
|
# @!attribute period_number
|
231
231
|
# Current overall period number
|
@@ -274,21 +274,21 @@ module Lithic
|
|
274
274
|
required :status,
|
275
275
|
enum: -> { Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status }
|
276
276
|
|
277
|
-
# @!attribute
|
278
|
-
#
|
277
|
+
# @!attribute substatus
|
278
|
+
# Substatus for the financial account
|
279
279
|
#
|
280
|
-
# @return [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
281
|
-
optional :
|
282
|
-
enum: -> { Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
280
|
+
# @return [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus, nil]
|
281
|
+
optional :substatus,
|
282
|
+
enum: -> { Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus },
|
283
283
|
nil?: true
|
284
284
|
|
285
285
|
# @!parse
|
286
286
|
# # Information about the financial account state
|
287
287
|
# #
|
288
288
|
# # @param status [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status]
|
289
|
-
# # @param
|
289
|
+
# # @param substatus [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus, nil]
|
290
290
|
# #
|
291
|
-
# def initialize(status:,
|
291
|
+
# def initialize(status:, substatus: nil, **) = super
|
292
292
|
|
293
293
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
294
294
|
|
@@ -310,10 +310,10 @@ module Lithic
|
|
310
310
|
# def self.values; end
|
311
311
|
end
|
312
312
|
|
313
|
-
#
|
313
|
+
# Substatus for the financial account
|
314
314
|
#
|
315
|
-
# @see Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState#
|
316
|
-
module
|
315
|
+
# @see Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState#substatus
|
316
|
+
module Substatus
|
317
317
|
extend Lithic::Internal::Type::Enum
|
318
318
|
|
319
319
|
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|
@@ -350,9 +350,9 @@ module Lithic
|
|
350
350
|
class AmountDue < Lithic::Internal::Type::BaseModel
|
351
351
|
# @!attribute amount
|
352
352
|
# Payment due at the end of the billing period in cents. Negative amount indicates
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
353
|
+
# something is owed. If the amount owed is positive there was a net credit. If
|
354
|
+
# auto-collections are enabled this is the amount that will be requested on the
|
355
|
+
# payment due date
|
356
356
|
#
|
357
357
|
# @return [Integer]
|
358
358
|
required :amount, Integer
|
@@ -388,7 +388,7 @@ module Lithic
|
|
388
388
|
|
389
389
|
# @!attribute credits
|
390
390
|
# Volume of credit management operation transactions less any balance transfers in
|
391
|
-
#
|
391
|
+
# cents
|
392
392
|
#
|
393
393
|
# @return [Integer]
|
394
394
|
required :credits, Integer
|
@@ -462,7 +462,7 @@ module Lithic
|
|
462
462
|
|
463
463
|
# @!attribute credits
|
464
464
|
# Volume of credit management operation transactions less any balance transfers in
|
465
|
-
#
|
465
|
+
# cents
|
466
466
|
#
|
467
467
|
# @return [Integer]
|
468
468
|
required :credits, Integer
|
@@ -11,10 +11,10 @@ module Lithic
|
|
11
11
|
|
12
12
|
# @!attribute [r] begin_
|
13
13
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
14
|
-
#
|
14
|
+
# will be included.
|
15
15
|
#
|
16
16
|
# @return [Date, nil]
|
17
|
-
optional :begin_, Date
|
17
|
+
optional :begin_, Date
|
18
18
|
|
19
19
|
# @!parse
|
20
20
|
# # @return [Date]
|
@@ -22,10 +22,10 @@ module Lithic
|
|
22
22
|
|
23
23
|
# @!attribute [r] end_
|
24
24
|
# Date string in RFC 3339 format. Only entries created before the specified date
|
25
|
-
#
|
25
|
+
# will be included.
|
26
26
|
#
|
27
27
|
# @return [Date, nil]
|
28
|
-
optional :end_, Date
|
28
|
+
optional :end_, Date
|
29
29
|
|
30
30
|
# @!parse
|
31
31
|
# # @return [Date]
|
@@ -33,7 +33,7 @@ module Lithic
|
|
33
33
|
|
34
34
|
# @!attribute [r] ending_before
|
35
35
|
# A cursor representing an item's token before which a page of results should end.
|
36
|
-
#
|
36
|
+
# Used to retrieve the previous page of results before this item.
|
37
37
|
#
|
38
38
|
# @return [String, nil]
|
39
39
|
optional :ending_before, String
|
@@ -46,7 +46,7 @@ module Lithic
|
|
46
46
|
# Whether to include the initial statement. It is not included by default.
|
47
47
|
#
|
48
48
|
# @return [Boolean, nil]
|
49
|
-
optional :include_initial_statements, Lithic::Internal::Type::
|
49
|
+
optional :include_initial_statements, Lithic::Internal::Type::Boolean
|
50
50
|
|
51
51
|
# @!parse
|
52
52
|
# # @return [Boolean]
|
@@ -64,7 +64,7 @@ module Lithic
|
|
64
64
|
|
65
65
|
# @!attribute [r] starting_after
|
66
66
|
# A cursor representing an item's token after which a page of results should
|
67
|
-
#
|
67
|
+
# begin. Used to retrieve the next page of results after this item.
|
68
68
|
#
|
69
69
|
# @return [String, nil]
|
70
70
|
optional :starting_after, String
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
|
19
19
|
# @!attribute [r] ending_before
|
20
20
|
# A cursor representing an item's token before which a page of results should end.
|
21
|
-
#
|
21
|
+
# Used to retrieve the previous page of results before this item.
|
22
22
|
#
|
23
23
|
# @return [String, nil]
|
24
24
|
optional :ending_before, String
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
|
40
40
|
# @!attribute [r] starting_after
|
41
41
|
# A cursor representing an item's token after which a page of results should
|
42
|
-
#
|
42
|
+
# begin. Used to retrieve the next page of results after this item.
|
43
43
|
#
|
44
44
|
# @return [String, nil]
|
45
45
|
optional :starting_after, String
|
@@ -14,7 +14,7 @@ module Lithic
|
|
14
14
|
# @!attribute has_more
|
15
15
|
#
|
16
16
|
# @return [Boolean]
|
17
|
-
required :has_more, Lithic::Internal::Type::
|
17
|
+
required :has_more, Lithic::Internal::Type::Boolean
|
18
18
|
|
19
19
|
# @!parse
|
20
20
|
# # @param data [Array<Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data>]
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
|
52
52
|
# @!attribute currency
|
53
53
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
54
|
-
#
|
54
|
+
# transaction
|
55
55
|
#
|
56
56
|
# @return [String]
|
57
57
|
required :currency, String
|
@@ -222,6 +222,7 @@ module Lithic
|
|
222
222
|
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
223
223
|
LATE_PAYMENT = :LATE_PAYMENT
|
224
224
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
225
|
+
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
225
226
|
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
226
227
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
227
228
|
RETURN = :RETURN
|
@@ -12,7 +12,7 @@ module Lithic
|
|
12
12
|
# @!attribute has_more
|
13
13
|
#
|
14
14
|
# @return [Boolean]
|
15
|
-
required :has_more, Lithic::Internal::Type::
|
15
|
+
required :has_more, Lithic::Internal::Type::Boolean
|
16
16
|
|
17
17
|
# @!parse
|
18
18
|
# # @param data [Array<Lithic::Models::FinancialAccounts::Statement>]
|
@@ -12,11 +12,11 @@ module Lithic
|
|
12
12
|
# @!attribute category
|
13
13
|
# Status types:
|
14
14
|
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
15
|
+
# - `CARD` - Issuing card transaction.
|
16
|
+
# - `ACH` - Transaction over ACH.
|
17
|
+
# - `INTERNAL` - Transaction for internal adjustment.
|
18
|
+
# - `TRANSFER` - Internal transfer of funds between financial accounts in your
|
19
|
+
# program.
|
20
20
|
#
|
21
21
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Category]
|
22
22
|
required :category, enum: -> { Lithic::Models::FinancialTransaction::Category }
|
@@ -29,14 +29,14 @@ module Lithic
|
|
29
29
|
|
30
30
|
# @!attribute currency
|
31
31
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
32
|
-
#
|
32
|
+
# transaction.
|
33
33
|
#
|
34
34
|
# @return [String]
|
35
35
|
required :currency, String
|
36
36
|
|
37
37
|
# @!attribute descriptor
|
38
38
|
# A string that provides a description of the financial transaction; may be useful
|
39
|
-
#
|
39
|
+
# to display to users.
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
required :descriptor, String
|
@@ -49,22 +49,22 @@ module Lithic
|
|
49
49
|
|
50
50
|
# @!attribute pending_amount
|
51
51
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
52
|
-
#
|
53
|
-
#
|
52
|
+
# including any acquirer fees. The value of this field will go to zero over time
|
53
|
+
# once the financial transaction is settled.
|
54
54
|
#
|
55
55
|
# @return [Integer]
|
56
56
|
required :pending_amount, Integer
|
57
57
|
|
58
58
|
# @!attribute result
|
59
59
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
60
|
-
#
|
60
|
+
# by user, Lithic, or the network.
|
61
61
|
#
|
62
62
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Result]
|
63
63
|
required :result, enum: -> { Lithic::Models::FinancialTransaction::Result }
|
64
64
|
|
65
65
|
# @!attribute settled_amount
|
66
66
|
# Amount of the transaction that has been settled in the currency's smallest unit
|
67
|
-
#
|
67
|
+
# (e.g., cents), including any acquirer fees. This may change over time.
|
68
68
|
#
|
69
69
|
# @return [Integer]
|
70
70
|
required :settled_amount, Integer
|
@@ -72,13 +72,13 @@ module Lithic
|
|
72
72
|
# @!attribute status
|
73
73
|
# Status types:
|
74
74
|
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
75
|
+
# - `DECLINED` - The transaction was declined.
|
76
|
+
# - `EXPIRED` - The authorization as it has passed its expiration time. Card
|
77
|
+
# transaction only.
|
78
|
+
# - `PENDING` - The transaction is expected to settle.
|
79
|
+
# - `RETURNED` - The transaction has been returned.
|
80
|
+
# - `SETTLED` - The transaction is completed.
|
81
|
+
# - `VOIDED` - The transaction was voided. Card transaction only.
|
82
82
|
#
|
83
83
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Status]
|
84
84
|
required :status, enum: -> { Lithic::Models::FinancialTransaction::Status }
|
@@ -123,11 +123,11 @@ module Lithic
|
|
123
123
|
|
124
124
|
# Status types:
|
125
125
|
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
126
|
+
# - `CARD` - Issuing card transaction.
|
127
|
+
# - `ACH` - Transaction over ACH.
|
128
|
+
# - `INTERNAL` - Transaction for internal adjustment.
|
129
|
+
# - `TRANSFER` - Internal transfer of funds between financial accounts in your
|
130
|
+
# program.
|
131
131
|
#
|
132
132
|
# @see Lithic::Models::FinancialTransaction#category
|
133
133
|
module Category
|
@@ -158,7 +158,7 @@ module Lithic
|
|
158
158
|
|
159
159
|
# @!attribute [r] amount
|
160
160
|
# Amount of the financial event that has been settled in the currency's smallest
|
161
|
-
#
|
161
|
+
# unit (e.g., cents).
|
162
162
|
#
|
163
163
|
# @return [Integer, nil]
|
164
164
|
optional :amount, Integer
|
@@ -179,7 +179,7 @@ module Lithic
|
|
179
179
|
|
180
180
|
# @!attribute [r] result
|
181
181
|
# APPROVED financial events were successful while DECLINED financial events were
|
182
|
-
#
|
182
|
+
# declined by user, Lithic, or the network.
|
183
183
|
#
|
184
184
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Event::Result, nil]
|
185
185
|
optional :result, enum: -> { Lithic::Models::FinancialTransaction::Event::Result }
|
@@ -209,7 +209,7 @@ module Lithic
|
|
209
209
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
210
210
|
|
211
211
|
# APPROVED financial events were successful while DECLINED financial events were
|
212
|
-
#
|
212
|
+
# declined by user, Lithic, or the network.
|
213
213
|
#
|
214
214
|
# @see Lithic::Models::FinancialTransaction::Event#result
|
215
215
|
module Result
|
@@ -285,6 +285,7 @@ module Lithic
|
|
285
285
|
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
286
286
|
LATE_PAYMENT = :LATE_PAYMENT
|
287
287
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
288
|
+
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
288
289
|
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
289
290
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
290
291
|
RETURN = :RETURN
|
@@ -303,7 +304,7 @@ module Lithic
|
|
303
304
|
end
|
304
305
|
|
305
306
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
306
|
-
#
|
307
|
+
# by user, Lithic, or the network.
|
307
308
|
#
|
308
309
|
# @see Lithic::Models::FinancialTransaction#result
|
309
310
|
module Result
|
@@ -321,13 +322,13 @@ module Lithic
|
|
321
322
|
|
322
323
|
# Status types:
|
323
324
|
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
325
|
+
# - `DECLINED` - The transaction was declined.
|
326
|
+
# - `EXPIRED` - The authorization as it has passed its expiration time. Card
|
327
|
+
# transaction only.
|
328
|
+
# - `PENDING` - The transaction is expected to settle.
|
329
|
+
# - `RETURNED` - The transaction has been returned.
|
330
|
+
# - `SETTLED` - The transaction is completed.
|
331
|
+
# - `VOIDED` - The transaction was voided. Card transaction only.
|
331
332
|
#
|
332
333
|
# @see Lithic::Models::FinancialTransaction#status
|
333
334
|
module Status
|