lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/lithic/internal/type/base_model.rb +33 -15
- data/lib/lithic/internal/type/enum.rb +1 -6
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/models/account.rb +39 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +125 -312
- data/lib/lithic/models/account_holder_create_params.rb +97 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +130 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +33 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +391 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +390 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +374 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +390 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +390 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +390 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +71 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +12 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +279 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lib/lithic/internal/type/base_model.rbi +10 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +0 -6
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/base_model.rbs +6 -0
- data/sig/lithic/internal/type/enum.rbs +0 -2
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -102,17 +102,13 @@ module Lithic
|
|
102
102
|
-> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData },
|
103
103
|
nil?: true
|
104
104
|
|
105
|
-
# @!attribute
|
105
|
+
# @!attribute app
|
106
106
|
# Object containing data about the app used in the e-commerce transaction. Present
|
107
107
|
# if the channel is 'APP_BASED'.
|
108
108
|
#
|
109
109
|
# @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App, nil]
|
110
110
|
optional :app, -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App }
|
111
111
|
|
112
|
-
# @!parse
|
113
|
-
# # @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App]
|
114
|
-
# attr_writer :app
|
115
|
-
|
116
112
|
# @!attribute authentication_request_type
|
117
113
|
# Type of authentication request - i.e., the type of transaction or interaction is
|
118
114
|
# causing the merchant to request an authentication. Maps to EMV 3DS field
|
@@ -123,17 +119,13 @@ module Lithic
|
|
123
119
|
enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AuthenticationRequestType },
|
124
120
|
nil?: true
|
125
121
|
|
126
|
-
# @!attribute
|
122
|
+
# @!attribute browser
|
127
123
|
# Object containing data about the browser used in the e-commerce transaction.
|
128
124
|
# Present if the channel is 'BROWSER'.
|
129
125
|
#
|
130
126
|
# @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser, nil]
|
131
127
|
optional :browser, -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser }
|
132
128
|
|
133
|
-
# @!parse
|
134
|
-
# # @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser]
|
135
|
-
# attr_writer :browser
|
136
|
-
|
137
129
|
# @!attribute challenge_metadata
|
138
130
|
# Metadata about the challenge method and delivery.
|
139
131
|
#
|
@@ -179,55 +171,27 @@ module Lithic
|
|
179
171
|
-> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction },
|
180
172
|
nil?: true
|
181
173
|
|
182
|
-
# @!
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
# #
|
204
|
-
# def initialize(
|
205
|
-
# token:,
|
206
|
-
# account_type:,
|
207
|
-
# authentication_result:,
|
208
|
-
# card_expiry_check:,
|
209
|
-
# card_token:,
|
210
|
-
# cardholder:,
|
211
|
-
# channel:,
|
212
|
-
# created:,
|
213
|
-
# merchant:,
|
214
|
-
# message_category:,
|
215
|
-
# three_ds_requestor_challenge_indicator:,
|
216
|
-
# additional_data: nil,
|
217
|
-
# app: nil,
|
218
|
-
# authentication_request_type: nil,
|
219
|
-
# browser: nil,
|
220
|
-
# challenge_metadata: nil,
|
221
|
-
# challenge_orchestrated_by: nil,
|
222
|
-
# decision_made_by: nil,
|
223
|
-
# three_ri_request_type: nil,
|
224
|
-
# transaction: nil,
|
225
|
-
# **
|
226
|
-
# )
|
227
|
-
# super
|
228
|
-
# end
|
229
|
-
|
230
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
174
|
+
# @!method initialize(token:, account_type:, authentication_result:, card_expiry_check:, card_token:, cardholder:, channel:, created:, merchant:, message_category:, three_ds_requestor_challenge_indicator:, additional_data: nil, app: nil, authentication_request_type: nil, browser: nil, challenge_metadata: nil, challenge_orchestrated_by: nil, decision_made_by: nil, three_ri_request_type: nil, transaction: nil)
|
175
|
+
# @param token [String]
|
176
|
+
# @param account_type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AccountType, nil]
|
177
|
+
# @param authentication_result [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AuthenticationResult]
|
178
|
+
# @param card_expiry_check [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::CardExpiryCheck]
|
179
|
+
# @param card_token [String]
|
180
|
+
# @param cardholder [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder]
|
181
|
+
# @param channel [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Channel]
|
182
|
+
# @param created [Time]
|
183
|
+
# @param merchant [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant]
|
184
|
+
# @param message_category [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::MessageCategory]
|
185
|
+
# @param three_ds_requestor_challenge_indicator [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeDSRequestorChallengeIndicator]
|
186
|
+
# @param additional_data [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData, nil]
|
187
|
+
# @param app [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App]
|
188
|
+
# @param authentication_request_type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AuthenticationRequestType, nil]
|
189
|
+
# @param browser [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser]
|
190
|
+
# @param challenge_metadata [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata, nil]
|
191
|
+
# @param challenge_orchestrated_by [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeOrchestratedBy, nil]
|
192
|
+
# @param decision_made_by [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::DecisionMadeBy, nil]
|
193
|
+
# @param three_ri_request_type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ThreeRiRequestType, nil]
|
194
|
+
# @param transaction [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction, nil]
|
231
195
|
|
232
196
|
# Type of account/card that is being used for the transaction. Maps to EMV 3DS
|
233
197
|
# field `acctType`.
|
@@ -240,11 +204,8 @@ module Lithic
|
|
240
204
|
DEBIT = :DEBIT
|
241
205
|
NOT_APPLICABLE = :NOT_APPLICABLE
|
242
206
|
|
243
|
-
|
244
|
-
|
245
|
-
# @!parse
|
246
|
-
# # @return [Array<Symbol>]
|
247
|
-
# def self.values; end
|
207
|
+
# @!method self.values
|
208
|
+
# @return [Array<Symbol>]
|
248
209
|
end
|
249
210
|
|
250
211
|
# Indicates the outcome of the 3DS authentication process.
|
@@ -258,11 +219,8 @@ module Lithic
|
|
258
219
|
PENDING_CHALLENGE = :PENDING_CHALLENGE
|
259
220
|
PENDING_DECISION = :PENDING_DECISION
|
260
221
|
|
261
|
-
|
262
|
-
|
263
|
-
# @!parse
|
264
|
-
# # @return [Array<Symbol>]
|
265
|
-
# def self.values; end
|
222
|
+
# @!method self.values
|
223
|
+
# @return [Array<Symbol>]
|
266
224
|
end
|
267
225
|
|
268
226
|
# Indicates whether the expiration date provided by the cardholder during checkout
|
@@ -276,11 +234,8 @@ module Lithic
|
|
276
234
|
MISMATCH = :MISMATCH
|
277
235
|
NOT_PRESENT = :NOT_PRESENT
|
278
236
|
|
279
|
-
|
280
|
-
|
281
|
-
# @!parse
|
282
|
-
# # @return [Array<Symbol>]
|
283
|
-
# def self.values; end
|
237
|
+
# @!method self.values
|
238
|
+
# @return [Array<Symbol>]
|
284
239
|
end
|
285
240
|
|
286
241
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#cardholder
|
@@ -294,17 +249,13 @@ module Lithic
|
|
294
249
|
# @return [Boolean, nil]
|
295
250
|
optional :address_match, Lithic::Internal::Type::Boolean, nil?: true
|
296
251
|
|
297
|
-
# @!attribute
|
252
|
+
# @!attribute billing_address
|
298
253
|
# Object containing data on the billing address provided during the transaction.
|
299
254
|
#
|
300
255
|
# @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress, nil]
|
301
256
|
optional :billing_address,
|
302
257
|
-> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress }
|
303
258
|
|
304
|
-
# @!parse
|
305
|
-
# # @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress]
|
306
|
-
# attr_writer :billing_address
|
307
|
-
|
308
259
|
# @!attribute email
|
309
260
|
# Email address that is either provided by the cardholder or is on file with the
|
310
261
|
# merchant in a 3RI request. Maps to EMV 3DS field email.
|
@@ -339,44 +290,24 @@ module Lithic
|
|
339
290
|
# @return [String, nil]
|
340
291
|
optional :phone_number_work, String, nil?: true
|
341
292
|
|
342
|
-
# @!attribute
|
293
|
+
# @!attribute shipping_address
|
343
294
|
# Object containing data on the shipping address provided during the transaction.
|
344
295
|
#
|
345
296
|
# @return [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress, nil]
|
346
297
|
optional :shipping_address,
|
347
298
|
-> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress }
|
348
299
|
|
349
|
-
# @!
|
350
|
-
#
|
351
|
-
#
|
352
|
-
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
# # @param phone_number_home [String, nil]
|
361
|
-
# # @param phone_number_mobile [String, nil]
|
362
|
-
# # @param phone_number_work [String, nil]
|
363
|
-
# # @param shipping_address [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress]
|
364
|
-
# #
|
365
|
-
# def initialize(
|
366
|
-
# address_match: nil,
|
367
|
-
# billing_address: nil,
|
368
|
-
# email: nil,
|
369
|
-
# name: nil,
|
370
|
-
# phone_number_home: nil,
|
371
|
-
# phone_number_mobile: nil,
|
372
|
-
# phone_number_work: nil,
|
373
|
-
# shipping_address: nil,
|
374
|
-
# **
|
375
|
-
# )
|
376
|
-
# super
|
377
|
-
# end
|
378
|
-
|
379
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
300
|
+
# @!method initialize(address_match: nil, billing_address: nil, email: nil, name: nil, phone_number_home: nil, phone_number_mobile: nil, phone_number_work: nil, shipping_address: nil)
|
301
|
+
# Object containing data about the cardholder provided during the transaction.
|
302
|
+
#
|
303
|
+
# @param address_match [Boolean, nil]
|
304
|
+
# @param billing_address [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress]
|
305
|
+
# @param email [String, nil]
|
306
|
+
# @param name [String, nil]
|
307
|
+
# @param phone_number_home [String, nil]
|
308
|
+
# @param phone_number_mobile [String, nil]
|
309
|
+
# @param phone_number_work [String, nil]
|
310
|
+
# @param shipping_address [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress]
|
380
311
|
|
381
312
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder#billing_address
|
382
313
|
class BillingAddress < Lithic::Internal::Type::BaseModel
|
@@ -417,19 +348,15 @@ module Lithic
|
|
417
348
|
# @return [String, nil]
|
418
349
|
optional :postal_code, String, nil?: true
|
419
350
|
|
420
|
-
# @!
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
# #
|
430
|
-
# def initialize(address1: nil, address2: nil, address3: nil, city: nil, country: nil, postal_code: nil, **) = super
|
431
|
-
|
432
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
351
|
+
# @!method initialize(address1: nil, address2: nil, address3: nil, city: nil, country: nil, postal_code: nil)
|
352
|
+
# Object containing data on the billing address provided during the transaction.
|
353
|
+
#
|
354
|
+
# @param address1 [String, nil]
|
355
|
+
# @param address2 [String, nil]
|
356
|
+
# @param address3 [String, nil]
|
357
|
+
# @param city [String, nil]
|
358
|
+
# @param country [String, nil]
|
359
|
+
# @param postal_code [String, nil]
|
433
360
|
end
|
434
361
|
|
435
362
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder#shipping_address
|
@@ -471,19 +398,15 @@ module Lithic
|
|
471
398
|
# @return [String, nil]
|
472
399
|
optional :postal_code, String, nil?: true
|
473
400
|
|
474
|
-
# @!
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
# #
|
484
|
-
# def initialize(address1: nil, address2: nil, address3: nil, city: nil, country: nil, postal_code: nil, **) = super
|
485
|
-
|
486
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
401
|
+
# @!method initialize(address1: nil, address2: nil, address3: nil, city: nil, country: nil, postal_code: nil)
|
402
|
+
# Object containing data on the shipping address provided during the transaction.
|
403
|
+
#
|
404
|
+
# @param address1 [String, nil]
|
405
|
+
# @param address2 [String, nil]
|
406
|
+
# @param address3 [String, nil]
|
407
|
+
# @param city [String, nil]
|
408
|
+
# @param country [String, nil]
|
409
|
+
# @param postal_code [String, nil]
|
487
410
|
end
|
488
411
|
end
|
489
412
|
|
@@ -497,11 +420,8 @@ module Lithic
|
|
497
420
|
BROWSER = :BROWSER
|
498
421
|
THREE_DS_REQUESTOR_INITIATED = :THREE_DS_REQUESTOR_INITIATED
|
499
422
|
|
500
|
-
|
501
|
-
|
502
|
-
# @!parse
|
503
|
-
# # @return [Array<Symbol>]
|
504
|
-
# def self.values; end
|
423
|
+
# @!method self.values
|
424
|
+
# @return [Array<Symbol>]
|
505
425
|
end
|
506
426
|
|
507
427
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#merchant
|
@@ -541,19 +461,15 @@ module Lithic
|
|
541
461
|
required :risk_indicator,
|
542
462
|
-> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator }
|
543
463
|
|
544
|
-
# @!
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
# #
|
554
|
-
# def initialize(id:, country:, mcc:, name:, risk_indicator:, **) = super
|
555
|
-
|
556
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
464
|
+
# @!method initialize(id:, country:, mcc:, name:, risk_indicator:)
|
465
|
+
# Object containing data about the merchant involved in the e-commerce
|
466
|
+
# transaction.
|
467
|
+
#
|
468
|
+
# @param id [String]
|
469
|
+
# @param country [String]
|
470
|
+
# @param mcc [String]
|
471
|
+
# @param name [String]
|
472
|
+
# @param risk_indicator [Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator]
|
557
473
|
|
558
474
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant#risk_indicator
|
559
475
|
class RiskIndicator < Lithic::Internal::Type::BaseModel
|
@@ -631,36 +547,19 @@ module Lithic
|
|
631
547
|
enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::ShippingMethod },
|
632
548
|
nil?: true
|
633
549
|
|
634
|
-
# @!
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
647
|
-
# #
|
648
|
-
# def initialize(
|
649
|
-
# delivery_email_address: nil,
|
650
|
-
# delivery_time_frame: nil,
|
651
|
-
# gift_card_amount: nil,
|
652
|
-
# gift_card_count: nil,
|
653
|
-
# gift_card_currency: nil,
|
654
|
-
# order_availability: nil,
|
655
|
-
# pre_order_available_date: nil,
|
656
|
-
# reorder_items: nil,
|
657
|
-
# shipping_method: nil,
|
658
|
-
# **
|
659
|
-
# )
|
660
|
-
# super
|
661
|
-
# end
|
662
|
-
|
663
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
550
|
+
# @!method initialize(delivery_email_address: nil, delivery_time_frame: nil, gift_card_amount: nil, gift_card_count: nil, gift_card_currency: nil, order_availability: nil, pre_order_available_date: nil, reorder_items: nil, shipping_method: nil)
|
551
|
+
# Object containing additional data indicating additional risk factors related to
|
552
|
+
# the e-commerce transaction.
|
553
|
+
#
|
554
|
+
# @param delivery_email_address [String, nil]
|
555
|
+
# @param delivery_time_frame [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::DeliveryTimeFrame, nil]
|
556
|
+
# @param gift_card_amount [Integer, nil]
|
557
|
+
# @param gift_card_count [Integer, nil]
|
558
|
+
# @param gift_card_currency [String, nil]
|
559
|
+
# @param order_availability [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::OrderAvailability, nil]
|
560
|
+
# @param pre_order_available_date [Time, nil]
|
561
|
+
# @param reorder_items [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::ReorderItems, nil]
|
562
|
+
# @param shipping_method [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator::ShippingMethod, nil]
|
664
563
|
|
665
564
|
# The delivery time frame for the merchandise. Maps to EMV 3DS field
|
666
565
|
# deliveryTimeframe.
|
@@ -674,11 +573,8 @@ module Lithic
|
|
674
573
|
SAME_DAY_SHIPPING = :SAME_DAY_SHIPPING
|
675
574
|
TWO_DAY_OR_MORE_SHIPPING = :TWO_DAY_OR_MORE_SHIPPING
|
676
575
|
|
677
|
-
|
678
|
-
|
679
|
-
# @!parse
|
680
|
-
# # @return [Array<Symbol>]
|
681
|
-
# def self.values; end
|
576
|
+
# @!method self.values
|
577
|
+
# @return [Array<Symbol>]
|
682
578
|
end
|
683
579
|
|
684
580
|
# Indicates whether the purchase is for merchandise that is available now or at a
|
@@ -691,11 +587,8 @@ module Lithic
|
|
691
587
|
FUTURE_AVAILABILITY = :FUTURE_AVAILABILITY
|
692
588
|
MERCHANDISE_AVAILABLE = :MERCHANDISE_AVAILABLE
|
693
589
|
|
694
|
-
|
695
|
-
|
696
|
-
# @!parse
|
697
|
-
# # @return [Array<Symbol>]
|
698
|
-
# def self.values; end
|
590
|
+
# @!method self.values
|
591
|
+
# @return [Array<Symbol>]
|
699
592
|
end
|
700
593
|
|
701
594
|
# Indicates whether the cardholder is reordering previously purchased merchandise.
|
@@ -708,11 +601,8 @@ module Lithic
|
|
708
601
|
FIRST_TIME_ORDERED = :FIRST_TIME_ORDERED
|
709
602
|
REORDERED = :REORDERED
|
710
603
|
|
711
|
-
|
712
|
-
|
713
|
-
# @!parse
|
714
|
-
# # @return [Array<Symbol>]
|
715
|
-
# def self.values; end
|
604
|
+
# @!method self.values
|
605
|
+
# @return [Array<Symbol>]
|
716
606
|
end
|
717
607
|
|
718
608
|
# Shipping method that the cardholder chose for the transaction. If purchase
|
@@ -734,11 +624,8 @@ module Lithic
|
|
734
624
|
SHIP_TO_STORE = :SHIP_TO_STORE
|
735
625
|
TRAVEL_AND_EVENT_TICKETS = :TRAVEL_AND_EVENT_TICKETS
|
736
626
|
|
737
|
-
|
738
|
-
|
739
|
-
# @!parse
|
740
|
-
# # @return [Array<Symbol>]
|
741
|
-
# def self.values; end
|
627
|
+
# @!method self.values
|
628
|
+
# @return [Array<Symbol>]
|
742
629
|
end
|
743
630
|
end
|
744
631
|
end
|
@@ -754,11 +641,8 @@ module Lithic
|
|
754
641
|
NON_PAYMENT_AUTHENTICATION = :NON_PAYMENT_AUTHENTICATION
|
755
642
|
PAYMENT_AUTHENTICATION = :PAYMENT_AUTHENTICATION
|
756
643
|
|
757
|
-
|
758
|
-
|
759
|
-
# @!parse
|
760
|
-
# # @return [Array<Symbol>]
|
761
|
-
# def self.values; end
|
644
|
+
# @!method self.values
|
645
|
+
# @return [Array<Symbol>]
|
762
646
|
end
|
763
647
|
|
764
648
|
# Indicates whether a challenge is requested for this transaction
|
@@ -784,11 +668,8 @@ module Lithic
|
|
784
668
|
DATA_SHARE_ONLY = :DATA_SHARE_ONLY
|
785
669
|
OTHER = :OTHER
|
786
670
|
|
787
|
-
|
788
|
-
|
789
|
-
# @!parse
|
790
|
-
# # @return [Array<Symbol>]
|
791
|
-
# def self.values; end
|
671
|
+
# @!method self.values
|
672
|
+
# @return [Array<Symbol>]
|
792
673
|
end
|
793
674
|
|
794
675
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#additional_data
|
@@ -809,17 +690,13 @@ module Lithic
|
|
809
690
|
# @return [Integer, nil]
|
810
691
|
optional :network_risk_score, Integer, nil?: true
|
811
692
|
|
812
|
-
# @!
|
813
|
-
#
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
# #
|
820
|
-
# def initialize(network_decision: nil, network_risk_score: nil, **) = super
|
821
|
-
|
822
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
693
|
+
# @!method initialize(network_decision: nil, network_risk_score: nil)
|
694
|
+
# Object containing additional data about the 3DS request that is beyond the EMV
|
695
|
+
# 3DS standard spec (e.g., specific fields that only certain card networks send
|
696
|
+
# but are not required across all 3DS requests).
|
697
|
+
#
|
698
|
+
# @param network_decision [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData::NetworkDecision, nil]
|
699
|
+
# @param network_risk_score [Integer, nil]
|
823
700
|
|
824
701
|
# Mastercard only: Indicates whether the network would have considered the
|
825
702
|
# authentication request to be low risk or not.
|
@@ -831,11 +708,8 @@ module Lithic
|
|
831
708
|
LOW_RISK = :LOW_RISK
|
832
709
|
NOT_LOW_RISK = :NOT_LOW_RISK
|
833
710
|
|
834
|
-
|
835
|
-
|
836
|
-
# @!parse
|
837
|
-
# # @return [Array<Symbol>]
|
838
|
-
# def self.values; end
|
711
|
+
# @!method self.values
|
712
|
+
# @return [Array<Symbol>]
|
839
713
|
end
|
840
714
|
end
|
841
715
|
|
@@ -848,27 +722,19 @@ module Lithic
|
|
848
722
|
# @return [String, nil]
|
849
723
|
optional :device_info, String, nil?: true
|
850
724
|
|
851
|
-
# @!attribute
|
725
|
+
# @!attribute ip
|
852
726
|
# External IP address used by the app generating the 3DS authentication request.
|
853
727
|
# Maps to EMV 3DS field appIp.
|
854
728
|
#
|
855
729
|
# @return [String, nil]
|
856
730
|
optional :ip, String
|
857
731
|
|
858
|
-
# @!
|
859
|
-
#
|
860
|
-
#
|
861
|
-
|
862
|
-
#
|
863
|
-
#
|
864
|
-
# # if the channel is 'APP_BASED'.
|
865
|
-
# #
|
866
|
-
# # @param device_info [String, nil]
|
867
|
-
# # @param ip [String]
|
868
|
-
# #
|
869
|
-
# def initialize(device_info: nil, ip: nil, **) = super
|
870
|
-
|
871
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
732
|
+
# @!method initialize(device_info: nil, ip: nil)
|
733
|
+
# Object containing data about the app used in the e-commerce transaction. Present
|
734
|
+
# if the channel is 'APP_BASED'.
|
735
|
+
#
|
736
|
+
# @param device_info [String, nil]
|
737
|
+
# @param ip [String]
|
872
738
|
end
|
873
739
|
|
874
740
|
# Type of authentication request - i.e., the type of transaction or interaction is
|
@@ -890,11 +756,8 @@ module Lithic
|
|
890
756
|
SPLIT_PAYMENT = :SPLIT_PAYMENT
|
891
757
|
SPLIT_SHIPMENT = :SPLIT_SHIPMENT
|
892
758
|
|
893
|
-
|
894
|
-
|
895
|
-
# @!parse
|
896
|
-
# # @return [Array<Symbol>]
|
897
|
-
# def self.values; end
|
759
|
+
# @!method self.values
|
760
|
+
# @return [Array<Symbol>]
|
898
761
|
end
|
899
762
|
|
900
763
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#browser
|
@@ -941,20 +804,16 @@ module Lithic
|
|
941
804
|
# @return [String, nil]
|
942
805
|
optional :user_agent, String, nil?: true
|
943
806
|
|
944
|
-
# @!
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
949
|
-
#
|
950
|
-
#
|
951
|
-
#
|
952
|
-
#
|
953
|
-
#
|
954
|
-
# #
|
955
|
-
# def initialize(ip: nil, java_enabled: nil, javascript_enabled: nil, language: nil, time_zone: nil, user_agent: nil, **) = super
|
956
|
-
|
957
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
807
|
+
# @!method initialize(ip: nil, java_enabled: nil, javascript_enabled: nil, language: nil, time_zone: nil, user_agent: nil)
|
808
|
+
# Object containing data about the browser used in the e-commerce transaction.
|
809
|
+
# Present if the channel is 'BROWSER'.
|
810
|
+
#
|
811
|
+
# @param ip [String, nil]
|
812
|
+
# @param java_enabled [Boolean, nil]
|
813
|
+
# @param javascript_enabled [Boolean, nil]
|
814
|
+
# @param language [String, nil]
|
815
|
+
# @param time_zone [String, nil]
|
816
|
+
# @param user_agent [String, nil]
|
958
817
|
end
|
959
818
|
|
960
819
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#challenge_metadata
|
@@ -972,15 +831,11 @@ module Lithic
|
|
972
831
|
# @return [String, nil]
|
973
832
|
optional :phone_number, String, nil?: true
|
974
833
|
|
975
|
-
# @!
|
976
|
-
#
|
977
|
-
#
|
978
|
-
#
|
979
|
-
#
|
980
|
-
# #
|
981
|
-
# def initialize(method_type:, phone_number: nil, **) = super
|
982
|
-
|
983
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
834
|
+
# @!method initialize(method_type:, phone_number: nil)
|
835
|
+
# Metadata about the challenge method and delivery.
|
836
|
+
#
|
837
|
+
# @param method_type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::MethodType]
|
838
|
+
# @param phone_number [String, nil]
|
984
839
|
|
985
840
|
# The type of challenge method used for authentication.
|
986
841
|
#
|
@@ -991,11 +846,8 @@ module Lithic
|
|
991
846
|
SMS_OTP = :SMS_OTP
|
992
847
|
OUT_OF_BAND = :OUT_OF_BAND
|
993
848
|
|
994
|
-
|
995
|
-
|
996
|
-
# @!parse
|
997
|
-
# # @return [Array<Symbol>]
|
998
|
-
# def self.values; end
|
849
|
+
# @!method self.values
|
850
|
+
# @return [Array<Symbol>]
|
999
851
|
end
|
1000
852
|
end
|
1001
853
|
|
@@ -1009,11 +861,8 @@ module Lithic
|
|
1009
861
|
CUSTOMER = :CUSTOMER
|
1010
862
|
NO_CHALLENGE = :NO_CHALLENGE
|
1011
863
|
|
1012
|
-
|
1013
|
-
|
1014
|
-
# @!parse
|
1015
|
-
# # @return [Array<Symbol>]
|
1016
|
-
# def self.values; end
|
864
|
+
# @!method self.values
|
865
|
+
# @return [Array<Symbol>]
|
1017
866
|
end
|
1018
867
|
|
1019
868
|
# Entity that made the authentication decision.
|
@@ -1028,11 +877,8 @@ module Lithic
|
|
1028
877
|
NETWORK = :NETWORK
|
1029
878
|
UNKNOWN = :UNKNOWN
|
1030
879
|
|
1031
|
-
|
1032
|
-
|
1033
|
-
# @!parse
|
1034
|
-
# # @return [Array<Symbol>]
|
1035
|
-
# def self.values; end
|
880
|
+
# @!method self.values
|
881
|
+
# @return [Array<Symbol>]
|
1036
882
|
end
|
1037
883
|
|
1038
884
|
# Type of 3DS Requestor Initiated (3RI) request i.e., a 3DS authentication that
|
@@ -1062,11 +908,8 @@ module Lithic
|
|
1062
908
|
TOP_UP = :TOP_UP
|
1063
909
|
TRUST_LIST_STATUS_CHECK = :TRUST_LIST_STATUS_CHECK
|
1064
910
|
|
1065
|
-
|
1066
|
-
|
1067
|
-
# @!parse
|
1068
|
-
# # @return [Array<Symbol>]
|
1069
|
-
# def self.values; end
|
911
|
+
# @!method self.values
|
912
|
+
# @return [Array<Symbol>]
|
1070
913
|
end
|
1071
914
|
|
1072
915
|
# @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#transaction
|
@@ -1107,19 +950,15 @@ module Lithic
|
|
1107
950
|
enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction::Type },
|
1108
951
|
nil?: true
|
1109
952
|
|
1110
|
-
# @!
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
# #
|
1120
|
-
# def initialize(amount:, currency:, currency_exponent:, date_time:, type:, **) = super
|
1121
|
-
|
1122
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
953
|
+
# @!method initialize(amount:, currency:, currency_exponent:, date_time:, type:)
|
954
|
+
# Object containing data about the e-commerce transaction for which the merchant
|
955
|
+
# is requesting authentication.
|
956
|
+
#
|
957
|
+
# @param amount [Float]
|
958
|
+
# @param currency [String]
|
959
|
+
# @param currency_exponent [Float]
|
960
|
+
# @param date_time [Time]
|
961
|
+
# @param type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction::Type, nil]
|
1123
962
|
|
1124
963
|
# Type of the transaction for which a 3DS authentication request is occurring.
|
1125
964
|
# Maps to EMV 3DS field transType.
|
@@ -1134,11 +973,8 @@ module Lithic
|
|
1134
973
|
PREPAID_ACTIVATION_AND_LOAD = :PREPAID_ACTIVATION_AND_LOAD
|
1135
974
|
QUASI_CASH_TRANSACTION = :QUASI_CASH_TRANSACTION
|
1136
975
|
|
1137
|
-
|
1138
|
-
|
1139
|
-
# @!parse
|
1140
|
-
# # @return [Array<Symbol>]
|
1141
|
-
# def self.values; end
|
976
|
+
# @!method self.values
|
977
|
+
# @return [Array<Symbol>]
|
1142
978
|
end
|
1143
979
|
end
|
1144
980
|
end
|