lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19
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 +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +4 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -137,28 +137,54 @@ module Lithic
|
|
137
137
|
optional :tier, String
|
138
138
|
|
139
139
|
# @!method initialize(token:, account_standing:, available_credit:, balances:, created:, credit_limit:, credit_product_token:, date:, day_totals:, ending_balance:, excess_credits:, financial_account_token:, interest_details:, minimum_payment_balance:, payment_allocation:, period_totals:, previous_statement_balance:, starting_balance:, updated:, version:, ytd_totals:, tier: nil)
|
140
|
-
#
|
140
|
+
# Some parameter documentations has been truncated, see
|
141
|
+
# {Lithic::Models::FinancialAccounts::LoanTape} for more details.
|
142
|
+
#
|
143
|
+
# @param token [String] Globally unique identifier for a loan tape
|
144
|
+
#
|
141
145
|
# @param account_standing [Lithic::Models::FinancialAccounts::LoanTape::AccountStanding]
|
142
|
-
#
|
146
|
+
#
|
147
|
+
# @param available_credit [Integer] Amount of credit available to spend in cents
|
148
|
+
#
|
143
149
|
# @param balances [Lithic::Models::FinancialAccounts::LoanTape::Balances]
|
144
|
-
#
|
145
|
-
# @param
|
146
|
-
#
|
147
|
-
# @param
|
150
|
+
#
|
151
|
+
# @param created [Time] Timestamp of when the loan tape was created
|
152
|
+
#
|
153
|
+
# @param credit_limit [Integer] For prepay accounts, this is the minimum prepay balance that must be maintained.
|
154
|
+
# ...
|
155
|
+
#
|
156
|
+
# @param credit_product_token [String] Globally unique identifier for a credit product
|
157
|
+
#
|
158
|
+
# @param date [Date] Date of transactions that this loan tape covers
|
159
|
+
#
|
148
160
|
# @param day_totals [Lithic::Models::FinancialAccounts::LoanTape::DayTotals]
|
149
|
-
#
|
150
|
-
# @param
|
151
|
-
#
|
161
|
+
#
|
162
|
+
# @param ending_balance [Integer] Balance at the end of the day
|
163
|
+
#
|
164
|
+
# @param excess_credits [Integer] Excess credits in the form of provisional credits, payments, or purchase refunds
|
165
|
+
# ...
|
166
|
+
#
|
167
|
+
# @param financial_account_token [String] Globally unique identifier for a financial account
|
168
|
+
#
|
152
169
|
# @param interest_details [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails, nil]
|
170
|
+
#
|
153
171
|
# @param minimum_payment_balance [Lithic::Models::FinancialAccounts::LoanTape::MinimumPaymentBalance]
|
172
|
+
#
|
154
173
|
# @param payment_allocation [Lithic::Models::FinancialAccounts::LoanTape::PaymentAllocation]
|
174
|
+
#
|
155
175
|
# @param period_totals [Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals]
|
176
|
+
#
|
156
177
|
# @param previous_statement_balance [Lithic::Models::FinancialAccounts::LoanTape::PreviousStatementBalance]
|
157
|
-
#
|
158
|
-
# @param
|
159
|
-
#
|
178
|
+
#
|
179
|
+
# @param starting_balance [Integer] Balance at the start of the day
|
180
|
+
#
|
181
|
+
# @param updated [Time] Timestamp of when the loan tape was updated
|
182
|
+
#
|
183
|
+
# @param version [Integer] Version number of the loan tape. This starts at 1
|
184
|
+
#
|
160
185
|
# @param ytd_totals [Lithic::Models::FinancialAccounts::LoanTape::YtdTotals]
|
161
|
-
#
|
186
|
+
#
|
187
|
+
# @param tier [String] Interest tier to which this account belongs to
|
162
188
|
|
163
189
|
# @see Lithic::Models::FinancialAccounts::LoanTape#account_standing
|
164
190
|
class AccountStanding < Lithic::Internal::Type::BaseModel
|
@@ -212,13 +238,20 @@ module Lithic
|
|
212
238
|
enum: -> { Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::PeriodState }
|
213
239
|
|
214
240
|
# @!method initialize(consecutive_full_payments_made:, consecutive_minimum_payments_made:, consecutive_minimum_payments_missed:, days_past_due:, financial_account_state:, has_grace:, period_number:, period_state:)
|
215
|
-
# @param consecutive_full_payments_made [Integer]
|
216
|
-
#
|
217
|
-
# @param
|
218
|
-
#
|
219
|
-
# @param
|
220
|
-
#
|
221
|
-
# @param
|
241
|
+
# @param consecutive_full_payments_made [Integer] Number of consecutive full payments made
|
242
|
+
#
|
243
|
+
# @param consecutive_minimum_payments_made [Integer] Number of consecutive minimum payments made
|
244
|
+
#
|
245
|
+
# @param consecutive_minimum_payments_missed [Integer] Number of consecutive minimum payments missed
|
246
|
+
#
|
247
|
+
# @param days_past_due [Integer] Number of days past due
|
248
|
+
#
|
249
|
+
# @param financial_account_state [Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState] Information about the financial account state
|
250
|
+
#
|
251
|
+
# @param has_grace [Boolean] Whether the account currently has grace or not
|
252
|
+
#
|
253
|
+
# @param period_number [Integer] Current overall period number
|
254
|
+
#
|
222
255
|
# @param period_state [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::PeriodState]
|
223
256
|
|
224
257
|
# @see Lithic::Models::FinancialAccounts::LoanTape::AccountStanding#financial_account_state
|
@@ -241,8 +274,9 @@ module Lithic
|
|
241
274
|
# @!method initialize(status:, substatus: nil)
|
242
275
|
# Information about the financial account state
|
243
276
|
#
|
244
|
-
# @param status [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status]
|
245
|
-
#
|
277
|
+
# @param status [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status] Status of the financial account
|
278
|
+
#
|
279
|
+
# @param substatus [Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus, nil] Substatus for the financial account
|
246
280
|
|
247
281
|
# Status of the financial account
|
248
282
|
#
|
@@ -321,10 +355,18 @@ module Lithic
|
|
321
355
|
-> { Lithic::Models::FinancialAccounts::LoanTape::Balances::PastStatementsDue }
|
322
356
|
|
323
357
|
# @!method initialize(due:, next_statement_due:, past_due:, past_statements_due:)
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
327
|
-
# @param
|
358
|
+
# Some parameter documentations has been truncated, see
|
359
|
+
# {Lithic::Models::FinancialAccounts::LoanTape::Balances} for more details.
|
360
|
+
#
|
361
|
+
# @param due [Lithic::Models::FinancialAccounts::LoanTape::Balances::Due] Amount due for the prior billing cycle. Any amounts not fully paid off on this d
|
362
|
+
# ...
|
363
|
+
#
|
364
|
+
# @param next_statement_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::NextStatementDue] Amount due for the current billing cycle. Any amounts not paid off by early paym
|
365
|
+
# ...
|
366
|
+
#
|
367
|
+
# @param past_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastDue] Amount not paid off on previous due dates
|
368
|
+
#
|
369
|
+
# @param past_statements_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastStatementsDue] Amount due for the past billing cycles.
|
328
370
|
|
329
371
|
# @see Lithic::Models::FinancialAccounts::LoanTape::Balances#due
|
330
372
|
class Due < Lithic::Internal::Type::BaseModel
|
@@ -476,13 +518,23 @@ module Lithic
|
|
476
518
|
required :purchases, Integer
|
477
519
|
|
478
520
|
# @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# @param
|
483
|
-
#
|
484
|
-
# @param
|
485
|
-
#
|
521
|
+
# Some parameter documentations has been truncated, see
|
522
|
+
# {Lithic::Models::FinancialAccounts::LoanTape::DayTotals} for more details.
|
523
|
+
#
|
524
|
+
# @param balance_transfers [Integer] Opening balance transferred from previous account in cents
|
525
|
+
#
|
526
|
+
# @param cash_advances [Integer] ATM and cashback transactions in cents
|
527
|
+
#
|
528
|
+
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
529
|
+
# ...
|
530
|
+
#
|
531
|
+
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
532
|
+
#
|
533
|
+
# @param interest [Integer] Interest accrued in cents
|
534
|
+
#
|
535
|
+
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
536
|
+
#
|
537
|
+
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
486
538
|
end
|
487
539
|
|
488
540
|
# @see Lithic::Models::FinancialAccounts::LoanTape#interest_details
|
@@ -701,13 +753,23 @@ module Lithic
|
|
701
753
|
required :purchases, Integer
|
702
754
|
|
703
755
|
# @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# @param
|
708
|
-
#
|
709
|
-
# @param
|
710
|
-
#
|
756
|
+
# Some parameter documentations has been truncated, see
|
757
|
+
# {Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals} for more details.
|
758
|
+
#
|
759
|
+
# @param balance_transfers [Integer] Opening balance transferred from previous account in cents
|
760
|
+
#
|
761
|
+
# @param cash_advances [Integer] ATM and cashback transactions in cents
|
762
|
+
#
|
763
|
+
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
764
|
+
# ...
|
765
|
+
#
|
766
|
+
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
767
|
+
#
|
768
|
+
# @param interest [Integer] Interest accrued in cents
|
769
|
+
#
|
770
|
+
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
771
|
+
#
|
772
|
+
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
711
773
|
end
|
712
774
|
|
713
775
|
# @see Lithic::Models::FinancialAccounts::LoanTape#previous_statement_balance
|
@@ -773,13 +835,23 @@ module Lithic
|
|
773
835
|
required :purchases, Integer
|
774
836
|
|
775
837
|
# @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
# @param
|
780
|
-
#
|
781
|
-
# @param
|
782
|
-
#
|
838
|
+
# Some parameter documentations has been truncated, see
|
839
|
+
# {Lithic::Models::FinancialAccounts::LoanTape::YtdTotals} for more details.
|
840
|
+
#
|
841
|
+
# @param balance_transfers [Integer] Opening balance transferred from previous account in cents
|
842
|
+
#
|
843
|
+
# @param cash_advances [Integer] ATM and cashback transactions in cents
|
844
|
+
#
|
845
|
+
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
846
|
+
# ...
|
847
|
+
#
|
848
|
+
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
849
|
+
#
|
850
|
+
# @param interest [Integer] Interest accrued in cents
|
851
|
+
#
|
852
|
+
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
853
|
+
#
|
854
|
+
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
783
855
|
end
|
784
856
|
end
|
785
857
|
end
|
@@ -43,11 +43,23 @@ module Lithic
|
|
43
43
|
optional :starting_after, String
|
44
44
|
|
45
45
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param
|
50
|
-
#
|
46
|
+
# Some parameter documentations has been truncated, see
|
47
|
+
# {Lithic::Models::FinancialAccounts::LoanTapeListParams} for more details.
|
48
|
+
#
|
49
|
+
# @param begin_ [Date] Date string in RFC 3339 format. Only entries created after the specified date wi
|
50
|
+
# ...
|
51
|
+
#
|
52
|
+
# @param end_ [Date] Date string in RFC 3339 format. Only entries created before the specified date w
|
53
|
+
# ...
|
54
|
+
#
|
55
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
56
|
+
# ...
|
57
|
+
#
|
58
|
+
# @param page_size [Integer] Page size (for pagination).
|
59
|
+
#
|
60
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
61
|
+
# ...
|
62
|
+
#
|
51
63
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
52
64
|
end
|
53
65
|
end
|
@@ -15,7 +15,8 @@ module Lithic
|
|
15
15
|
required :financial_account_token, String
|
16
16
|
|
17
17
|
# @!method initialize(financial_account_token:, request_options: {})
|
18
|
-
# @param financial_account_token [String]
|
18
|
+
# @param financial_account_token [String] Globally unique identifier for financial account.
|
19
|
+
#
|
19
20
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
20
21
|
end
|
21
22
|
end
|
@@ -129,27 +129,51 @@ module Lithic
|
|
129
129
|
optional :next_statement_end_date, Date
|
130
130
|
|
131
131
|
# @!method initialize(token:, account_standing:, amount_due:, available_credit:, created:, credit_limit:, credit_product_token:, days_in_billing_cycle:, ending_balance:, financial_account_token:, payment_due_date:, period_totals:, starting_balance:, statement_end_date:, statement_start_date:, statement_type:, updated:, ytd_totals:, interest_details: nil, next_payment_due_date: nil, next_statement_end_date: nil)
|
132
|
-
#
|
132
|
+
# Some parameter documentations has been truncated, see
|
133
|
+
# {Lithic::Models::FinancialAccounts::Statement} for more details.
|
134
|
+
#
|
135
|
+
# @param token [String] Globally unique identifier for a statement
|
136
|
+
#
|
133
137
|
# @param account_standing [Lithic::Models::FinancialAccounts::Statement::AccountStanding]
|
138
|
+
#
|
134
139
|
# @param amount_due [Lithic::Models::FinancialAccounts::Statement::AmountDue]
|
135
|
-
#
|
136
|
-
# @param
|
137
|
-
#
|
138
|
-
# @param
|
139
|
-
#
|
140
|
-
# @param
|
141
|
-
#
|
142
|
-
# @param
|
140
|
+
#
|
141
|
+
# @param available_credit [Integer] Amount of credit available to spend in cents
|
142
|
+
#
|
143
|
+
# @param created [Time] Timestamp of when the statement was created
|
144
|
+
#
|
145
|
+
# @param credit_limit [Integer] This is the maximum credit balance extended by the lender in cents
|
146
|
+
#
|
147
|
+
# @param credit_product_token [String] Globally unique identifier for a credit product
|
148
|
+
#
|
149
|
+
# @param days_in_billing_cycle [Integer] Number of days in the billing cycle
|
150
|
+
#
|
151
|
+
# @param ending_balance [Integer] Balance at the end of the billing period. For charge cards, this should be the s
|
152
|
+
# ...
|
153
|
+
#
|
154
|
+
# @param financial_account_token [String] Globally unique identifier for a financial account
|
155
|
+
#
|
156
|
+
# @param payment_due_date [Date, nil] Date when the payment is due
|
157
|
+
#
|
143
158
|
# @param period_totals [Lithic::Models::FinancialAccounts::Statement::PeriodTotals]
|
144
|
-
#
|
145
|
-
# @param
|
146
|
-
#
|
159
|
+
#
|
160
|
+
# @param starting_balance [Integer] Balance at the start of the billing period
|
161
|
+
#
|
162
|
+
# @param statement_end_date [Date] Date when the billing period ended
|
163
|
+
#
|
164
|
+
# @param statement_start_date [Date] Date when the billing period began
|
165
|
+
#
|
147
166
|
# @param statement_type [Symbol, Lithic::Models::FinancialAccounts::Statement::StatementType]
|
148
|
-
#
|
167
|
+
#
|
168
|
+
# @param updated [Time] Timestamp of when the statement was updated
|
169
|
+
#
|
149
170
|
# @param ytd_totals [Lithic::Models::FinancialAccounts::Statement::YtdTotals]
|
171
|
+
#
|
150
172
|
# @param interest_details [Lithic::Models::FinancialAccounts::Statement::InterestDetails, nil]
|
151
|
-
#
|
152
|
-
# @param
|
173
|
+
#
|
174
|
+
# @param next_payment_due_date [Date] Date when the next payment is due
|
175
|
+
#
|
176
|
+
# @param next_statement_end_date [Date] Date when the next billing period will end
|
153
177
|
|
154
178
|
# @see Lithic::Models::FinancialAccounts::Statement#account_standing
|
155
179
|
class AccountStanding < Lithic::Internal::Type::BaseModel
|
@@ -203,13 +227,20 @@ module Lithic
|
|
203
227
|
enum: -> { Lithic::Models::FinancialAccounts::Statement::AccountStanding::PeriodState }
|
204
228
|
|
205
229
|
# @!method initialize(consecutive_full_payments_made:, consecutive_minimum_payments_made:, consecutive_minimum_payments_missed:, days_past_due:, financial_account_state:, has_grace:, period_number:, period_state:)
|
206
|
-
# @param consecutive_full_payments_made [Integer]
|
207
|
-
#
|
208
|
-
# @param
|
209
|
-
#
|
210
|
-
# @param
|
211
|
-
#
|
212
|
-
# @param
|
230
|
+
# @param consecutive_full_payments_made [Integer] Number of consecutive full payments made
|
231
|
+
#
|
232
|
+
# @param consecutive_minimum_payments_made [Integer] Number of consecutive minimum payments made
|
233
|
+
#
|
234
|
+
# @param consecutive_minimum_payments_missed [Integer] Number of consecutive minimum payments missed
|
235
|
+
#
|
236
|
+
# @param days_past_due [Integer] Number of days past due
|
237
|
+
#
|
238
|
+
# @param financial_account_state [Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState] Information about the financial account state
|
239
|
+
#
|
240
|
+
# @param has_grace [Boolean] Whether the account currently has grace or not
|
241
|
+
#
|
242
|
+
# @param period_number [Integer] Current overall period number
|
243
|
+
#
|
213
244
|
# @param period_state [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::PeriodState]
|
214
245
|
|
215
246
|
# @see Lithic::Models::FinancialAccounts::Statement::AccountStanding#financial_account_state
|
@@ -232,8 +263,9 @@ module Lithic
|
|
232
263
|
# @!method initialize(status:, substatus: nil)
|
233
264
|
# Information about the financial account state
|
234
265
|
#
|
235
|
-
# @param status [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status]
|
236
|
-
#
|
266
|
+
# @param status [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status] Status of the financial account
|
267
|
+
#
|
268
|
+
# @param substatus [Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus, nil] Substatus for the financial account
|
237
269
|
|
238
270
|
# Status of the financial account
|
239
271
|
#
|
@@ -298,8 +330,13 @@ module Lithic
|
|
298
330
|
required :past_due, Integer
|
299
331
|
|
300
332
|
# @!method initialize(amount:, past_due:)
|
301
|
-
#
|
302
|
-
#
|
333
|
+
# Some parameter documentations has been truncated, see
|
334
|
+
# {Lithic::Models::FinancialAccounts::Statement::AmountDue} for more details.
|
335
|
+
#
|
336
|
+
# @param amount [Integer] Payment due at the end of the billing period in cents. Negative amount indicates
|
337
|
+
# ...
|
338
|
+
#
|
339
|
+
# @param past_due [Integer] Amount past due for statement in cents
|
303
340
|
end
|
304
341
|
|
305
342
|
# @see Lithic::Models::FinancialAccounts::Statement#period_totals
|
@@ -348,13 +385,23 @@ module Lithic
|
|
348
385
|
required :purchases, Integer
|
349
386
|
|
350
387
|
# @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
# @param
|
355
|
-
#
|
356
|
-
# @param
|
357
|
-
#
|
388
|
+
# Some parameter documentations has been truncated, see
|
389
|
+
# {Lithic::Models::FinancialAccounts::Statement::PeriodTotals} for more details.
|
390
|
+
#
|
391
|
+
# @param balance_transfers [Integer] Opening balance transferred from previous account in cents
|
392
|
+
#
|
393
|
+
# @param cash_advances [Integer] ATM and cashback transactions in cents
|
394
|
+
#
|
395
|
+
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
396
|
+
# ...
|
397
|
+
#
|
398
|
+
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
399
|
+
#
|
400
|
+
# @param interest [Integer] Interest accrued in cents
|
401
|
+
#
|
402
|
+
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
403
|
+
#
|
404
|
+
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
358
405
|
end
|
359
406
|
|
360
407
|
# @see Lithic::Models::FinancialAccounts::Statement#statement_type
|
@@ -415,13 +462,23 @@ module Lithic
|
|
415
462
|
required :purchases, Integer
|
416
463
|
|
417
464
|
# @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
# @param
|
422
|
-
#
|
423
|
-
# @param
|
424
|
-
#
|
465
|
+
# Some parameter documentations has been truncated, see
|
466
|
+
# {Lithic::Models::FinancialAccounts::Statement::YtdTotals} for more details.
|
467
|
+
#
|
468
|
+
# @param balance_transfers [Integer] Opening balance transferred from previous account in cents
|
469
|
+
#
|
470
|
+
# @param cash_advances [Integer] ATM and cashback transactions in cents
|
471
|
+
#
|
472
|
+
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
473
|
+
# ...
|
474
|
+
#
|
475
|
+
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
476
|
+
#
|
477
|
+
# @param interest [Integer] Interest accrued in cents
|
478
|
+
#
|
479
|
+
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
480
|
+
#
|
481
|
+
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
425
482
|
end
|
426
483
|
|
427
484
|
# @see Lithic::Models::FinancialAccounts::Statement#interest_details
|
@@ -49,12 +49,25 @@ module Lithic
|
|
49
49
|
optional :starting_after, String
|
50
50
|
|
51
51
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, include_initial_statements: nil, page_size: nil, starting_after: nil, request_options: {})
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
# @param
|
56
|
-
#
|
57
|
-
#
|
52
|
+
# Some parameter documentations has been truncated, see
|
53
|
+
# {Lithic::Models::FinancialAccounts::StatementListParams} for more details.
|
54
|
+
#
|
55
|
+
# @param begin_ [Date] Date string in RFC 3339 format. Only entries created after the specified date wi
|
56
|
+
# ...
|
57
|
+
#
|
58
|
+
# @param end_ [Date] Date string in RFC 3339 format. Only entries created before the specified date w
|
59
|
+
# ...
|
60
|
+
#
|
61
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
62
|
+
# ...
|
63
|
+
#
|
64
|
+
# @param include_initial_statements [Boolean] Whether to include the initial statement. It is not included by default.
|
65
|
+
#
|
66
|
+
# @param page_size [Integer] Page size (for pagination).
|
67
|
+
#
|
68
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
69
|
+
# ...
|
70
|
+
#
|
58
71
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
59
72
|
end
|
60
73
|
end
|
@@ -15,7 +15,8 @@ module Lithic
|
|
15
15
|
required :financial_account_token, String
|
16
16
|
|
17
17
|
# @!method initialize(financial_account_token:, request_options: {})
|
18
|
-
# @param financial_account_token [String]
|
18
|
+
# @param financial_account_token [String] Globally unique identifier for financial account.
|
19
|
+
#
|
19
20
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
20
21
|
end
|
21
22
|
end
|
@@ -36,10 +36,20 @@ module Lithic
|
|
36
36
|
optional :starting_after, String
|
37
37
|
|
38
38
|
# @!method initialize(financial_account_token:, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
39
|
+
# Some parameter documentations has been truncated, see
|
40
|
+
# {Lithic::Models::FinancialAccounts::Statements::LineItemListParams} for more
|
41
|
+
# details.
|
42
|
+
#
|
43
|
+
# @param financial_account_token [String] Globally unique identifier for financial account.
|
44
|
+
#
|
45
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
46
|
+
# ...
|
47
|
+
#
|
48
|
+
# @param page_size [Integer] Page size (for pagination).
|
49
|
+
#
|
50
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
51
|
+
# ...
|
52
|
+
#
|
43
53
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
44
54
|
end
|
45
55
|
end
|
@@ -94,17 +94,33 @@ module Lithic
|
|
94
94
|
optional :descriptor, String
|
95
95
|
|
96
96
|
# @!method initialize(token:, amount:, category:, created:, currency:, effective_date:, event_type:, financial_account_token:, financial_transaction_event_token:, financial_transaction_token:, card_token: nil, descriptor: nil)
|
97
|
-
#
|
98
|
-
#
|
97
|
+
# Some parameter documentations has been truncated, see
|
98
|
+
# {Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data} for
|
99
|
+
# more details.
|
100
|
+
#
|
101
|
+
# @param token [String] Globally unique identifier for a Statement Line Item
|
102
|
+
#
|
103
|
+
# @param amount [Integer] Transaction amount in cents
|
104
|
+
#
|
99
105
|
# @param category [Symbol, Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::Category]
|
100
|
-
#
|
101
|
-
# @param
|
102
|
-
#
|
106
|
+
#
|
107
|
+
# @param created [Time] Timestamp of when the line item was generated
|
108
|
+
#
|
109
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the settling currency of the transactio
|
110
|
+
# ...
|
111
|
+
#
|
112
|
+
# @param effective_date [Date] Date that the transaction effected the account balance
|
113
|
+
#
|
103
114
|
# @param event_type [Symbol, Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::EventType]
|
104
|
-
#
|
105
|
-
# @param
|
106
|
-
#
|
107
|
-
# @param
|
115
|
+
#
|
116
|
+
# @param financial_account_token [String] Globally unique identifier for a financial account
|
117
|
+
#
|
118
|
+
# @param financial_transaction_event_token [String] Globally unique identifier for a financial transaction event
|
119
|
+
#
|
120
|
+
# @param financial_transaction_token [String] Globally unique identifier for a financial transaction
|
121
|
+
#
|
122
|
+
# @param card_token [String] Globally unique identifier for a card
|
123
|
+
#
|
108
124
|
# @param descriptor [String]
|
109
125
|
|
110
126
|
# @see Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data#category
|
@@ -90,17 +90,35 @@ module Lithic
|
|
90
90
|
required :updated, Time
|
91
91
|
|
92
92
|
# @!method initialize(token:, category:, created:, currency:, descriptor:, events:, pending_amount:, result:, settled_amount:, status:, updated:)
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
# @param
|
97
|
-
#
|
98
|
-
# @param
|
99
|
-
#
|
100
|
-
# @param
|
101
|
-
#
|
102
|
-
# @param
|
103
|
-
#
|
93
|
+
# Some parameter documentations has been truncated, see
|
94
|
+
# {Lithic::Models::FinancialTransaction} for more details.
|
95
|
+
#
|
96
|
+
# @param token [String] Globally unique identifier.
|
97
|
+
#
|
98
|
+
# @param category [Symbol, Lithic::Models::FinancialTransaction::Category] Status types: ...
|
99
|
+
#
|
100
|
+
# @param created [Time] Date and time when the financial transaction first occurred. UTC time zone.
|
101
|
+
#
|
102
|
+
# @param currency [String] 3-character alphabetic ISO 4217 code for the settling currency of the transactio
|
103
|
+
# ...
|
104
|
+
#
|
105
|
+
# @param descriptor [String] A string that provides a description of the financial transaction; may be useful
|
106
|
+
# ...
|
107
|
+
#
|
108
|
+
# @param events [Array<Lithic::Models::FinancialTransaction::Event>] A list of all financial events that have modified this financial transaction.
|
109
|
+
#
|
110
|
+
# @param pending_amount [Integer] Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
111
|
+
# ...
|
112
|
+
#
|
113
|
+
# @param result [Symbol, Lithic::Models::FinancialTransaction::Result] APPROVED transactions were successful while DECLINED transactions were declined
|
114
|
+
# ...
|
115
|
+
#
|
116
|
+
# @param settled_amount [Integer] Amount of the transaction that has been settled in the currency's smallest unit
|
117
|
+
# ...
|
118
|
+
#
|
119
|
+
# @param status [Symbol, Lithic::Models::FinancialTransaction::Status] Status types: ...
|
120
|
+
#
|
121
|
+
# @param updated [Time] Date and time when the financial transaction was last updated. UTC time zone.
|
104
122
|
|
105
123
|
# Status types:
|
106
124
|
#
|
@@ -156,10 +174,19 @@ module Lithic
|
|
156
174
|
optional :type, enum: -> { Lithic::Models::FinancialTransaction::Event::Type }
|
157
175
|
|
158
176
|
# @!method initialize(token: nil, amount: nil, created: nil, result: nil, type: nil)
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# @param
|
177
|
+
# Some parameter documentations has been truncated, see
|
178
|
+
# {Lithic::Models::FinancialTransaction::Event} for more details.
|
179
|
+
#
|
180
|
+
# @param token [String] Globally unique identifier.
|
181
|
+
#
|
182
|
+
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
183
|
+
# ...
|
184
|
+
#
|
185
|
+
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
186
|
+
#
|
187
|
+
# @param result [Symbol, Lithic::Models::FinancialTransaction::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
188
|
+
# ...
|
189
|
+
#
|
163
190
|
# @param type [Symbol, Lithic::Models::FinancialTransaction::Event::Type]
|
164
191
|
|
165
192
|
# APPROVED financial events were successful while DECLINED financial events were
|