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
@@ -8,7 +8,12 @@ module Lithic
|
|
8
8
|
module Statements
|
9
9
|
class StatementLineItems < Lithic::Internal::Type::BaseModel
|
10
10
|
OrHash =
|
11
|
-
T.type_alias
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
12
17
|
|
13
18
|
sig do
|
14
19
|
returns(
|
@@ -50,7 +55,12 @@ module Lithic
|
|
50
55
|
|
51
56
|
class Data < Lithic::Internal::Type::BaseModel
|
52
57
|
OrHash =
|
53
|
-
T.type_alias
|
58
|
+
T.type_alias do
|
59
|
+
T.any(
|
60
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data,
|
61
|
+
Lithic::Internal::AnyHash
|
62
|
+
)
|
63
|
+
end
|
54
64
|
|
55
65
|
# Globally unique identifier for a Statement Line Item
|
56
66
|
sig { returns(String) }
|
@@ -251,6 +261,11 @@ module Lithic
|
|
251
261
|
:MANAGEMENT_DISBURSEMENT,
|
252
262
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
253
263
|
)
|
264
|
+
PROGRAM_FUNDING =
|
265
|
+
T.let(
|
266
|
+
:PROGRAM_FUNDING,
|
267
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
268
|
+
)
|
254
269
|
|
255
270
|
sig do
|
256
271
|
override.returns(
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module FinancialAccounts
|
6
6
|
class FinancialAccountsStatements < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::FinancialAccounts::FinancialAccountsStatements,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
sig { returns(T::Array[Lithic::FinancialAccounts::Statement]) }
|
10
16
|
attr_accessor :data
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class FinancialTransaction < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::FinancialTransaction, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Globally unique identifier.
|
9
12
|
sig { returns(String) }
|
@@ -182,7 +185,13 @@ module Lithic
|
|
182
185
|
end
|
183
186
|
|
184
187
|
class Event < Lithic::Internal::Type::BaseModel
|
185
|
-
OrHash =
|
188
|
+
OrHash =
|
189
|
+
T.type_alias do
|
190
|
+
T.any(
|
191
|
+
Lithic::FinancialTransaction::Event,
|
192
|
+
Lithic::Internal::AnyHash
|
193
|
+
)
|
194
|
+
end
|
186
195
|
|
187
196
|
# Globally unique identifier.
|
188
197
|
sig { returns(T.nilable(String)) }
|
data/rbi/lithic/models/kyb.rbi
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class KYB < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash = T.type_alias { T.any(
|
6
|
+
OrHash = T.type_alias { T.any(Lithic::KYB, Lithic::Internal::AnyHash) }
|
7
7
|
|
8
8
|
# You must submit a list of all direct and indirect individuals with 25% or more
|
9
9
|
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
@@ -170,7 +170,13 @@ module Lithic
|
|
170
170
|
end
|
171
171
|
|
172
172
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
173
|
-
OrHash =
|
173
|
+
OrHash =
|
174
|
+
T.type_alias do
|
175
|
+
T.any(
|
176
|
+
Lithic::KYB::BeneficialOwnerIndividual,
|
177
|
+
Lithic::Internal::AnyHash
|
178
|
+
)
|
179
|
+
end
|
174
180
|
|
175
181
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
176
182
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -264,7 +270,10 @@ module Lithic
|
|
264
270
|
end
|
265
271
|
|
266
272
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
267
|
-
OrHash =
|
273
|
+
OrHash =
|
274
|
+
T.type_alias do
|
275
|
+
T.any(Lithic::KYB::BusinessEntity, Lithic::Internal::AnyHash)
|
276
|
+
end
|
268
277
|
|
269
278
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
270
279
|
# acceptable; APO/FPO are acceptable.
|
@@ -354,7 +363,10 @@ module Lithic
|
|
354
363
|
end
|
355
364
|
|
356
365
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
357
|
-
OrHash =
|
366
|
+
OrHash =
|
367
|
+
T.type_alias do
|
368
|
+
T.any(Lithic::KYB::ControlPerson, Lithic::Internal::AnyHash)
|
369
|
+
end
|
358
370
|
|
359
371
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
360
372
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -470,7 +482,10 @@ module Lithic
|
|
470
482
|
end
|
471
483
|
|
472
484
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
473
|
-
OrHash =
|
485
|
+
OrHash =
|
486
|
+
T.type_alias do
|
487
|
+
T.any(Lithic::KYB::BeneficialOwnerEntity, Lithic::Internal::AnyHash)
|
488
|
+
end
|
474
489
|
|
475
490
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
476
491
|
# acceptable; APO/FPO are acceptable.
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class KYBBusinessEntity < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::KYBBusinessEntity, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
9
12
|
# acceptable; APO/FPO are acceptable.
|
@@ -90,7 +93,10 @@ module Lithic
|
|
90
93
|
end
|
91
94
|
|
92
95
|
class Address < Lithic::Internal::Type::BaseModel
|
93
|
-
OrHash =
|
96
|
+
OrHash =
|
97
|
+
T.type_alias do
|
98
|
+
T.any(Lithic::KYBBusinessEntity::Address, Lithic::Internal::AnyHash)
|
99
|
+
end
|
94
100
|
|
95
101
|
# Valid deliverable address (no PO boxes).
|
96
102
|
sig { returns(String) }
|
data/rbi/lithic/models/kyc.rbi
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class KYC < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash = T.type_alias { T.any(
|
6
|
+
OrHash = T.type_alias { T.any(Lithic::KYC, Lithic::Internal::AnyHash) }
|
7
7
|
|
8
8
|
# Information on individual for whom the account is being opened and KYC is being
|
9
9
|
# run.
|
@@ -86,7 +86,10 @@ module Lithic
|
|
86
86
|
end
|
87
87
|
|
88
88
|
class Individual < Lithic::Internal::Type::BaseModel
|
89
|
-
OrHash =
|
89
|
+
OrHash =
|
90
|
+
T.type_alias do
|
91
|
+
T.any(Lithic::KYC::Individual, Lithic::Internal::AnyHash)
|
92
|
+
end
|
90
93
|
|
91
94
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
92
95
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class KYCExempt < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::KYCExempt, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
9
10
|
# acceptable; APO/FPO are acceptable.
|
@@ -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::ManagementOperationCreateParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig { returns(Integer) }
|
12
18
|
attr_accessor :amount
|
@@ -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::ManagementOperationListParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
12
18
|
# will be included. UTC time zone.
|
@@ -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::ManagementOperationRetrieveParams,
|
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,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::ManagementOperationReverseParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig { returns(Date) }
|
12
18
|
attr_accessor :effective_date
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class ManagementOperationTransaction < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::ManagementOperationTransaction,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
sig { returns(String) }
|
9
15
|
attr_accessor :token
|
@@ -221,7 +227,13 @@ module Lithic
|
|
221
227
|
end
|
222
228
|
|
223
229
|
class Event < Lithic::Internal::Type::BaseModel
|
224
|
-
OrHash =
|
230
|
+
OrHash =
|
231
|
+
T.type_alias do
|
232
|
+
T.any(
|
233
|
+
Lithic::ManagementOperationTransaction::Event,
|
234
|
+
Lithic::Internal::AnyHash
|
235
|
+
)
|
236
|
+
end
|
225
237
|
|
226
238
|
sig { returns(String) }
|
227
239
|
attr_accessor :token
|
@@ -578,7 +590,13 @@ module Lithic
|
|
578
590
|
end
|
579
591
|
|
580
592
|
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
581
|
-
OrHash =
|
593
|
+
OrHash =
|
594
|
+
T.type_alias do
|
595
|
+
T.any(
|
596
|
+
Lithic::ManagementOperationTransaction::TransactionSeries,
|
597
|
+
Lithic::Internal::AnyHash
|
598
|
+
)
|
599
|
+
end
|
582
600
|
|
583
601
|
sig { returns(T.nilable(String)) }
|
584
602
|
attr_accessor :related_transaction_event_token
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class MessageAttempt < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::MessageAttempt, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Globally unique identifier.
|
9
12
|
sig { returns(String) }
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class NonPCICard < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::NonPCICard, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Globally unique identifier.
|
9
10
|
sig { returns(String) }
|
@@ -294,7 +295,10 @@ module Lithic
|
|
294
295
|
end
|
295
296
|
|
296
297
|
class Funding < Lithic::Internal::Type::BaseModel
|
297
|
-
OrHash =
|
298
|
+
OrHash =
|
299
|
+
T.type_alias do
|
300
|
+
T.any(Lithic::NonPCICard::Funding, Lithic::Internal::AnyHash)
|
301
|
+
end
|
298
302
|
|
299
303
|
# A globally unique identifier for this FundingAccount.
|
300
304
|
sig { returns(String) }
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class Payment < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::Payment, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Globally unique identifier.
|
9
10
|
sig { returns(String) }
|
@@ -224,7 +225,10 @@ module Lithic
|
|
224
225
|
end
|
225
226
|
|
226
227
|
class Event < Lithic::Internal::Type::BaseModel
|
227
|
-
OrHash =
|
228
|
+
OrHash =
|
229
|
+
T.type_alias do
|
230
|
+
T.any(Lithic::Payment::Event, Lithic::Internal::AnyHash)
|
231
|
+
end
|
228
232
|
|
229
233
|
# Globally unique identifier.
|
230
234
|
sig { returns(String) }
|
@@ -533,7 +537,10 @@ module Lithic
|
|
533
537
|
end
|
534
538
|
|
535
539
|
class MethodAttributes < Lithic::Internal::Type::BaseModel
|
536
|
-
OrHash =
|
540
|
+
OrHash =
|
541
|
+
T.type_alias do
|
542
|
+
T.any(Lithic::Payment::MethodAttributes, Lithic::Internal::AnyHash)
|
543
|
+
end
|
537
544
|
|
538
545
|
sig { returns(T.nilable(String)) }
|
539
546
|
attr_accessor :company_id
|
@@ -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::PaymentCreateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig { returns(Integer) }
|
12
15
|
attr_accessor :amount
|
@@ -132,7 +135,13 @@ module Lithic
|
|
132
135
|
end
|
133
136
|
|
134
137
|
class MethodAttributes < Lithic::Internal::Type::BaseModel
|
135
|
-
OrHash =
|
138
|
+
OrHash =
|
139
|
+
T.type_alias do
|
140
|
+
T.any(
|
141
|
+
Lithic::PaymentCreateParams::MethodAttributes,
|
142
|
+
Lithic::Internal::AnyHash
|
143
|
+
)
|
144
|
+
end
|
136
145
|
|
137
146
|
sig do
|
138
147
|
returns(
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentCreateResponse < Lithic::Models::Payment
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::PaymentCreateResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Balance
|
9
15
|
sig { returns(T.nilable(Lithic::Balance)) }
|
@@ -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::PaymentListParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig { returns(T.nilable(String)) }
|
12
15
|
attr_reader :account_token
|
@@ -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::PaymentRetrieveParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig do
|
12
15
|
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::PaymentRetryParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig do
|
12
15
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentRetryResponse < Lithic::Models::Payment
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::Models::PaymentRetryResponse, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Balance
|
9
12
|
sig { returns(T.nilable(Lithic::Balance)) }
|
@@ -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::PaymentSimulateActionParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Event Type
|
12
15
|
sig { returns(Lithic::PaymentSimulateActionParams::EventType::OrSymbol) }
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentSimulateActionResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::PaymentSimulateActionResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Debugging Request Id
|
9
15
|
sig { returns(String) }
|
@@ -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::PaymentSimulateReceiptParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Customer-generated payment token used to uniquely identify the simulated payment
|
12
15
|
sig { returns(String) }
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentSimulateReceiptResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::PaymentSimulateReceiptResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Debugging Request Id
|
9
15
|
sig { returns(String) }
|
@@ -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::PaymentSimulateReleaseParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Payment Token
|
12
15
|
sig { returns(String) }
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentSimulateReleaseResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::PaymentSimulateReleaseResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Debugging Request Id
|
9
15
|
sig { returns(String) }
|
@@ -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::PaymentSimulateReturnParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Payment Token
|
12
15
|
sig { returns(String) }
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class PaymentSimulateReturnResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::PaymentSimulateReturnResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Debugging Request Id
|
9
15
|
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::Reports::Settlement::NetworkTotalListParams,
|
15
|
+
Lithic::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
13
18
|
|
14
19
|
# Datetime in RFC 3339 format. Only entries created after the specified time will
|
15
20
|
# be included. UTC time zone.
|
@@ -6,7 +6,12 @@ module Lithic
|
|
6
6
|
module Settlement
|
7
7
|
class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
|
8
8
|
OrHash =
|
9
|
-
T.type_alias
|
9
|
+
T.type_alias do
|
10
|
+
T.any(
|
11
|
+
Lithic::Models::Reports::Settlement::NetworkTotalListResponse,
|
12
|
+
Lithic::Internal::AnyHash
|
13
|
+
)
|
14
|
+
end
|
10
15
|
|
11
16
|
# Globally unique identifier.
|
12
17
|
sig { returns(String) }
|
@@ -146,7 +151,12 @@ module Lithic
|
|
146
151
|
|
147
152
|
class Amounts < Lithic::Internal::Type::BaseModel
|
148
153
|
OrHash =
|
149
|
-
T.type_alias
|
154
|
+
T.type_alias do
|
155
|
+
T.any(
|
156
|
+
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts,
|
157
|
+
Lithic::Internal::AnyHash
|
158
|
+
)
|
159
|
+
end
|
150
160
|
|
151
161
|
# Total settlement amount excluding interchange, in currency's smallest unit.
|
152
162
|
sig { returns(Integer) }
|
@@ -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::Reports::Settlement::NetworkTotalRetrieveParams,
|
15
|
+
Lithic::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
13
18
|
|
14
19
|
sig do
|
15
20
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|