lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +2 -2
@@ -14,12 +14,10 @@ module Lithic
|
|
14
14
|
)
|
15
15
|
).returns(T.attached_class)
|
16
16
|
end
|
17
|
-
def self.new(request_options: {})
|
18
|
-
end
|
17
|
+
def self.new(request_options: {}); end
|
19
18
|
|
20
19
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
21
|
-
def to_hash
|
22
|
-
end
|
20
|
+
def to_hash; end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -14,7 +14,7 @@ module Lithic
|
|
14
14
|
attr_writer :account_token
|
15
15
|
|
16
16
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
17
|
-
#
|
17
|
+
# will be included. UTC time zone.
|
18
18
|
sig { returns(T.nilable(Time)) }
|
19
19
|
attr_reader :begin_
|
20
20
|
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
attr_writer :card_token
|
30
30
|
|
31
31
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
32
|
-
#
|
32
|
+
# will be included. UTC time zone.
|
33
33
|
sig { returns(T.nilable(Time)) }
|
34
34
|
attr_reader :end_
|
35
35
|
|
@@ -37,7 +37,7 @@ module Lithic
|
|
37
37
|
attr_writer :end_
|
38
38
|
|
39
39
|
# A cursor representing an item's token before which a page of results should end.
|
40
|
-
#
|
40
|
+
# Used to retrieve the previous page of results before this item.
|
41
41
|
sig { returns(T.nilable(String)) }
|
42
42
|
attr_reader :ending_before
|
43
43
|
|
@@ -52,7 +52,7 @@ module Lithic
|
|
52
52
|
attr_writer :page_size
|
53
53
|
|
54
54
|
# Filters for transactions using transaction result field. Can filter by
|
55
|
-
#
|
55
|
+
# `APPROVED`, and `DECLINED`.
|
56
56
|
sig { returns(T.nilable(Lithic::Models::TransactionListParams::Result::OrSymbol)) }
|
57
57
|
attr_reader :result
|
58
58
|
|
@@ -60,7 +60,7 @@ module Lithic
|
|
60
60
|
attr_writer :result
|
61
61
|
|
62
62
|
# A cursor representing an item's token after which a page of results should
|
63
|
-
#
|
63
|
+
# begin. Used to retrieve the next page of results after this item.
|
64
64
|
sig { returns(T.nilable(String)) }
|
65
65
|
attr_reader :starting_after
|
66
66
|
|
@@ -100,9 +100,7 @@ module Lithic
|
|
100
100
|
starting_after: nil,
|
101
101
|
status: nil,
|
102
102
|
request_options: {}
|
103
|
-
)
|
104
|
-
end
|
105
|
-
|
103
|
+
); end
|
106
104
|
sig do
|
107
105
|
override
|
108
106
|
.returns(
|
@@ -120,11 +118,10 @@ module Lithic
|
|
120
118
|
}
|
121
119
|
)
|
122
120
|
end
|
123
|
-
def to_hash
|
124
|
-
end
|
121
|
+
def to_hash; end
|
125
122
|
|
126
123
|
# Filters for transactions using transaction result field. Can filter by
|
127
|
-
#
|
124
|
+
# `APPROVED`, and `DECLINED`.
|
128
125
|
module Result
|
129
126
|
extend Lithic::Internal::Type::Enum
|
130
127
|
|
@@ -136,8 +133,7 @@ module Lithic
|
|
136
133
|
DECLINED = T.let(:DECLINED, Lithic::Models::TransactionListParams::Result::TaggedSymbol)
|
137
134
|
|
138
135
|
sig { override.returns(T::Array[Lithic::Models::TransactionListParams::Result::TaggedSymbol]) }
|
139
|
-
def self.values
|
140
|
-
end
|
136
|
+
def self.values; end
|
141
137
|
end
|
142
138
|
|
143
139
|
# Filters for transactions using transaction status field.
|
@@ -155,8 +151,7 @@ module Lithic
|
|
155
151
|
EXPIRED = T.let(:EXPIRED, Lithic::Models::TransactionListParams::Status::TaggedSymbol)
|
156
152
|
|
157
153
|
sig { override.returns(T::Array[Lithic::Models::TransactionListParams::Status::TaggedSymbol]) }
|
158
|
-
def self.values
|
159
|
-
end
|
154
|
+
def self.values; end
|
160
155
|
end
|
161
156
|
end
|
162
157
|
end
|
@@ -14,12 +14,10 @@ module Lithic
|
|
14
14
|
)
|
15
15
|
).returns(T.attached_class)
|
16
16
|
end
|
17
|
-
def self.new(request_options: {})
|
18
|
-
end
|
17
|
+
def self.new(request_options: {}); end
|
19
18
|
|
20
19
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
21
|
-
def to_hash
|
22
|
-
end
|
20
|
+
def to_hash; end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -11,7 +11,7 @@ module Lithic
|
|
11
11
|
attr_accessor :token
|
12
12
|
|
13
13
|
# Amount (in cents) to authorize. This amount will override the transaction's
|
14
|
-
#
|
14
|
+
# amount that was originally set by /v1/simulate/authorize.
|
15
15
|
sig { returns(Integer) }
|
16
16
|
attr_accessor :amount
|
17
17
|
|
@@ -23,12 +23,10 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(token:, amount:, request_options: {})
|
27
|
-
end
|
26
|
+
def self.new(token:, amount:, request_options: {}); end
|
28
27
|
|
29
28
|
sig { override.returns({token: String, amount: Integer, request_options: Lithic::RequestOptions}) }
|
30
|
-
def to_hash
|
31
|
-
end
|
29
|
+
def to_hash; end
|
32
30
|
end
|
33
31
|
end
|
34
32
|
end
|
@@ -18,12 +18,10 @@ module Lithic
|
|
18
18
|
attr_writer :debugging_request_id
|
19
19
|
|
20
20
|
sig { params(token: String, debugging_request_id: String).returns(T.attached_class) }
|
21
|
-
def self.new(token: nil, debugging_request_id: nil)
|
22
|
-
end
|
21
|
+
def self.new(token: nil, debugging_request_id: nil); end
|
23
22
|
|
24
23
|
sig { override.returns({token: String, debugging_request_id: String}) }
|
25
|
-
def to_hash
|
26
|
-
end
|
24
|
+
def to_hash; end
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
@@ -7,10 +7,10 @@ module Lithic
|
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
9
|
# Amount (in cents) to authorize. For credit authorizations and financial credit
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
10
|
+
# authorizations, any value entered will be converted into a negative amount in
|
11
|
+
# the simulated transaction. For example, entering 100 in this field will result
|
12
|
+
# in a -100 amount in the transaction. For balance inquiries, this field must be
|
13
|
+
# set to 0.
|
14
14
|
sig { returns(Integer) }
|
15
15
|
attr_accessor :amount
|
16
16
|
|
@@ -23,8 +23,8 @@ module Lithic
|
|
23
23
|
attr_accessor :pan
|
24
24
|
|
25
25
|
# Merchant category code for the transaction to be simulated. A four-digit number
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# listed in ISO 18245. Supported merchant category codes can be found
|
27
|
+
# [here](https://docs.lithic.com/docs/transactions#merchant-category-codes-mccs).
|
28
28
|
sig { returns(T.nilable(String)) }
|
29
29
|
attr_reader :mcc
|
30
30
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
attr_writer :merchant_acceptor_id
|
40
40
|
|
41
41
|
# Amount of the transaction to be simulated in currency specified in
|
42
|
-
#
|
42
|
+
# merchant_currency, including any acquirer fees.
|
43
43
|
sig { returns(T.nilable(Integer)) }
|
44
44
|
attr_reader :merchant_amount
|
45
45
|
|
@@ -47,7 +47,7 @@ module Lithic
|
|
47
47
|
attr_writer :merchant_amount
|
48
48
|
|
49
49
|
# 3-character alphabetic ISO 4217 currency code. Note: Simulator only accepts USD,
|
50
|
-
#
|
50
|
+
# GBP, EUR and defaults to GBP if another ISO 4217 code is provided
|
51
51
|
sig { returns(T.nilable(String)) }
|
52
52
|
attr_reader :merchant_currency
|
53
53
|
|
@@ -55,8 +55,8 @@ module Lithic
|
|
55
55
|
attr_writer :merchant_currency
|
56
56
|
|
57
57
|
# Set to true if the terminal is capable of partial approval otherwise false.
|
58
|
-
#
|
59
|
-
#
|
58
|
+
# Partial approval is when part of a transaction is approved and another payment
|
59
|
+
# must be used for the remainder.
|
60
60
|
sig { returns(T.nilable(T::Boolean)) }
|
61
61
|
attr_reader :partial_approval_capable
|
62
62
|
|
@@ -72,20 +72,20 @@ module Lithic
|
|
72
72
|
|
73
73
|
# Type of event to simulate.
|
74
74
|
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
75
|
+
# - `AUTHORIZATION` is a dual message purchase authorization, meaning a subsequent
|
76
|
+
# clearing step is required to settle the transaction.
|
77
|
+
# - `BALANCE_INQUIRY` is a $0 authorization requesting the balance held on the
|
78
|
+
# card, and is most often observed when a cardholder requests to view a card's
|
79
|
+
# balance at an ATM.
|
80
|
+
# - `CREDIT_AUTHORIZATION` is a dual message request from a merchant to authorize
|
81
|
+
# a refund, meaning a subsequent clearing step is required to settle the
|
82
|
+
# transaction.
|
83
|
+
# - `FINANCIAL_AUTHORIZATION` is a single message request from a merchant to debit
|
84
|
+
# funds immediately (such as an ATM withdrawal), and no subsequent clearing is
|
85
|
+
# required to settle the transaction.
|
86
|
+
# - `FINANCIAL_CREDIT_AUTHORIZATION` is a single message request from a merchant
|
87
|
+
# to credit funds immediately, and no subsequent clearing is required to settle
|
88
|
+
# the transaction.
|
89
89
|
sig { returns(T.nilable(Lithic::Models::TransactionSimulateAuthorizationParams::Status::OrSymbol)) }
|
90
90
|
attr_reader :status
|
91
91
|
|
@@ -120,9 +120,7 @@ module Lithic
|
|
120
120
|
pin: nil,
|
121
121
|
status: nil,
|
122
122
|
request_options: {}
|
123
|
-
)
|
124
|
-
end
|
125
|
-
|
123
|
+
); end
|
126
124
|
sig do
|
127
125
|
override
|
128
126
|
.returns(
|
@@ -141,25 +139,24 @@ module Lithic
|
|
141
139
|
}
|
142
140
|
)
|
143
141
|
end
|
144
|
-
def to_hash
|
145
|
-
end
|
142
|
+
def to_hash; end
|
146
143
|
|
147
144
|
# Type of event to simulate.
|
148
145
|
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
146
|
+
# - `AUTHORIZATION` is a dual message purchase authorization, meaning a subsequent
|
147
|
+
# clearing step is required to settle the transaction.
|
148
|
+
# - `BALANCE_INQUIRY` is a $0 authorization requesting the balance held on the
|
149
|
+
# card, and is most often observed when a cardholder requests to view a card's
|
150
|
+
# balance at an ATM.
|
151
|
+
# - `CREDIT_AUTHORIZATION` is a dual message request from a merchant to authorize
|
152
|
+
# a refund, meaning a subsequent clearing step is required to settle the
|
153
|
+
# transaction.
|
154
|
+
# - `FINANCIAL_AUTHORIZATION` is a single message request from a merchant to debit
|
155
|
+
# funds immediately (such as an ATM withdrawal), and no subsequent clearing is
|
156
|
+
# required to settle the transaction.
|
157
|
+
# - `FINANCIAL_CREDIT_AUTHORIZATION` is a single message request from a merchant
|
158
|
+
# to credit funds immediately, and no subsequent clearing is required to settle
|
159
|
+
# the transaction.
|
163
160
|
module Status
|
164
161
|
extend Lithic::Internal::Type::Enum
|
165
162
|
|
@@ -186,8 +183,7 @@ module Lithic
|
|
186
183
|
)
|
187
184
|
|
188
185
|
sig { override.returns(T::Array[Lithic::Models::TransactionSimulateAuthorizationParams::Status::TaggedSymbol]) }
|
189
|
-
def self.values
|
190
|
-
end
|
186
|
+
def self.values; end
|
191
187
|
end
|
192
188
|
end
|
193
189
|
end
|
@@ -4,7 +4,7 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
class TransactionSimulateAuthorizationResponse < Lithic::Internal::Type::BaseModel
|
6
6
|
# A unique token to reference this transaction with later calls to void or clear
|
7
|
-
#
|
7
|
+
# the authorization.
|
8
8
|
sig { returns(T.nilable(String)) }
|
9
9
|
attr_reader :token
|
10
10
|
|
@@ -19,12 +19,10 @@ module Lithic
|
|
19
19
|
attr_writer :debugging_request_id
|
20
20
|
|
21
21
|
sig { params(token: String, debugging_request_id: String).returns(T.attached_class) }
|
22
|
-
def self.new(token: nil, debugging_request_id: nil)
|
23
|
-
end
|
22
|
+
def self.new(token: nil, debugging_request_id: nil); end
|
24
23
|
|
25
24
|
sig { override.returns({token: String, debugging_request_id: String}) }
|
26
|
-
def to_hash
|
27
|
-
end
|
25
|
+
def to_hash; end
|
28
26
|
end
|
29
27
|
end
|
30
28
|
end
|
@@ -11,14 +11,14 @@ module Lithic
|
|
11
11
|
attr_accessor :token
|
12
12
|
|
13
13
|
# Amount (in cents) to clear. Typically this will match the amount in the original
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
14
|
+
# authorization, but can be higher or lower. The sign of this amount will
|
15
|
+
# automatically match the sign of the original authorization's amount. For
|
16
|
+
# example, entering 100 in this field will result in a -100 amount in the
|
17
|
+
# transaction, if the original authorization is a credit authorization.
|
18
18
|
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
19
|
+
# If `amount` is not set, the full amount of the transaction will be cleared.
|
20
|
+
# Transactions that have already cleared, either partially or fully, cannot be
|
21
|
+
# cleared again using this endpoint.
|
22
22
|
sig { returns(T.nilable(Integer)) }
|
23
23
|
attr_reader :amount
|
24
24
|
|
@@ -33,12 +33,10 @@ module Lithic
|
|
33
33
|
)
|
34
34
|
.returns(T.attached_class)
|
35
35
|
end
|
36
|
-
def self.new(token:, amount: nil, request_options: {})
|
37
|
-
end
|
36
|
+
def self.new(token:, amount: nil, request_options: {}); end
|
38
37
|
|
39
38
|
sig { override.returns({token: String, amount: Integer, request_options: Lithic::RequestOptions}) }
|
40
|
-
def to_hash
|
41
|
-
end
|
39
|
+
def to_hash; end
|
42
40
|
end
|
43
41
|
end
|
44
42
|
end
|
@@ -11,12 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :debugging_request_id
|
12
12
|
|
13
13
|
sig { params(debugging_request_id: String).returns(T.attached_class) }
|
14
|
-
def self.new(debugging_request_id: nil)
|
15
|
-
end
|
14
|
+
def self.new(debugging_request_id: nil); end
|
16
15
|
|
17
16
|
sig { override.returns({debugging_request_id: String}) }
|
18
|
-
def to_hash
|
19
|
-
end
|
17
|
+
def to_hash; end
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
@@ -7,8 +7,8 @@ module Lithic
|
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
9
|
# Amount (in cents). Any value entered will be converted into a negative amount in
|
10
|
-
#
|
11
|
-
#
|
10
|
+
# the simulated transaction. For example, entering 100 in this field will appear
|
11
|
+
# as a -100 amount in the transaction.
|
12
12
|
sig { returns(Integer) }
|
13
13
|
attr_accessor :amount
|
14
14
|
|
@@ -21,8 +21,8 @@ module Lithic
|
|
21
21
|
attr_accessor :pan
|
22
22
|
|
23
23
|
# Merchant category code for the transaction to be simulated. A four-digit number
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# listed in ISO 18245. Supported merchant category codes can be found
|
25
|
+
# [here](https://docs.lithic.com/docs/transactions#merchant-category-codes-mccs).
|
26
26
|
sig { returns(T.nilable(String)) }
|
27
27
|
attr_reader :mcc
|
28
28
|
|
@@ -47,8 +47,7 @@ module Lithic
|
|
47
47
|
)
|
48
48
|
.returns(T.attached_class)
|
49
49
|
end
|
50
|
-
def self.new(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_id: nil, request_options: {})
|
51
|
-
end
|
50
|
+
def self.new(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_id: nil, request_options: {}); end
|
52
51
|
|
53
52
|
sig do
|
54
53
|
override
|
@@ -63,8 +62,7 @@ module Lithic
|
|
63
62
|
}
|
64
63
|
)
|
65
64
|
end
|
66
|
-
def to_hash
|
67
|
-
end
|
65
|
+
def to_hash; end
|
68
66
|
end
|
69
67
|
end
|
70
68
|
end
|
@@ -18,12 +18,10 @@ module Lithic
|
|
18
18
|
attr_writer :debugging_request_id
|
19
19
|
|
20
20
|
sig { params(token: String, debugging_request_id: String).returns(T.attached_class) }
|
21
|
-
def self.new(token: nil, debugging_request_id: nil)
|
22
|
-
end
|
21
|
+
def self.new(token: nil, debugging_request_id: nil); end
|
23
22
|
|
24
23
|
sig { override.returns({token: String, debugging_request_id: String}) }
|
25
|
-
def to_hash
|
26
|
-
end
|
24
|
+
def to_hash; end
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
@@ -27,8 +27,7 @@ module Lithic
|
|
27
27
|
)
|
28
28
|
.returns(T.attached_class)
|
29
29
|
end
|
30
|
-
def self.new(amount:, descriptor:, pan:, request_options: {})
|
31
|
-
end
|
30
|
+
def self.new(amount:, descriptor:, pan:, request_options: {}); end
|
32
31
|
|
33
32
|
sig do
|
34
33
|
override
|
@@ -39,8 +38,7 @@ module Lithic
|
|
39
38
|
request_options: Lithic::RequestOptions
|
40
39
|
})
|
41
40
|
end
|
42
|
-
def to_hash
|
43
|
-
end
|
41
|
+
def to_hash; end
|
44
42
|
end
|
45
43
|
end
|
46
44
|
end
|
@@ -18,12 +18,10 @@ module Lithic
|
|
18
18
|
attr_writer :debugging_request_id
|
19
19
|
|
20
20
|
sig { params(token: String, debugging_request_id: String).returns(T.attached_class) }
|
21
|
-
def self.new(token: nil, debugging_request_id: nil)
|
22
|
-
end
|
21
|
+
def self.new(token: nil, debugging_request_id: nil); end
|
23
22
|
|
24
23
|
sig { override.returns({token: String, debugging_request_id: String}) }
|
25
|
-
def to_hash
|
26
|
-
end
|
24
|
+
def to_hash; end
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
@@ -14,12 +14,10 @@ module Lithic
|
|
14
14
|
params(token: String, request_options: T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
15
15
|
.returns(T.attached_class)
|
16
16
|
end
|
17
|
-
def self.new(token:, request_options: {})
|
18
|
-
end
|
17
|
+
def self.new(token:, request_options: {}); end
|
19
18
|
|
20
19
|
sig { override.returns({token: String, request_options: Lithic::RequestOptions}) }
|
21
|
-
def to_hash
|
22
|
-
end
|
20
|
+
def to_hash; end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -11,12 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :debugging_request_id
|
12
12
|
|
13
13
|
sig { params(debugging_request_id: String).returns(T.attached_class) }
|
14
|
-
def self.new(debugging_request_id: nil)
|
15
|
-
end
|
14
|
+
def self.new(debugging_request_id: nil); end
|
16
15
|
|
17
16
|
sig { override.returns({debugging_request_id: String}) }
|
18
|
-
def to_hash
|
19
|
-
end
|
17
|
+
def to_hash; end
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
@@ -11,7 +11,7 @@ module Lithic
|
|
11
11
|
attr_accessor :token
|
12
12
|
|
13
13
|
# Amount (in cents) to void. Typically this will match the amount in the original
|
14
|
-
#
|
14
|
+
# authorization, but can be less.
|
15
15
|
sig { returns(T.nilable(Integer)) }
|
16
16
|
attr_reader :amount
|
17
17
|
|
@@ -20,9 +20,9 @@ module Lithic
|
|
20
20
|
|
21
21
|
# Type of event to simulate. Defaults to `AUTHORIZATION_REVERSAL`.
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
23
|
+
# - `AUTHORIZATION_EXPIRY` indicates authorization has expired and been reversed
|
24
|
+
# by Lithic.
|
25
|
+
# - `AUTHORIZATION_REVERSAL` indicates authorization was reversed by the merchant.
|
26
26
|
sig { returns(T.nilable(Lithic::Models::TransactionSimulateVoidParams::Type::OrSymbol)) }
|
27
27
|
attr_reader :type
|
28
28
|
|
@@ -38,8 +38,7 @@ module Lithic
|
|
38
38
|
)
|
39
39
|
.returns(T.attached_class)
|
40
40
|
end
|
41
|
-
def self.new(token:, amount: nil, type: nil, request_options: {})
|
42
|
-
end
|
41
|
+
def self.new(token:, amount: nil, type: nil, request_options: {}); end
|
43
42
|
|
44
43
|
sig do
|
45
44
|
override
|
@@ -52,14 +51,13 @@ module Lithic
|
|
52
51
|
}
|
53
52
|
)
|
54
53
|
end
|
55
|
-
def to_hash
|
56
|
-
end
|
54
|
+
def to_hash; end
|
57
55
|
|
58
56
|
# Type of event to simulate. Defaults to `AUTHORIZATION_REVERSAL`.
|
59
57
|
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
58
|
+
# - `AUTHORIZATION_EXPIRY` indicates authorization has expired and been reversed
|
59
|
+
# by Lithic.
|
60
|
+
# - `AUTHORIZATION_REVERSAL` indicates authorization was reversed by the merchant.
|
63
61
|
module Type
|
64
62
|
extend Lithic::Internal::Type::Enum
|
65
63
|
|
@@ -73,8 +71,7 @@ module Lithic
|
|
73
71
|
T.let(:AUTHORIZATION_REVERSAL, Lithic::Models::TransactionSimulateVoidParams::Type::TaggedSymbol)
|
74
72
|
|
75
73
|
sig { override.returns(T::Array[Lithic::Models::TransactionSimulateVoidParams::Type::TaggedSymbol]) }
|
76
|
-
def self.values
|
77
|
-
end
|
74
|
+
def self.values; end
|
78
75
|
end
|
79
76
|
end
|
80
77
|
end
|
@@ -11,12 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :debugging_request_id
|
12
12
|
|
13
13
|
sig { params(debugging_request_id: String).returns(T.attached_class) }
|
14
|
-
def self.new(debugging_request_id: nil)
|
15
|
-
end
|
14
|
+
def self.new(debugging_request_id: nil); end
|
16
15
|
|
17
16
|
sig { override.returns({debugging_request_id: String}) }
|
18
|
-
def to_hash
|
19
|
-
end
|
17
|
+
def to_hash; end
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
@@ -15,12 +15,10 @@ module Lithic
|
|
15
15
|
)
|
16
16
|
).returns(T.attached_class)
|
17
17
|
end
|
18
|
-
def self.new(request_options: {})
|
19
|
-
end
|
18
|
+
def self.new(request_options: {}); end
|
20
19
|
|
21
20
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
22
|
-
def to_hash
|
23
|
-
end
|
21
|
+
def to_hash; end
|
24
22
|
end
|
25
23
|
end
|
26
24
|
end
|
@@ -13,12 +13,10 @@ module Lithic
|
|
13
13
|
)
|
14
14
|
.returns(T.attached_class)
|
15
15
|
end
|
16
|
-
def self.new(data:)
|
17
|
-
end
|
16
|
+
def self.new(data:); end
|
18
17
|
|
19
18
|
sig { override.returns({data: T::Array[Lithic::Models::Transactions::Events::EnhancedData]}) }
|
20
|
-
def to_hash
|
21
|
-
end
|
19
|
+
def to_hash; end
|
22
20
|
end
|
23
21
|
end
|
24
22
|
end
|
@@ -16,12 +16,10 @@ module Lithic
|
|
16
16
|
)
|
17
17
|
).returns(T.attached_class)
|
18
18
|
end
|
19
|
-
def self.new(request_options: {})
|
20
|
-
end
|
19
|
+
def self.new(request_options: {}); end
|
21
20
|
|
22
21
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
23
|
-
def to_hash
|
24
|
-
end
|
22
|
+
def to_hash; end
|
25
23
|
end
|
26
24
|
end
|
27
25
|
end
|