lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +29 -5
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +19 -16
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +26 -23
- data/lib/lithic/internal/type/enum.rb +10 -8
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +29 -50
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -56
- data/lib/lithic/models/account_holder_create_params.rb +140 -144
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +7 -7
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +12 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
- data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +25 -25
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +25 -25
- data/lib/lithic/models/card_renew_params.rb +27 -27
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +7 -7
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +17 -17
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +128 -132
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +16 -16
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +100 -100
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +100 -100
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +39 -39
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +54 -54
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +37 -37
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +64 -61
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +6 -6
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +10 -18
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +40 -72
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -100
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +26 -39
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +18 -37
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +67 -107
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +46 -72
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +139 -153
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +121 -156
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +219 -237
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +24 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +15 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +10 -19
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -9,7 +9,7 @@ module Lithic
|
|
9
9
|
attr_accessor :token
|
10
10
|
|
11
11
|
# Type of account/card that is being used for the transaction. Maps to EMV 3DS
|
12
|
-
#
|
12
|
+
# field `acctType`.
|
13
13
|
sig { returns(T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AccountType::TaggedSymbol)) }
|
14
14
|
attr_accessor :account_type
|
15
15
|
|
@@ -18,12 +18,12 @@ module Lithic
|
|
18
18
|
attr_accessor :authentication_result
|
19
19
|
|
20
20
|
# Indicates whether the expiration date provided by the cardholder during checkout
|
21
|
-
#
|
21
|
+
# matches Lithic's record of the card's expiration date.
|
22
22
|
sig { returns(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::CardExpiryCheck::TaggedSymbol) }
|
23
23
|
attr_accessor :card_expiry_check
|
24
24
|
|
25
25
|
# Globally unique identifier for the card on which the 3DS authentication has
|
26
|
-
#
|
26
|
+
# occurred.
|
27
27
|
sig { returns(String) }
|
28
28
|
attr_accessor :card_token
|
29
29
|
|
@@ -48,7 +48,7 @@ module Lithic
|
|
48
48
|
attr_accessor :created
|
49
49
|
|
50
50
|
# Object containing data about the merchant involved in the e-commerce
|
51
|
-
#
|
51
|
+
# transaction.
|
52
52
|
sig { returns(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant) }
|
53
53
|
attr_reader :merchant
|
54
54
|
|
@@ -61,21 +61,21 @@ module Lithic
|
|
61
61
|
attr_writer :merchant
|
62
62
|
|
63
63
|
# Either PAYMENT_AUTHENTICATION or NON_PAYMENT_AUTHENTICATION. For
|
64
|
-
#
|
65
|
-
#
|
64
|
+
# NON_PAYMENT_AUTHENTICATION, additional_data and transaction fields are not
|
65
|
+
# populated.
|
66
66
|
sig { returns(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::MessageCategory::TaggedSymbol) }
|
67
67
|
attr_accessor :message_category
|
68
68
|
|
69
69
|
# Indicates whether a challenge is requested for this transaction
|
70
70
|
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
71
|
+
# - `NO_PREFERENCE` - No Preference
|
72
|
+
# - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
|
73
|
+
# - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
|
74
|
+
# - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
|
75
|
+
# - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional
|
76
|
+
# risk analysis is already performed)
|
77
|
+
# - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
|
78
|
+
# - `OTHER` - Other indicators not captured by above. These are rarely used
|
79
79
|
sig do
|
80
80
|
returns(
|
81
81
|
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeDSRequestorChallengeIndicator::TaggedSymbol
|
@@ -84,8 +84,8 @@ module Lithic
|
|
84
84
|
attr_accessor :three_ds_requestor_challenge_indicator
|
85
85
|
|
86
86
|
# Object containing additional data about the 3DS request that is beyond the EMV
|
87
|
-
#
|
88
|
-
#
|
87
|
+
# 3DS standard spec (e.g., specific fields that only certain card networks send
|
88
|
+
# but are not required across all 3DS requests).
|
89
89
|
sig { returns(T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData)) }
|
90
90
|
attr_reader :additional_data
|
91
91
|
|
@@ -100,7 +100,7 @@ module Lithic
|
|
100
100
|
attr_writer :additional_data
|
101
101
|
|
102
102
|
# Object containing data about the app used in the e-commerce transaction. Present
|
103
|
-
#
|
103
|
+
# if the channel is 'APP_BASED'.
|
104
104
|
sig { returns(T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App)) }
|
105
105
|
attr_reader :app
|
106
106
|
|
@@ -113,8 +113,8 @@ module Lithic
|
|
113
113
|
attr_writer :app
|
114
114
|
|
115
115
|
# Type of authentication request - i.e., the type of transaction or interaction is
|
116
|
-
#
|
117
|
-
#
|
116
|
+
# causing the merchant to request an authentication. Maps to EMV 3DS field
|
117
|
+
# threeDSRequestorAuthenticationInd.
|
118
118
|
sig do
|
119
119
|
returns(
|
120
120
|
T.nilable(
|
@@ -125,7 +125,7 @@ module Lithic
|
|
125
125
|
attr_accessor :authentication_request_type
|
126
126
|
|
127
127
|
# Object containing data about the browser used in the e-commerce transaction.
|
128
|
-
#
|
128
|
+
# Present if the channel is 'BROWSER'.
|
129
129
|
sig { returns(T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser)) }
|
130
130
|
attr_reader :browser
|
131
131
|
|
@@ -167,10 +167,10 @@ module Lithic
|
|
167
167
|
attr_accessor :decision_made_by
|
168
168
|
|
169
169
|
# Type of 3DS Requestor Initiated (3RI) request i.e., a 3DS authentication that
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
170
|
+
# takes place at the initiation of the merchant rather than the cardholder. The
|
171
|
+
# most common example of this is where a merchant is authenticating before billing
|
172
|
+
# for a recurring transaction such as a pay TV subscription or a utility bill.
|
173
|
+
# Maps to EMV 3DS field threeRIInd.
|
174
174
|
sig do
|
175
175
|
returns(
|
176
176
|
T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeRiRequestType::TaggedSymbol)
|
@@ -179,7 +179,7 @@ module Lithic
|
|
179
179
|
attr_accessor :three_ri_request_type
|
180
180
|
|
181
181
|
# Object containing data about the e-commerce transaction for which the merchant
|
182
|
-
#
|
182
|
+
# is requesting authentication.
|
183
183
|
sig { returns(T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction)) }
|
184
184
|
attr_reader :transaction
|
185
185
|
|
@@ -248,9 +248,7 @@ module Lithic
|
|
248
248
|
decision_made_by: nil,
|
249
249
|
three_ri_request_type: nil,
|
250
250
|
transaction: nil
|
251
|
-
)
|
252
|
-
end
|
253
|
-
|
251
|
+
); end
|
254
252
|
sig do
|
255
253
|
override
|
256
254
|
.returns(
|
@@ -280,11 +278,10 @@ module Lithic
|
|
280
278
|
}
|
281
279
|
)
|
282
280
|
end
|
283
|
-
def to_hash
|
284
|
-
end
|
281
|
+
def to_hash; end
|
285
282
|
|
286
283
|
# Type of account/card that is being used for the transaction. Maps to EMV 3DS
|
287
|
-
#
|
284
|
+
# field `acctType`.
|
288
285
|
module AccountType
|
289
286
|
extend Lithic::Internal::Type::Enum
|
290
287
|
|
@@ -303,8 +300,7 @@ module Lithic
|
|
303
300
|
override
|
304
301
|
.returns(T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AccountType::TaggedSymbol])
|
305
302
|
end
|
306
|
-
def self.values
|
307
|
-
end
|
303
|
+
def self.values; end
|
308
304
|
end
|
309
305
|
|
310
306
|
# Indicates the outcome of the 3DS authentication process.
|
@@ -349,12 +345,11 @@ module Lithic
|
|
349
345
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AuthenticationResult::TaggedSymbol]
|
350
346
|
)
|
351
347
|
end
|
352
|
-
def self.values
|
353
|
-
end
|
348
|
+
def self.values; end
|
354
349
|
end
|
355
350
|
|
356
351
|
# Indicates whether the expiration date provided by the cardholder during checkout
|
357
|
-
#
|
352
|
+
# matches Lithic's record of the card's expiration date.
|
358
353
|
module CardExpiryCheck
|
359
354
|
extend Lithic::Internal::Type::Enum
|
360
355
|
|
@@ -383,15 +378,14 @@ module Lithic
|
|
383
378
|
override
|
384
379
|
.returns(T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::CardExpiryCheck::TaggedSymbol])
|
385
380
|
end
|
386
|
-
def self.values
|
387
|
-
end
|
381
|
+
def self.values; end
|
388
382
|
end
|
389
383
|
|
390
384
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
391
385
|
# Indicates whether the shipping address and billing address provided by the
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
386
|
+
# cardholder are the same. This value - and assessment of whether the addresses
|
387
|
+
# match - is provided directly in the 3DS request and is not determined by Lithic.
|
388
|
+
# Maps to EMV 3DS field addrMatch.
|
395
389
|
sig { returns(T.nilable(T::Boolean)) }
|
396
390
|
attr_accessor :address_match
|
397
391
|
|
@@ -411,7 +405,7 @@ module Lithic
|
|
411
405
|
attr_writer :billing_address
|
412
406
|
|
413
407
|
# Email address that is either provided by the cardholder or is on file with the
|
414
|
-
#
|
408
|
+
# merchant in a 3RI request. Maps to EMV 3DS field email.
|
415
409
|
sig { returns(T.nilable(String)) }
|
416
410
|
attr_accessor :email
|
417
411
|
|
@@ -420,17 +414,17 @@ module Lithic
|
|
420
414
|
attr_accessor :name
|
421
415
|
|
422
416
|
# Home phone number provided by the cardholder. Maps to EMV 3DS fields
|
423
|
-
#
|
417
|
+
# homePhone.cc and homePhone.subscriber.
|
424
418
|
sig { returns(T.nilable(String)) }
|
425
419
|
attr_accessor :phone_number_home
|
426
420
|
|
427
421
|
# Mobile/cell phone number provided by the cardholder. Maps to EMV 3DS fields
|
428
|
-
#
|
422
|
+
# mobilePhone.cc and mobilePhone.subscriber.
|
429
423
|
sig { returns(T.nilable(String)) }
|
430
424
|
attr_accessor :phone_number_mobile
|
431
425
|
|
432
426
|
# Work phone number provided by the cardholder. Maps to EMV 3DS fields
|
433
|
-
#
|
427
|
+
# workPhone.cc and workPhone.subscriber.
|
434
428
|
sig { returns(T.nilable(String)) }
|
435
429
|
attr_accessor :phone_number_work
|
436
430
|
|
@@ -478,9 +472,7 @@ module Lithic
|
|
478
472
|
phone_number_mobile: nil,
|
479
473
|
phone_number_work: nil,
|
480
474
|
shipping_address: nil
|
481
|
-
)
|
482
|
-
end
|
483
|
-
|
475
|
+
); end
|
484
476
|
sig do
|
485
477
|
override
|
486
478
|
.returns(
|
@@ -496,8 +488,7 @@ module Lithic
|
|
496
488
|
}
|
497
489
|
)
|
498
490
|
end
|
499
|
-
def to_hash
|
500
|
-
end
|
491
|
+
def to_hash; end
|
501
492
|
|
502
493
|
class BillingAddress < Lithic::Internal::Type::BaseModel
|
503
494
|
# First line of the street address provided by the cardholder.
|
@@ -517,7 +508,7 @@ module Lithic
|
|
517
508
|
attr_accessor :city
|
518
509
|
|
519
510
|
# Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format
|
520
|
-
#
|
511
|
+
# (e.g. USA)
|
521
512
|
sig { returns(T.nilable(String)) }
|
522
513
|
attr_accessor :country
|
523
514
|
|
@@ -560,8 +551,7 @@ module Lithic
|
|
560
551
|
}
|
561
552
|
)
|
562
553
|
end
|
563
|
-
def to_hash
|
564
|
-
end
|
554
|
+
def to_hash; end
|
565
555
|
end
|
566
556
|
|
567
557
|
class ShippingAddress < Lithic::Internal::Type::BaseModel
|
@@ -582,7 +572,7 @@ module Lithic
|
|
582
572
|
attr_accessor :city
|
583
573
|
|
584
574
|
# Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format
|
585
|
-
#
|
575
|
+
# (e.g. USA)
|
586
576
|
sig { returns(T.nilable(String)) }
|
587
577
|
attr_accessor :country
|
588
578
|
|
@@ -625,8 +615,7 @@ module Lithic
|
|
625
615
|
}
|
626
616
|
)
|
627
617
|
end
|
628
|
-
def to_hash
|
629
|
-
end
|
618
|
+
def to_hash; end
|
630
619
|
end
|
631
620
|
end
|
632
621
|
|
@@ -649,23 +638,22 @@ module Lithic
|
|
649
638
|
)
|
650
639
|
|
651
640
|
sig { override.returns(T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Channel::TaggedSymbol]) }
|
652
|
-
def self.values
|
653
|
-
end
|
641
|
+
def self.values; end
|
654
642
|
end
|
655
643
|
|
656
644
|
class Merchant < Lithic::Internal::Type::BaseModel
|
657
645
|
# Merchant identifier as assigned by the acquirer. Maps to EMV 3DS field
|
658
|
-
#
|
646
|
+
# acquirerMerchantId.
|
659
647
|
sig { returns(String) }
|
660
648
|
attr_accessor :id
|
661
649
|
|
662
650
|
# Country code of the merchant requesting 3DS authentication. Maps to EMV 3DS
|
663
|
-
#
|
651
|
+
# field merchantCountryCode.
|
664
652
|
sig { returns(String) }
|
665
653
|
attr_accessor :country
|
666
654
|
|
667
655
|
# Merchant category code assigned to the merchant that describes its business
|
668
|
-
#
|
656
|
+
# activity type. Maps to EMV 3DS field mcc.
|
669
657
|
sig { returns(String) }
|
670
658
|
attr_accessor :mcc
|
671
659
|
|
@@ -674,7 +662,7 @@ module Lithic
|
|
674
662
|
attr_accessor :name
|
675
663
|
|
676
664
|
# Object containing additional data indicating additional risk factors related to
|
677
|
-
#
|
665
|
+
# the e-commerce transaction.
|
678
666
|
sig { returns(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator) }
|
679
667
|
attr_reader :risk_indicator
|
680
668
|
|
@@ -690,7 +678,7 @@ module Lithic
|
|
690
678
|
attr_writer :risk_indicator
|
691
679
|
|
692
680
|
# Object containing data about the merchant involved in the e-commerce
|
693
|
-
#
|
681
|
+
# transaction.
|
694
682
|
sig do
|
695
683
|
params(
|
696
684
|
id: String,
|
@@ -704,8 +692,7 @@ module Lithic
|
|
704
692
|
)
|
705
693
|
.returns(T.attached_class)
|
706
694
|
end
|
707
|
-
def self.new(id:, country:, mcc:, name:, risk_indicator:)
|
708
|
-
end
|
695
|
+
def self.new(id:, country:, mcc:, name:, risk_indicator:); end
|
709
696
|
|
710
697
|
sig do
|
711
698
|
override
|
@@ -719,17 +706,16 @@ module Lithic
|
|
719
706
|
}
|
720
707
|
)
|
721
708
|
end
|
722
|
-
def to_hash
|
723
|
-
end
|
709
|
+
def to_hash; end
|
724
710
|
|
725
711
|
class RiskIndicator < Lithic::Internal::Type::BaseModel
|
726
712
|
# In transactions with electronic delivery, email address to which merchandise is
|
727
|
-
#
|
713
|
+
# delivered. Maps to EMV 3DS field deliveryEmailAddress.
|
728
714
|
sig { returns(T.nilable(String)) }
|
729
715
|
attr_accessor :delivery_email_address
|
730
716
|
|
731
717
|
# The delivery time frame for the merchandise. Maps to EMV 3DS field
|
732
|
-
#
|
718
|
+
# deliveryTimeframe.
|
733
719
|
sig do
|
734
720
|
returns(
|
735
721
|
T.nilable(
|
@@ -740,23 +726,23 @@ module Lithic
|
|
740
726
|
attr_accessor :delivery_time_frame
|
741
727
|
|
742
728
|
# In prepaid or gift card purchase transactions, purchase amount total in major
|
743
|
-
#
|
744
|
-
#
|
729
|
+
# units (e.g., a purchase of USD $205.10 would be 205). Maps to EMV 3DS field
|
730
|
+
# giftCardAmount.
|
745
731
|
sig { returns(T.nilable(Integer)) }
|
746
732
|
attr_accessor :gift_card_amount
|
747
733
|
|
748
734
|
# In prepaid or gift card purchase transactions, count of individual prepaid or
|
749
|
-
#
|
735
|
+
# gift cards/codes purchased. Maps to EMV 3DS field giftCardCount.
|
750
736
|
sig { returns(T.nilable(Integer)) }
|
751
737
|
attr_accessor :gift_card_count
|
752
738
|
|
753
739
|
# In prepaid or gift card purchase transactions, currency code of the gift card.
|
754
|
-
#
|
740
|
+
# Maps to EMV 3DS field giftCardCurr.
|
755
741
|
sig { returns(T.nilable(String)) }
|
756
742
|
attr_accessor :gift_card_currency
|
757
743
|
|
758
744
|
# Indicates whether the purchase is for merchandise that is available now or at a
|
759
|
-
#
|
745
|
+
# future date. Maps to EMV 3DS field preOrderPurchaseInd.
|
760
746
|
sig do
|
761
747
|
returns(
|
762
748
|
T.nilable(
|
@@ -767,12 +753,12 @@ module Lithic
|
|
767
753
|
attr_accessor :order_availability
|
768
754
|
|
769
755
|
# In pre-order purchase transactions, the expected date that the merchandise will
|
770
|
-
#
|
756
|
+
# be available. Maps to EMV 3DS field preOrderDate.
|
771
757
|
sig { returns(T.nilable(Time)) }
|
772
758
|
attr_accessor :pre_order_available_date
|
773
759
|
|
774
760
|
# Indicates whether the cardholder is reordering previously purchased merchandise.
|
775
|
-
#
|
761
|
+
# Maps to EMV 3DS field reorderItemsInd.
|
776
762
|
sig do
|
777
763
|
returns(
|
778
764
|
T.nilable(
|
@@ -783,9 +769,9 @@ module Lithic
|
|
783
769
|
attr_accessor :reorder_items
|
784
770
|
|
785
771
|
# Shipping method that the cardholder chose for the transaction. If purchase
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
772
|
+
# includes one or more item, this indicator is used for the physical goods; if the
|
773
|
+
# purchase only includes digital goods, this indicator is used to describe the
|
774
|
+
# most expensive item purchased. Maps to EMV 3DS field shipIndicator.
|
789
775
|
sig do
|
790
776
|
returns(
|
791
777
|
T.nilable(
|
@@ -796,7 +782,7 @@ module Lithic
|
|
796
782
|
attr_accessor :shipping_method
|
797
783
|
|
798
784
|
# Object containing additional data indicating additional risk factors related to
|
799
|
-
#
|
785
|
+
# the e-commerce transaction.
|
800
786
|
sig do
|
801
787
|
params(
|
802
788
|
delivery_email_address: T.nilable(String),
|
@@ -829,9 +815,7 @@ module Lithic
|
|
829
815
|
pre_order_available_date: nil,
|
830
816
|
reorder_items: nil,
|
831
817
|
shipping_method: nil
|
832
|
-
)
|
833
|
-
end
|
834
|
-
|
818
|
+
); end
|
835
819
|
sig do
|
836
820
|
override
|
837
821
|
.returns(
|
@@ -856,11 +840,10 @@ module Lithic
|
|
856
840
|
}
|
857
841
|
)
|
858
842
|
end
|
859
|
-
def to_hash
|
860
|
-
end
|
843
|
+
def to_hash; end
|
861
844
|
|
862
845
|
# The delivery time frame for the merchandise. Maps to EMV 3DS field
|
863
|
-
#
|
846
|
+
# deliveryTimeframe.
|
864
847
|
module DeliveryTimeFrame
|
865
848
|
extend Lithic::Internal::Type::Enum
|
866
849
|
|
@@ -902,16 +885,15 @@ module Lithic
|
|
902
885
|
override
|
903
886
|
.returns(
|
904
887
|
T::Array[
|
905
|
-
|
888
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::DeliveryTimeFrame::TaggedSymbol
|
906
889
|
]
|
907
890
|
)
|
908
891
|
end
|
909
|
-
def self.values
|
910
|
-
end
|
892
|
+
def self.values; end
|
911
893
|
end
|
912
894
|
|
913
895
|
# Indicates whether the purchase is for merchandise that is available now or at a
|
914
|
-
#
|
896
|
+
# future date. Maps to EMV 3DS field preOrderPurchaseInd.
|
915
897
|
module OrderAvailability
|
916
898
|
extend Lithic::Internal::Type::Enum
|
917
899
|
|
@@ -943,16 +925,15 @@ module Lithic
|
|
943
925
|
override
|
944
926
|
.returns(
|
945
927
|
T::Array[
|
946
|
-
|
928
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::OrderAvailability::TaggedSymbol
|
947
929
|
]
|
948
930
|
)
|
949
931
|
end
|
950
|
-
def self.values
|
951
|
-
end
|
932
|
+
def self.values; end
|
952
933
|
end
|
953
934
|
|
954
935
|
# Indicates whether the cardholder is reordering previously purchased merchandise.
|
955
|
-
#
|
936
|
+
# Maps to EMV 3DS field reorderItemsInd.
|
956
937
|
module ReorderItems
|
957
938
|
extend Lithic::Internal::Type::Enum
|
958
939
|
|
@@ -984,18 +965,17 @@ module Lithic
|
|
984
965
|
override
|
985
966
|
.returns(
|
986
967
|
T::Array[
|
987
|
-
|
968
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::ReorderItems::TaggedSymbol
|
988
969
|
]
|
989
970
|
)
|
990
971
|
end
|
991
|
-
def self.values
|
992
|
-
end
|
972
|
+
def self.values; end
|
993
973
|
end
|
994
974
|
|
995
975
|
# Shipping method that the cardholder chose for the transaction. If purchase
|
996
|
-
#
|
997
|
-
#
|
998
|
-
#
|
976
|
+
# includes one or more item, this indicator is used for the physical goods; if the
|
977
|
+
# purchase only includes digital goods, this indicator is used to describe the
|
978
|
+
# most expensive item purchased. Maps to EMV 3DS field shipIndicator.
|
999
979
|
module ShippingMethod
|
1000
980
|
extend Lithic::Internal::Type::Enum
|
1001
981
|
|
@@ -1062,19 +1042,18 @@ module Lithic
|
|
1062
1042
|
override
|
1063
1043
|
.returns(
|
1064
1044
|
T::Array[
|
1065
|
-
|
1045
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::ShippingMethod::TaggedSymbol
|
1066
1046
|
]
|
1067
1047
|
)
|
1068
1048
|
end
|
1069
|
-
def self.values
|
1070
|
-
end
|
1049
|
+
def self.values; end
|
1071
1050
|
end
|
1072
1051
|
end
|
1073
1052
|
end
|
1074
1053
|
|
1075
1054
|
# Either PAYMENT_AUTHENTICATION or NON_PAYMENT_AUTHENTICATION. For
|
1076
|
-
#
|
1077
|
-
#
|
1055
|
+
# NON_PAYMENT_AUTHENTICATION, additional_data and transaction fields are not
|
1056
|
+
# populated.
|
1078
1057
|
module MessageCategory
|
1079
1058
|
extend Lithic::Internal::Type::Enum
|
1080
1059
|
|
@@ -1104,20 +1083,19 @@ module Lithic
|
|
1104
1083
|
override
|
1105
1084
|
.returns(T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::MessageCategory::TaggedSymbol])
|
1106
1085
|
end
|
1107
|
-
def self.values
|
1108
|
-
end
|
1086
|
+
def self.values; end
|
1109
1087
|
end
|
1110
1088
|
|
1111
1089
|
# Indicates whether a challenge is requested for this transaction
|
1112
1090
|
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1091
|
+
# - `NO_PREFERENCE` - No Preference
|
1092
|
+
# - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
|
1093
|
+
# - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
|
1094
|
+
# - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
|
1095
|
+
# - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional
|
1096
|
+
# risk analysis is already performed)
|
1097
|
+
# - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
|
1098
|
+
# - `OTHER` - Other indicators not captured by above. These are rarely used
|
1121
1099
|
module ThreeDSRequestorChallengeIndicator
|
1122
1100
|
extend Lithic::Internal::Type::Enum
|
1123
1101
|
|
@@ -1174,13 +1152,12 @@ module Lithic
|
|
1174
1152
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeDSRequestorChallengeIndicator::TaggedSymbol]
|
1175
1153
|
)
|
1176
1154
|
end
|
1177
|
-
def self.values
|
1178
|
-
end
|
1155
|
+
def self.values; end
|
1179
1156
|
end
|
1180
1157
|
|
1181
1158
|
class AdditionalData < Lithic::Internal::Type::BaseModel
|
1182
1159
|
# Mastercard only: Indicates whether the network would have considered the
|
1183
|
-
#
|
1160
|
+
# authentication request to be low risk or not.
|
1184
1161
|
sig do
|
1185
1162
|
returns(
|
1186
1163
|
T.nilable(
|
@@ -1191,13 +1168,13 @@ module Lithic
|
|
1191
1168
|
attr_accessor :network_decision
|
1192
1169
|
|
1193
1170
|
# Mastercard only: Assessment by the network of the authentication risk level,
|
1194
|
-
#
|
1171
|
+
# with a higher value indicating a higher amount of risk.
|
1195
1172
|
sig { returns(T.nilable(Integer)) }
|
1196
1173
|
attr_accessor :network_risk_score
|
1197
1174
|
|
1198
1175
|
# Object containing additional data about the 3DS request that is beyond the EMV
|
1199
|
-
#
|
1200
|
-
#
|
1176
|
+
# 3DS standard spec (e.g., specific fields that only certain card networks send
|
1177
|
+
# but are not required across all 3DS requests).
|
1201
1178
|
sig do
|
1202
1179
|
params(
|
1203
1180
|
network_decision: T.nilable(
|
@@ -1207,8 +1184,7 @@ module Lithic
|
|
1207
1184
|
)
|
1208
1185
|
.returns(T.attached_class)
|
1209
1186
|
end
|
1210
|
-
def self.new(network_decision: nil, network_risk_score: nil)
|
1211
|
-
end
|
1187
|
+
def self.new(network_decision: nil, network_risk_score: nil); end
|
1212
1188
|
|
1213
1189
|
sig do
|
1214
1190
|
override
|
@@ -1221,11 +1197,10 @@ module Lithic
|
|
1221
1197
|
}
|
1222
1198
|
)
|
1223
1199
|
end
|
1224
|
-
def to_hash
|
1225
|
-
end
|
1200
|
+
def to_hash; end
|
1226
1201
|
|
1227
1202
|
# Mastercard only: Indicates whether the network would have considered the
|
1228
|
-
#
|
1203
|
+
# authentication request to be low risk or not.
|
1229
1204
|
module NetworkDecision
|
1230
1205
|
extend Lithic::Internal::Type::Enum
|
1231
1206
|
|
@@ -1257,19 +1232,18 @@ module Lithic
|
|
1257
1232
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData::NetworkDecision::TaggedSymbol]
|
1258
1233
|
)
|
1259
1234
|
end
|
1260
|
-
def self.values
|
1261
|
-
end
|
1235
|
+
def self.values; end
|
1262
1236
|
end
|
1263
1237
|
end
|
1264
1238
|
|
1265
1239
|
class App < Lithic::Internal::Type::BaseModel
|
1266
1240
|
# Device information gathered from the cardholder's device - JSON name/value pairs
|
1267
|
-
#
|
1241
|
+
# that is Base64url encoded. Maps to EMV 3DS field deviceInfo.
|
1268
1242
|
sig { returns(T.nilable(String)) }
|
1269
1243
|
attr_accessor :device_info
|
1270
1244
|
|
1271
1245
|
# External IP address used by the app generating the 3DS authentication request.
|
1272
|
-
#
|
1246
|
+
# Maps to EMV 3DS field appIp.
|
1273
1247
|
sig { returns(T.nilable(String)) }
|
1274
1248
|
attr_reader :ip
|
1275
1249
|
|
@@ -1277,19 +1251,17 @@ module Lithic
|
|
1277
1251
|
attr_writer :ip
|
1278
1252
|
|
1279
1253
|
# Object containing data about the app used in the e-commerce transaction. Present
|
1280
|
-
#
|
1254
|
+
# if the channel is 'APP_BASED'.
|
1281
1255
|
sig { params(device_info: T.nilable(String), ip: String).returns(T.attached_class) }
|
1282
|
-
def self.new(device_info: nil, ip: nil)
|
1283
|
-
end
|
1256
|
+
def self.new(device_info: nil, ip: nil); end
|
1284
1257
|
|
1285
1258
|
sig { override.returns({device_info: T.nilable(String), ip: String}) }
|
1286
|
-
def to_hash
|
1287
|
-
end
|
1259
|
+
def to_hash; end
|
1288
1260
|
end
|
1289
1261
|
|
1290
1262
|
# Type of authentication request - i.e., the type of transaction or interaction is
|
1291
|
-
#
|
1292
|
-
#
|
1263
|
+
# causing the merchant to request an authentication. Maps to EMV 3DS field
|
1264
|
+
# threeDSRequestorAuthenticationInd.
|
1293
1265
|
module AuthenticationRequestType
|
1294
1266
|
extend Lithic::Internal::Type::Enum
|
1295
1267
|
|
@@ -1361,34 +1333,33 @@ module Lithic
|
|
1361
1333
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AuthenticationRequestType::TaggedSymbol]
|
1362
1334
|
)
|
1363
1335
|
end
|
1364
|
-
def self.values
|
1365
|
-
end
|
1336
|
+
def self.values; end
|
1366
1337
|
end
|
1367
1338
|
|
1368
1339
|
class Browser < Lithic::Internal::Type::BaseModel
|
1369
1340
|
# IP address of the browser as returned by the HTTP headers to the 3DS requestor
|
1370
|
-
#
|
1341
|
+
# (e.g., merchant or digital wallet). Maps to EMV 3DS field browserIP.
|
1371
1342
|
sig { returns(T.nilable(String)) }
|
1372
1343
|
attr_accessor :ip
|
1373
1344
|
|
1374
1345
|
# Indicates whether the cardholder's browser has the ability to execute Java. Maps
|
1375
|
-
#
|
1346
|
+
# to EMV 3DS field browserJavaEnabled.
|
1376
1347
|
sig { returns(T.nilable(T::Boolean)) }
|
1377
1348
|
attr_accessor :java_enabled
|
1378
1349
|
|
1379
1350
|
# Indicates whether the cardholder's browser has the ability to execute
|
1380
|
-
#
|
1351
|
+
# JavaScript. Maps to EMV 3DS field browserJavascriptEnabled.
|
1381
1352
|
sig { returns(T.nilable(T::Boolean)) }
|
1382
1353
|
attr_accessor :javascript_enabled
|
1383
1354
|
|
1384
1355
|
# Language of the cardholder's browser as defined in IETF BCP47. Maps to EMV 3DS
|
1385
|
-
#
|
1356
|
+
# field browserLanguage.
|
1386
1357
|
sig { returns(T.nilable(String)) }
|
1387
1358
|
attr_accessor :language
|
1388
1359
|
|
1389
1360
|
# Time zone of the cardholder's browser offset in minutes between UTC and the
|
1390
|
-
#
|
1391
|
-
#
|
1361
|
+
# cardholder browser's local time. The offset is positive if the local time is
|
1362
|
+
# behind UTC and negative if it is ahead. Maps to EMV 3DS field browserTz.
|
1392
1363
|
sig { returns(T.nilable(String)) }
|
1393
1364
|
attr_accessor :time_zone
|
1394
1365
|
|
@@ -1397,7 +1368,7 @@ module Lithic
|
|
1397
1368
|
attr_accessor :user_agent
|
1398
1369
|
|
1399
1370
|
# Object containing data about the browser used in the e-commerce transaction.
|
1400
|
-
#
|
1371
|
+
# Present if the channel is 'BROWSER'.
|
1401
1372
|
sig do
|
1402
1373
|
params(
|
1403
1374
|
ip: T.nilable(String),
|
@@ -1432,8 +1403,7 @@ module Lithic
|
|
1432
1403
|
}
|
1433
1404
|
)
|
1434
1405
|
end
|
1435
|
-
def to_hash
|
1436
|
-
end
|
1406
|
+
def to_hash; end
|
1437
1407
|
end
|
1438
1408
|
|
1439
1409
|
class ChallengeMetadata < Lithic::Internal::Type::BaseModel
|
@@ -1457,8 +1427,7 @@ module Lithic
|
|
1457
1427
|
)
|
1458
1428
|
.returns(T.attached_class)
|
1459
1429
|
end
|
1460
|
-
def self.new(method_type:, phone_number: nil)
|
1461
|
-
end
|
1430
|
+
def self.new(method_type:, phone_number: nil); end
|
1462
1431
|
|
1463
1432
|
sig do
|
1464
1433
|
override
|
@@ -1469,8 +1438,7 @@ module Lithic
|
|
1469
1438
|
}
|
1470
1439
|
)
|
1471
1440
|
end
|
1472
|
-
def to_hash
|
1473
|
-
end
|
1441
|
+
def to_hash; end
|
1474
1442
|
|
1475
1443
|
# The type of challenge method used for authentication.
|
1476
1444
|
module MethodType
|
@@ -1504,8 +1472,7 @@ module Lithic
|
|
1504
1472
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::MethodType::TaggedSymbol]
|
1505
1473
|
)
|
1506
1474
|
end
|
1507
|
-
def self.values
|
1508
|
-
end
|
1475
|
+
def self.values; end
|
1509
1476
|
end
|
1510
1477
|
end
|
1511
1478
|
|
@@ -1546,8 +1513,7 @@ module Lithic
|
|
1546
1513
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeOrchestratedBy::TaggedSymbol]
|
1547
1514
|
)
|
1548
1515
|
end
|
1549
|
-
def self.values
|
1550
|
-
end
|
1516
|
+
def self.values; end
|
1551
1517
|
end
|
1552
1518
|
|
1553
1519
|
# Entity that made the authentication decision.
|
@@ -1589,15 +1555,14 @@ module Lithic
|
|
1589
1555
|
override
|
1590
1556
|
.returns(T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::DecisionMadeBy::TaggedSymbol])
|
1591
1557
|
end
|
1592
|
-
def self.values
|
1593
|
-
end
|
1558
|
+
def self.values; end
|
1594
1559
|
end
|
1595
1560
|
|
1596
1561
|
# Type of 3DS Requestor Initiated (3RI) request i.e., a 3DS authentication that
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
#
|
1562
|
+
# takes place at the initiation of the merchant rather than the cardholder. The
|
1563
|
+
# most common example of this is where a merchant is authenticating before billing
|
1564
|
+
# for a recurring transaction such as a pay TV subscription or a utility bill.
|
1565
|
+
# Maps to EMV 3DS field threeRIInd.
|
1601
1566
|
module ThreeRiRequestType
|
1602
1567
|
extend Lithic::Internal::Type::Enum
|
1603
1568
|
|
@@ -1696,13 +1661,12 @@ module Lithic
|
|
1696
1661
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeRiRequestType::TaggedSymbol]
|
1697
1662
|
)
|
1698
1663
|
end
|
1699
|
-
def self.values
|
1700
|
-
end
|
1664
|
+
def self.values; end
|
1701
1665
|
end
|
1702
1666
|
|
1703
1667
|
class Transaction < Lithic::Internal::Type::BaseModel
|
1704
1668
|
# Amount of the purchase in minor units of currency with all punctuation removed.
|
1705
|
-
#
|
1669
|
+
# Maps to EMV 3DS field purchaseAmount.
|
1706
1670
|
sig { returns(Float) }
|
1707
1671
|
attr_accessor :amount
|
1708
1672
|
|
@@ -1711,17 +1675,17 @@ module Lithic
|
|
1711
1675
|
attr_accessor :currency
|
1712
1676
|
|
1713
1677
|
# Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV
|
1714
|
-
#
|
1678
|
+
# 3DS field purchaseExponent.
|
1715
1679
|
sig { returns(Float) }
|
1716
1680
|
attr_accessor :currency_exponent
|
1717
1681
|
|
1718
1682
|
# Date and time when the authentication was generated by the merchant/acquirer's
|
1719
|
-
#
|
1683
|
+
# 3DS server. Maps to EMV 3DS field purchaseDate.
|
1720
1684
|
sig { returns(Time) }
|
1721
1685
|
attr_accessor :date_time
|
1722
1686
|
|
1723
1687
|
# Type of the transaction for which a 3DS authentication request is occurring.
|
1724
|
-
#
|
1688
|
+
# Maps to EMV 3DS field transType.
|
1725
1689
|
sig do
|
1726
1690
|
returns(
|
1727
1691
|
T.nilable(Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction::Type::TaggedSymbol)
|
@@ -1730,7 +1694,7 @@ module Lithic
|
|
1730
1694
|
attr_accessor :type
|
1731
1695
|
|
1732
1696
|
# Object containing data about the e-commerce transaction for which the merchant
|
1733
|
-
#
|
1697
|
+
# is requesting authentication.
|
1734
1698
|
sig do
|
1735
1699
|
params(
|
1736
1700
|
amount: Float,
|
@@ -1741,8 +1705,7 @@ module Lithic
|
|
1741
1705
|
)
|
1742
1706
|
.returns(T.attached_class)
|
1743
1707
|
end
|
1744
|
-
def self.new(amount:, currency:, currency_exponent:, date_time:, type:)
|
1745
|
-
end
|
1708
|
+
def self.new(amount:, currency:, currency_exponent:, date_time:, type:); end
|
1746
1709
|
|
1747
1710
|
sig do
|
1748
1711
|
override
|
@@ -1756,11 +1719,10 @@ module Lithic
|
|
1756
1719
|
}
|
1757
1720
|
)
|
1758
1721
|
end
|
1759
|
-
def to_hash
|
1760
|
-
end
|
1722
|
+
def to_hash; end
|
1761
1723
|
|
1762
1724
|
# Type of the transaction for which a 3DS authentication request is occurring.
|
1763
|
-
#
|
1725
|
+
# Maps to EMV 3DS field transType.
|
1764
1726
|
module Type
|
1765
1727
|
extend Lithic::Internal::Type::Enum
|
1766
1728
|
|
@@ -1807,8 +1769,7 @@ module Lithic
|
|
1807
1769
|
T::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction::Type::TaggedSymbol]
|
1808
1770
|
)
|
1809
1771
|
end
|
1810
|
-
def self.values
|
1811
|
-
end
|
1772
|
+
def self.values; end
|
1812
1773
|
end
|
1813
1774
|
end
|
1814
1775
|
end
|