lithic 0.1.0.pre.alpha.23 → 0.1.0.pre.alpha.24
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 +21 -0
- data/README.md +2 -2
- data/lib/lithic/errors.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +77 -5
- data/lib/lithic/internal/transport/pooled_net_requester.rb +14 -0
- data/lib/lithic/internal/type/array_of.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +62 -30
- data/lib/lithic/internal/type/converter.rb +18 -0
- data/lib/lithic/internal/type/enum.rb +1 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -1
- data/lib/lithic/internal/type/union.rb +1 -0
- data/lib/lithic/internal/util.rb +56 -0
- data/lib/lithic/internal.rb +6 -0
- data/lib/lithic/models/account_holder_update_response.rb +9 -0
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +4 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +10 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +10 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_update_response.rb +20 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -0
- data/lib/lithic/models/card_list_params.rb +9 -1
- data/lib/lithic/models/event.rb +1 -0
- data/lib/lithic/models/event_list_params.rb +1 -0
- data/lib/lithic/models/event_subscription.rb +1 -0
- data/lib/lithic/models/events/subscription_create_params.rb +1 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +10 -1
- data/lib/lithic/models/transaction.rb +65 -9
- data/lib/lithic/models.rb +27 -0
- data/lib/lithic/request_options.rb +4 -0
- data/lib/lithic/resources/cards.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/internal/transport/base_client.rbi +31 -13
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +5 -5
- data/rbi/lithic/internal/type/base_model.rbi +31 -15
- data/rbi/lithic/internal/type/base_page.rbi +1 -2
- data/rbi/lithic/internal/type/converter.rbi +2 -0
- data/rbi/lithic/internal/type/enum.rbi +1 -0
- data/rbi/lithic/internal/type/union.rbi +1 -0
- data/rbi/lithic/internal/util.rbi +28 -5
- data/rbi/lithic/internal.rbi +2 -0
- data/rbi/lithic/models/account.rbi +17 -4
- data/rbi/lithic/models/account_holder.rbi +41 -7
- data/rbi/lithic/models/account_holder_create_params.rbi +39 -6
- data/rbi/lithic/models/account_holder_create_response.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_documents_response.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_params.rbi +4 -1
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +53 -8
- data/rbi/lithic/models/account_holder_update_params.rbi +39 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +62 -10
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +7 -1
- data/rbi/lithic/models/account_list_params.rbi +4 -1
- data/rbi/lithic/models/account_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +7 -1
- data/rbi/lithic/models/account_spend_limits.rbi +25 -4
- data/rbi/lithic/models/account_update_params.rbi +11 -2
- data/rbi/lithic/models/address.rbi +2 -1
- data/rbi/lithic/models/address_update.rbi +2 -1
- data/rbi/lithic/models/aggregate_balance.rbi +4 -1
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +4 -1
- data/rbi/lithic/models/api_status.rbi +2 -1
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +4 -1
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +7 -1
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_create_response.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +42 -7
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +16 -3
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +16 -3
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_report_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_report_response.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +13 -2
- data/rbi/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/auth_stream_secret.rbi +4 -1
- data/rbi/lithic/models/balance.rbi +2 -1
- data/rbi/lithic/models/balance_list_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_create_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_list_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_response.rbi +11 -2
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +4 -1
- data/rbi/lithic/models/card.rbi +1 -1
- data/rbi/lithic/models/card_convert_physical_params.rbi +4 -1
- data/rbi/lithic/models/card_create_params.rbi +4 -1
- data/rbi/lithic/models/card_embed_params.rbi +4 -1
- data/rbi/lithic/models/card_list_params.rbi +15 -1
- data/rbi/lithic/models/card_program.rbi +2 -1
- data/rbi/lithic/models/card_program_list_params.rbi +4 -1
- data/rbi/lithic/models/card_program_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/card_provision_params.rbi +4 -1
- data/rbi/lithic/models/card_provision_response.rbi +7 -1
- data/rbi/lithic/models/card_reissue_params.rbi +4 -1
- data/rbi/lithic/models/card_renew_params.rbi +4 -1
- data/rbi/lithic/models/card_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +7 -1
- data/rbi/lithic/models/card_search_by_pan_params.rbi +4 -1
- data/rbi/lithic/models/card_spend_limits.rbi +25 -4
- data/rbi/lithic/models/card_update_params.rbi +4 -1
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +7 -1
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +7 -1
- data/rbi/lithic/models/cards/balance_list_params.rbi +4 -1
- data/rbi/lithic/models/cards/balance_list_response.rbi +7 -1
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +7 -1
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/carrier.rbi +2 -1
- data/rbi/lithic/models/client_api_status_params.rbi +4 -1
- data/rbi/lithic/models/credit_products/extended_credit.rbi +7 -1
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_response.rbi +13 -2
- data/rbi/lithic/models/digital_card_art.rbi +4 -1
- data/rbi/lithic/models/digital_card_art_list_params.rbi +4 -1
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/dispute.rbi +2 -1
- data/rbi/lithic/models/dispute_create_params.rbi +4 -1
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +4 -1
- data/rbi/lithic/models/dispute_delete_params.rbi +4 -1
- data/rbi/lithic/models/dispute_evidence.rbi +4 -1
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +7 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +4 -1
- data/rbi/lithic/models/dispute_list_params.rbi +4 -1
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +7 -1
- data/rbi/lithic/models/dispute_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/dispute_update_params.rbi +4 -1
- data/rbi/lithic/models/document.rbi +9 -2
- data/rbi/lithic/models/event.rbi +6 -1
- data/rbi/lithic/models/event_list_attempts_params.rbi +4 -1
- data/rbi/lithic/models/event_list_params.rbi +9 -1
- data/rbi/lithic/models/event_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/event_subscription.rbi +9 -1
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_create_params.rbi +12 -1
- data/rbi/lithic/models/events/subscription_delete_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_list_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_recover_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_secret_response.rbi +7 -1
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +12 -1
- data/rbi/lithic/models/events/subscription_update_params.rbi +12 -1
- data/rbi/lithic/models/external_bank_account_address.rbi +4 -1
- data/rbi/lithic/models/external_bank_account_create_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_create_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_list_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_list_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_update_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_update_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +7 -1
- data/rbi/lithic/models/external_payment.rbi +8 -2
- data/rbi/lithic/models/external_payment_cancel_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_create_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_list_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/external_payment_reverse_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +4 -1
- data/rbi/lithic/models/financial_account.rbi +11 -2
- data/rbi/lithic/models/financial_account_create_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_list_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_account_update_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_update_status_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +109 -18
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statement.rbi +61 -10
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +6 -1
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +17 -2
- data/rbi/lithic/models/financial_accounts/statements.rbi +7 -1
- data/rbi/lithic/models/financial_transaction.rbi +11 -2
- data/rbi/lithic/models/kyb.rbi +20 -5
- data/rbi/lithic/models/kyb_business_entity.rbi +8 -2
- data/rbi/lithic/models/kyc.rbi +5 -2
- data/rbi/lithic/models/kyc_exempt.rbi +2 -1
- data/rbi/lithic/models/management_operation_create_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_list_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_reverse_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_transaction.rbi +21 -3
- data/rbi/lithic/models/message_attempt.rbi +4 -1
- data/rbi/lithic/models/non_pci_card.rbi +6 -2
- data/rbi/lithic/models/payment.rbi +10 -3
- data/rbi/lithic/models/payment_create_params.rbi +11 -2
- data/rbi/lithic/models/payment_create_response.rbi +7 -1
- data/rbi/lithic/models/payment_list_params.rbi +4 -1
- data/rbi/lithic/models/payment_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/payment_retry_params.rbi +4 -1
- data/rbi/lithic/models/payment_retry_response.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_action_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_action_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_receipt_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_receipt_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_release_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_release_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_return_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_return_response.rbi +7 -1
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +6 -1
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +12 -2
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -2
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +7 -1
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +7 -1
- data/rbi/lithic/models/required_document.rbi +4 -1
- data/rbi/lithic/models/responder_endpoint_check_status_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_create_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_create_response.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_delete_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_status.rbi +4 -1
- data/rbi/lithic/models/settlement_detail.rbi +11 -2
- data/rbi/lithic/models/settlement_report.rbi +4 -1
- data/rbi/lithic/models/settlement_summary_details.rbi +4 -1
- data/rbi/lithic/models/shipping_address.rbi +4 -1
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +77 -11
- data/rbi/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/authentication_simulate_params.rbi +19 -3
- data/rbi/lithic/models/three_ds/authentication_simulate_response.rbi +7 -1
- data/rbi/lithic/models/three_ds/challenge_response.rbi +4 -1
- data/rbi/lithic/models/three_ds/decisioning_challenge_response_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization.rbi +6 -2
- data/rbi/lithic/models/tokenization_activate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_list_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_pause_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_secret.rbi +4 -1
- data/rbi/lithic/models/tokenization_simulate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_simulate_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_unpause_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +7 -1
- data/rbi/lithic/models/transaction.rbi +293 -40
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_list_params.rbi +4 -1
- data/rbi/lithic/models/transaction_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/transaction_simulate_authorization_advice_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_advice_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_clearing_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_credit_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_credit_authorization_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_reversal_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_reversal_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_void_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_void_response.rbi +7 -1
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +42 -7
- data/rbi/lithic/models/transfer.rbi +6 -2
- data/rbi/lithic/models/transfer_create_params.rbi +4 -1
- data/rbi/lithic/request_options.rbi +2 -1
- data/rbi/lithic/resources/cards.rbi +3 -0
- data/sig/lithic/internal/transport/base_client.rbs +16 -1
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +11 -5
- data/sig/lithic/internal/type/base_page.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +2 -0
- data/sig/lithic/internal/type/enum.rbs +1 -0
- data/sig/lithic/internal/type/union.rbs +1 -0
- data/sig/lithic/internal/util.rbs +13 -0
- data/sig/lithic/internal.rbs +2 -0
- data/sig/lithic/models/card_list_params.rbs +6 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +4 -0
- data/sig/lithic/models/transaction.rbs +43 -3
- data/sig/lithic/resources/cards.rbs +1 -0
- metadata +2 -2
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class FinancialAccount < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::FinancialAccount, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Globally unique identifier for the account
|
9
12
|
sig { returns(String) }
|
@@ -116,7 +119,13 @@ module Lithic
|
|
116
119
|
end
|
117
120
|
|
118
121
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
119
|
-
OrHash =
|
122
|
+
OrHash =
|
123
|
+
T.type_alias do
|
124
|
+
T.any(
|
125
|
+
Lithic::FinancialAccount::CreditConfiguration,
|
126
|
+
Lithic::Internal::AnyHash
|
127
|
+
)
|
128
|
+
end
|
120
129
|
|
121
130
|
# Reason for the financial account being marked as Charged Off
|
122
131
|
sig do
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::FinancialAccountCreateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig { returns(String) }
|
12
15
|
attr_accessor :nickname
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::FinancialAccountListParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# List financial accounts for a given account_token or business_account_token
|
12
15
|
sig { returns(T.nilable(String)) }
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::FinancialAccountRetrieveParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig do
|
12
18
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::FinancialAccountUpdateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig { returns(T.nilable(String)) }
|
12
15
|
attr_reader :nickname
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::FinancialAccountUpdateStatusParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# Status of the financial account
|
12
18
|
sig do
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::BalanceListParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# UTC date of the balance to retrieve. Defaults to latest available balance
|
13
19
|
sig { returns(T.nilable(Time)) }
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module FinancialAccounts
|
6
6
|
class BalanceListResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::Models::FinancialAccounts::BalanceListResponse,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# Globally unique identifier for the financial account that holds this balance.
|
10
16
|
sig { returns(String) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::CreditConfigurationRetrieveParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::CreditConfigurationUpdateParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig { returns(T.nilable(Integer)) }
|
13
19
|
attr_reader :credit_limit
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
|
8
8
|
module FinancialAccounts
|
9
9
|
class FinancialAccountCreditConfig < Lithic::Internal::Type::BaseModel
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::FinancialAccountCreditConfig,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Globally unique identifier for the account
|
13
19
|
sig { returns(String) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::FinancialTransactionListParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
19
|
# will be included. UTC time zone.
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::FinancialTransactionRetrieveParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig { returns(String) }
|
13
19
|
attr_accessor :financial_account_token
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module FinancialAccounts
|
6
6
|
class LoanTape < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::FinancialAccounts::LoanTape,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# Globally unique identifier for a loan tape
|
10
16
|
sig { returns(String) }
|
@@ -286,7 +292,12 @@ module Lithic
|
|
286
292
|
|
287
293
|
class AccountStanding < Lithic::Internal::Type::BaseModel
|
288
294
|
OrHash =
|
289
|
-
T.type_alias
|
295
|
+
T.type_alias do
|
296
|
+
T.any(
|
297
|
+
Lithic::FinancialAccounts::LoanTape::AccountStanding,
|
298
|
+
Lithic::Internal::AnyHash
|
299
|
+
)
|
300
|
+
end
|
290
301
|
|
291
302
|
# Number of consecutive full payments made
|
292
303
|
sig { returns(Integer) }
|
@@ -389,7 +400,12 @@ module Lithic
|
|
389
400
|
|
390
401
|
class FinancialAccountState < Lithic::Internal::Type::BaseModel
|
391
402
|
OrHash =
|
392
|
-
T.type_alias
|
403
|
+
T.type_alias do
|
404
|
+
T.any(
|
405
|
+
Lithic::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState,
|
406
|
+
Lithic::Internal::AnyHash
|
407
|
+
)
|
408
|
+
end
|
393
409
|
|
394
410
|
# Status of the financial account
|
395
411
|
sig do
|
@@ -581,7 +597,12 @@ module Lithic
|
|
581
597
|
|
582
598
|
class Balances < Lithic::Internal::Type::BaseModel
|
583
599
|
OrHash =
|
584
|
-
T.type_alias
|
600
|
+
T.type_alias do
|
601
|
+
T.any(
|
602
|
+
Lithic::FinancialAccounts::LoanTape::Balances,
|
603
|
+
Lithic::Internal::AnyHash
|
604
|
+
)
|
605
|
+
end
|
585
606
|
|
586
607
|
# Amount due for the prior billing cycle. Any amounts not fully paid off on this
|
587
608
|
# due date will be considered past due the next day
|
@@ -687,7 +708,12 @@ module Lithic
|
|
687
708
|
|
688
709
|
class Due < Lithic::Internal::Type::BaseModel
|
689
710
|
OrHash =
|
690
|
-
T.type_alias
|
711
|
+
T.type_alias do
|
712
|
+
T.any(
|
713
|
+
Lithic::FinancialAccounts::LoanTape::Balances::Due,
|
714
|
+
Lithic::Internal::AnyHash
|
715
|
+
)
|
716
|
+
end
|
691
717
|
|
692
718
|
sig { returns(Integer) }
|
693
719
|
attr_accessor :fees
|
@@ -721,7 +747,12 @@ module Lithic
|
|
721
747
|
|
722
748
|
class NextStatementDue < Lithic::Internal::Type::BaseModel
|
723
749
|
OrHash =
|
724
|
-
T.type_alias
|
750
|
+
T.type_alias do
|
751
|
+
T.any(
|
752
|
+
Lithic::FinancialAccounts::LoanTape::Balances::NextStatementDue,
|
753
|
+
Lithic::Internal::AnyHash
|
754
|
+
)
|
755
|
+
end
|
725
756
|
|
726
757
|
sig { returns(Integer) }
|
727
758
|
attr_accessor :fees
|
@@ -756,7 +787,12 @@ module Lithic
|
|
756
787
|
|
757
788
|
class PastDue < Lithic::Internal::Type::BaseModel
|
758
789
|
OrHash =
|
759
|
-
T.type_alias
|
790
|
+
T.type_alias do
|
791
|
+
T.any(
|
792
|
+
Lithic::FinancialAccounts::LoanTape::Balances::PastDue,
|
793
|
+
Lithic::Internal::AnyHash
|
794
|
+
)
|
795
|
+
end
|
760
796
|
|
761
797
|
sig { returns(Integer) }
|
762
798
|
attr_accessor :fees
|
@@ -789,7 +825,12 @@ module Lithic
|
|
789
825
|
|
790
826
|
class PastStatementsDue < Lithic::Internal::Type::BaseModel
|
791
827
|
OrHash =
|
792
|
-
T.type_alias
|
828
|
+
T.type_alias do
|
829
|
+
T.any(
|
830
|
+
Lithic::FinancialAccounts::LoanTape::Balances::PastStatementsDue,
|
831
|
+
Lithic::Internal::AnyHash
|
832
|
+
)
|
833
|
+
end
|
793
834
|
|
794
835
|
sig { returns(Integer) }
|
795
836
|
attr_accessor :fees
|
@@ -823,7 +864,12 @@ module Lithic
|
|
823
864
|
|
824
865
|
class DayTotals < Lithic::Internal::Type::BaseModel
|
825
866
|
OrHash =
|
826
|
-
T.type_alias
|
867
|
+
T.type_alias do
|
868
|
+
T.any(
|
869
|
+
Lithic::FinancialAccounts::LoanTape::DayTotals,
|
870
|
+
Lithic::Internal::AnyHash
|
871
|
+
)
|
872
|
+
end
|
827
873
|
|
828
874
|
# Opening balance transferred from previous account in cents
|
829
875
|
sig { returns(Integer) }
|
@@ -903,7 +949,12 @@ module Lithic
|
|
903
949
|
|
904
950
|
class InterestDetails < Lithic::Internal::Type::BaseModel
|
905
951
|
OrHash =
|
906
|
-
T.type_alias
|
952
|
+
T.type_alias do
|
953
|
+
T.any(
|
954
|
+
Lithic::FinancialAccounts::LoanTape::InterestDetails,
|
955
|
+
Lithic::Internal::AnyHash
|
956
|
+
)
|
957
|
+
end
|
907
958
|
|
908
959
|
sig { returns(T.nilable(Integer)) }
|
909
960
|
attr_accessor :actual_interest_charged
|
@@ -1014,7 +1065,12 @@ module Lithic
|
|
1014
1065
|
|
1015
1066
|
class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
|
1016
1067
|
OrHash =
|
1017
|
-
T.type_alias
|
1068
|
+
T.type_alias do
|
1069
|
+
T.any(
|
1070
|
+
Lithic::FinancialAccounts::LoanTape::InterestDetails::DailyBalanceAmounts,
|
1071
|
+
Lithic::Internal::AnyHash
|
1072
|
+
)
|
1073
|
+
end
|
1018
1074
|
|
1019
1075
|
sig { returns(String) }
|
1020
1076
|
attr_accessor :balance_transfers
|
@@ -1050,7 +1106,12 @@ module Lithic
|
|
1050
1106
|
|
1051
1107
|
class EffectiveApr < Lithic::Internal::Type::BaseModel
|
1052
1108
|
OrHash =
|
1053
|
-
T.type_alias
|
1109
|
+
T.type_alias do
|
1110
|
+
T.any(
|
1111
|
+
Lithic::FinancialAccounts::LoanTape::InterestDetails::EffectiveApr,
|
1112
|
+
Lithic::Internal::AnyHash
|
1113
|
+
)
|
1114
|
+
end
|
1054
1115
|
|
1055
1116
|
sig { returns(String) }
|
1056
1117
|
attr_accessor :balance_transfers
|
@@ -1120,7 +1181,12 @@ module Lithic
|
|
1120
1181
|
|
1121
1182
|
class InterestForPeriod < Lithic::Internal::Type::BaseModel
|
1122
1183
|
OrHash =
|
1123
|
-
T.type_alias
|
1184
|
+
T.type_alias do
|
1185
|
+
T.any(
|
1186
|
+
Lithic::FinancialAccounts::LoanTape::InterestDetails::InterestForPeriod,
|
1187
|
+
Lithic::Internal::AnyHash
|
1188
|
+
)
|
1189
|
+
end
|
1124
1190
|
|
1125
1191
|
sig { returns(String) }
|
1126
1192
|
attr_accessor :balance_transfers
|
@@ -1157,7 +1223,12 @@ module Lithic
|
|
1157
1223
|
|
1158
1224
|
class MinimumPaymentBalance < Lithic::Internal::Type::BaseModel
|
1159
1225
|
OrHash =
|
1160
|
-
T.type_alias
|
1226
|
+
T.type_alias do
|
1227
|
+
T.any(
|
1228
|
+
Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
1229
|
+
Lithic::Internal::AnyHash
|
1230
|
+
)
|
1231
|
+
end
|
1161
1232
|
|
1162
1233
|
sig { returns(Integer) }
|
1163
1234
|
attr_accessor :amount
|
@@ -1180,7 +1251,12 @@ module Lithic
|
|
1180
1251
|
|
1181
1252
|
class PaymentAllocation < Lithic::Internal::Type::BaseModel
|
1182
1253
|
OrHash =
|
1183
|
-
T.type_alias
|
1254
|
+
T.type_alias do
|
1255
|
+
T.any(
|
1256
|
+
Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
1257
|
+
Lithic::Internal::AnyHash
|
1258
|
+
)
|
1259
|
+
end
|
1184
1260
|
|
1185
1261
|
sig { returns(Integer) }
|
1186
1262
|
attr_accessor :fees
|
@@ -1212,7 +1288,12 @@ module Lithic
|
|
1212
1288
|
|
1213
1289
|
class PeriodTotals < Lithic::Internal::Type::BaseModel
|
1214
1290
|
OrHash =
|
1215
|
-
T.type_alias
|
1291
|
+
T.type_alias do
|
1292
|
+
T.any(
|
1293
|
+
Lithic::FinancialAccounts::LoanTape::PeriodTotals,
|
1294
|
+
Lithic::Internal::AnyHash
|
1295
|
+
)
|
1296
|
+
end
|
1216
1297
|
|
1217
1298
|
# Opening balance transferred from previous account in cents
|
1218
1299
|
sig { returns(Integer) }
|
@@ -1292,7 +1373,12 @@ module Lithic
|
|
1292
1373
|
|
1293
1374
|
class PreviousStatementBalance < Lithic::Internal::Type::BaseModel
|
1294
1375
|
OrHash =
|
1295
|
-
T.type_alias
|
1376
|
+
T.type_alias do
|
1377
|
+
T.any(
|
1378
|
+
Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
1379
|
+
Lithic::Internal::AnyHash
|
1380
|
+
)
|
1381
|
+
end
|
1296
1382
|
|
1297
1383
|
sig { returns(Integer) }
|
1298
1384
|
attr_accessor :amount
|
@@ -1315,7 +1401,12 @@ module Lithic
|
|
1315
1401
|
|
1316
1402
|
class YtdTotals < Lithic::Internal::Type::BaseModel
|
1317
1403
|
OrHash =
|
1318
|
-
T.type_alias
|
1404
|
+
T.type_alias do
|
1405
|
+
T.any(
|
1406
|
+
Lithic::FinancialAccounts::LoanTape::YtdTotals,
|
1407
|
+
Lithic::Internal::AnyHash
|
1408
|
+
)
|
1409
|
+
end
|
1319
1410
|
|
1320
1411
|
# Opening balance transferred from previous account in cents
|
1321
1412
|
sig { returns(Integer) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::LoanTapeListParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
13
19
|
# will be included.
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::LoanTapeRetrieveParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Globally unique identifier for financial account.
|
13
19
|
sig { returns(String) }
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module FinancialAccounts
|
6
6
|
class Statement < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::FinancialAccounts::Statement,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# Globally unique identifier for a statement
|
10
16
|
sig { returns(String) }
|
@@ -248,7 +254,12 @@ module Lithic
|
|
248
254
|
|
249
255
|
class AccountStanding < Lithic::Internal::Type::BaseModel
|
250
256
|
OrHash =
|
251
|
-
T.type_alias
|
257
|
+
T.type_alias do
|
258
|
+
T.any(
|
259
|
+
Lithic::FinancialAccounts::Statement::AccountStanding,
|
260
|
+
Lithic::Internal::AnyHash
|
261
|
+
)
|
262
|
+
end
|
252
263
|
|
253
264
|
# Number of consecutive full payments made
|
254
265
|
sig { returns(Integer) }
|
@@ -351,7 +362,12 @@ module Lithic
|
|
351
362
|
|
352
363
|
class FinancialAccountState < Lithic::Internal::Type::BaseModel
|
353
364
|
OrHash =
|
354
|
-
T.type_alias
|
365
|
+
T.type_alias do
|
366
|
+
T.any(
|
367
|
+
Lithic::FinancialAccounts::Statement::AccountStanding::FinancialAccountState,
|
368
|
+
Lithic::Internal::AnyHash
|
369
|
+
)
|
370
|
+
end
|
355
371
|
|
356
372
|
# Status of the financial account
|
357
373
|
sig do
|
@@ -543,7 +559,12 @@ module Lithic
|
|
543
559
|
|
544
560
|
class AmountDue < Lithic::Internal::Type::BaseModel
|
545
561
|
OrHash =
|
546
|
-
T.type_alias
|
562
|
+
T.type_alias do
|
563
|
+
T.any(
|
564
|
+
Lithic::FinancialAccounts::Statement::AmountDue,
|
565
|
+
Lithic::Internal::AnyHash
|
566
|
+
)
|
567
|
+
end
|
547
568
|
|
548
569
|
# Payment due at the end of the billing period in cents. Negative amount indicates
|
549
570
|
# something is owed. If the amount owed is positive there was a net credit. If
|
@@ -577,7 +598,12 @@ module Lithic
|
|
577
598
|
|
578
599
|
class PeriodTotals < Lithic::Internal::Type::BaseModel
|
579
600
|
OrHash =
|
580
|
-
T.type_alias
|
601
|
+
T.type_alias do
|
602
|
+
T.any(
|
603
|
+
Lithic::FinancialAccounts::Statement::PeriodTotals,
|
604
|
+
Lithic::Internal::AnyHash
|
605
|
+
)
|
606
|
+
end
|
581
607
|
|
582
608
|
# Opening balance transferred from previous account in cents
|
583
609
|
sig { returns(Integer) }
|
@@ -693,7 +719,12 @@ module Lithic
|
|
693
719
|
|
694
720
|
class YtdTotals < Lithic::Internal::Type::BaseModel
|
695
721
|
OrHash =
|
696
|
-
T.type_alias
|
722
|
+
T.type_alias do
|
723
|
+
T.any(
|
724
|
+
Lithic::FinancialAccounts::Statement::YtdTotals,
|
725
|
+
Lithic::Internal::AnyHash
|
726
|
+
)
|
727
|
+
end
|
697
728
|
|
698
729
|
# Opening balance transferred from previous account in cents
|
699
730
|
sig { returns(Integer) }
|
@@ -773,7 +804,12 @@ module Lithic
|
|
773
804
|
|
774
805
|
class InterestDetails < Lithic::Internal::Type::BaseModel
|
775
806
|
OrHash =
|
776
|
-
T.type_alias
|
807
|
+
T.type_alias do
|
808
|
+
T.any(
|
809
|
+
Lithic::FinancialAccounts::Statement::InterestDetails,
|
810
|
+
Lithic::Internal::AnyHash
|
811
|
+
)
|
812
|
+
end
|
777
813
|
|
778
814
|
sig { returns(T.nilable(Integer)) }
|
779
815
|
attr_accessor :actual_interest_charged
|
@@ -884,7 +920,12 @@ module Lithic
|
|
884
920
|
|
885
921
|
class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
|
886
922
|
OrHash =
|
887
|
-
T.type_alias
|
923
|
+
T.type_alias do
|
924
|
+
T.any(
|
925
|
+
Lithic::FinancialAccounts::Statement::InterestDetails::DailyBalanceAmounts,
|
926
|
+
Lithic::Internal::AnyHash
|
927
|
+
)
|
928
|
+
end
|
888
929
|
|
889
930
|
sig { returns(String) }
|
890
931
|
attr_accessor :balance_transfers
|
@@ -920,7 +961,12 @@ module Lithic
|
|
920
961
|
|
921
962
|
class EffectiveApr < Lithic::Internal::Type::BaseModel
|
922
963
|
OrHash =
|
923
|
-
T.type_alias
|
964
|
+
T.type_alias do
|
965
|
+
T.any(
|
966
|
+
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr,
|
967
|
+
Lithic::Internal::AnyHash
|
968
|
+
)
|
969
|
+
end
|
924
970
|
|
925
971
|
sig { returns(String) }
|
926
972
|
attr_accessor :balance_transfers
|
@@ -990,7 +1036,12 @@ module Lithic
|
|
990
1036
|
|
991
1037
|
class InterestForPeriod < Lithic::Internal::Type::BaseModel
|
992
1038
|
OrHash =
|
993
|
-
T.type_alias
|
1039
|
+
T.type_alias do
|
1040
|
+
T.any(
|
1041
|
+
Lithic::FinancialAccounts::Statement::InterestDetails::InterestForPeriod,
|
1042
|
+
Lithic::Internal::AnyHash
|
1043
|
+
)
|
1044
|
+
end
|
994
1045
|
|
995
1046
|
sig { returns(String) }
|
996
1047
|
attr_accessor :balance_transfers
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::StatementListParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
13
19
|
# will be included.
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::StatementRetrieveParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# Globally unique identifier for financial account.
|
13
19
|
sig { returns(String) }
|
@@ -9,7 +9,12 @@ module Lithic
|
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
10
10
|
|
11
11
|
OrHash =
|
12
|
-
T.type_alias
|
12
|
+
T.type_alias do
|
13
|
+
T.any(
|
14
|
+
Lithic::FinancialAccounts::Statements::LineItemListParams,
|
15
|
+
Lithic::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
13
18
|
|
14
19
|
# Globally unique identifier for financial account.
|
15
20
|
sig { returns(String) }
|