lithic 0.1.0.pre.alpha.22 → 0.1.0.pre.alpha.23
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 +8 -0
- data/README.md +3 -3
- data/lib/lithic/client.rb +2 -7
- data/lib/lithic/file_part.rb +2 -2
- data/lib/lithic/internal/type/enum.rb +3 -3
- data/lib/lithic/internal/type/request_parameters.rb +4 -4
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account.rb +21 -26
- data/lib/lithic/models/account_holder.rb +71 -85
- data/lib/lithic/models/account_holder_create_params.rb +54 -77
- data/lib/lithic/models/account_holder_create_response.rb +4 -6
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -3
- data/lib/lithic/models/account_holder_list_params.rb +0 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +6 -7
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +8 -7
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +14 -40
- data/lib/lithic/models/account_holder_update_params.rb +42 -66
- data/lib/lithic/models/account_holder_update_response.rb +14 -43
- data/lib/lithic/models/account_holder_upload_document_params.rb +3 -3
- data/lib/lithic/models/account_list_params.rb +0 -4
- data/lib/lithic/models/account_spend_limits.rb +14 -20
- data/lib/lithic/models/account_update_params.rb +6 -10
- data/lib/lithic/models/address.rb +2 -5
- data/lib/lithic/models/address_update.rb +2 -5
- data/lib/lithic/models/aggregate_balance.rb +6 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +3 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +5 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -11
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -3
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +31 -32
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_create_params.rb +18 -20
- data/lib/lithic/models/auth_rules/v2_create_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +15 -17
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_update_params.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_response.rb +10 -20
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +16 -23
- data/lib/lithic/models/balance.rb +6 -10
- data/lib/lithic/models/balance_list_params.rb +3 -4
- data/lib/lithic/models/book_transfer_create_params.rb +6 -10
- data/lib/lithic/models/book_transfer_list_params.rb +9 -14
- data/lib/lithic/models/book_transfer_response.rb +26 -34
- data/lib/lithic/models/card.rb +2 -3
- data/lib/lithic/models/card_convert_physical_params.rb +9 -10
- data/lib/lithic/models/card_create_params.rb +18 -28
- data/lib/lithic/models/card_list_params.rb +4 -8
- data/lib/lithic/models/card_program.rb +2 -3
- data/lib/lithic/models/card_program_list_params.rb +0 -2
- data/lib/lithic/models/card_provision_params.rb +3 -8
- data/lib/lithic/models/card_reissue_params.rb +9 -10
- data/lib/lithic/models/card_renew_params.rb +9 -12
- data/lib/lithic/models/card_spend_limits.rb +14 -20
- data/lib/lithic/models/card_update_params.rb +9 -13
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -4
- data/lib/lithic/models/cards/balance_list_params.rb +1 -1
- data/lib/lithic/models/cards/balance_list_response.rb +0 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -13
- data/lib/lithic/models/digital_card_art.rb +4 -4
- data/lib/lithic/models/digital_card_art_list_params.rb +0 -2
- data/lib/lithic/models/dispute.rb +14 -16
- data/lib/lithic/models/dispute_create_params.rb +3 -3
- data/lib/lithic/models/dispute_evidence.rb +6 -7
- data/lib/lithic/models/dispute_list_evidences_params.rb +0 -4
- data/lib/lithic/models/dispute_list_params.rb +3 -7
- data/lib/lithic/models/dispute_update_params.rb +3 -3
- data/lib/lithic/models/document.rb +22 -22
- data/lib/lithic/models/event.rb +7 -7
- data/lib/lithic/models/event_list_attempts_params.rb +3 -7
- data/lib/lithic/models/event_list_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +3 -3
- data/lib/lithic/models/events/subscription_create_params.rb +5 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +3 -7
- data/lib/lithic/models/events/subscription_list_params.rb +0 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +0 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +0 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +3 -4
- data/lib/lithic/models/events/subscription_update_params.rb +5 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +12 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +3 -10
- data/lib/lithic/models/external_bank_account_list_params.rb +16 -14
- data/lib/lithic/models/external_bank_account_list_response.rb +3 -10
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +3 -10
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +3 -10
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +9 -16
- data/lib/lithic/models/external_bank_account_update_params.rb +9 -10
- data/lib/lithic/models/external_bank_account_update_response.rb +3 -10
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +3 -10
- data/lib/lithic/models/external_payment.rb +30 -30
- data/lib/lithic/models/external_payment_create_params.rb +9 -9
- data/lib/lithic/models/external_payment_list_params.rb +9 -14
- data/lib/lithic/models/external_payment_settle_params.rb +3 -3
- data/lib/lithic/models/financial_account.rb +24 -24
- data/lib/lithic/models/financial_account_create_params.rb +3 -3
- data/lib/lithic/models/financial_account_list_params.rb +3 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +6 -8
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +8 -8
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -14
- data/lib/lithic/models/financial_accounts/loan_tape.rb +101 -100
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +0 -4
- data/lib/lithic/models/financial_accounts/statement.rb +68 -67
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +0 -4
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +0 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +17 -14
- data/lib/lithic/models/financial_accounts/statements.rb +3 -3
- data/lib/lithic/models/financial_transaction.rb +25 -32
- data/lib/lithic/models/kyb.rb +40 -59
- data/lib/lithic/models/kyb_business_entity.rb +6 -13
- data/lib/lithic/models/kyc.rb +17 -23
- data/lib/lithic/models/kyc_exempt.rb +13 -16
- data/lib/lithic/models/management_operation_create_params.rb +9 -9
- data/lib/lithic/models/management_operation_list_params.rb +6 -11
- data/lib/lithic/models/management_operation_transaction.rb +38 -35
- data/lib/lithic/models/message_attempt.rb +7 -7
- data/lib/lithic/models/non_pci_card.rb +34 -44
- data/lib/lithic/models/payment.rb +51 -56
- data/lib/lithic/models/payment_create_params.rb +13 -14
- data/lib/lithic/models/payment_create_response.rb +3 -3
- data/lib/lithic/models/payment_list_params.rb +9 -13
- data/lib/lithic/models/payment_retry_response.rb +3 -3
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -6
- data/lib/lithic/models/payment_simulate_receipt_params.rb +3 -4
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -4
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -4
- data/lib/lithic/models/reports/settlement_list_details_params.rb +0 -2
- data/lib/lithic/models/required_document.rb +2 -4
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +3 -3
- data/lib/lithic/models/responder_endpoint_create_params.rb +3 -3
- data/lib/lithic/models/responder_endpoint_delete_params.rb +3 -3
- data/lib/lithic/models/settlement_detail.rb +14 -20
- data/lib/lithic/models/settlement_report.rb +5 -11
- data/lib/lithic/models/settlement_summary_details.rb +5 -8
- data/lib/lithic/models/shipping_address.rb +2 -9
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +4 -50
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +0 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +12 -16
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +0 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +4 -5
- data/lib/lithic/models/tokenization.rb +25 -27
- data/lib/lithic/models/tokenization_list_params.rb +3 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +3 -4
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -3
- data/lib/lithic/models/tokenization_simulate_params.rb +6 -9
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +0 -1
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -3
- data/lib/lithic/models/transaction.rb +202 -239
- data/lib/lithic/models/transaction_list_params.rb +7 -12
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +0 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +4 -8
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +0 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +0 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +0 -2
- data/lib/lithic/models/transaction_simulate_void_params.rb +3 -4
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +3 -3
- data/lib/lithic/models/transactions/events/enhanced_data.rb +45 -41
- data/lib/lithic/models/transfer.rb +33 -40
- data/lib/lithic/models/transfer_create_params.rb +0 -4
- data/lib/lithic/resources/account_holders.rb +36 -67
- data/lib/lithic/resources/accounts.rb +12 -20
- data/lib/lithic/resources/aggregate_balances.rb +4 -4
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +4 -4
- data/lib/lithic/resources/auth_rules/v2.rb +10 -12
- data/lib/lithic/resources/auth_stream_enrollment.rb +2 -2
- data/lib/lithic/resources/balances.rb +4 -5
- data/lib/lithic/resources/book_transfers.rb +16 -25
- data/lib/lithic/resources/card_programs.rb +5 -7
- data/lib/lithic/resources/cards/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +9 -13
- data/lib/lithic/resources/cards.rb +48 -82
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -2
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -2
- data/lib/lithic/resources/digital_card_art.rb +5 -8
- data/lib/lithic/resources/disputes.rb +28 -36
- data/lib/lithic/resources/events/event_subscriptions.rb +1 -1
- data/lib/lithic/resources/events/subscriptions.rb +21 -33
- data/lib/lithic/resources/events.rb +10 -18
- data/lib/lithic/resources/external_bank_accounts/micro_deposits.rb +1 -1
- data/lib/lithic/resources/external_bank_accounts.rb +16 -22
- data/lib/lithic/resources/external_payments.rb +27 -32
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +5 -5
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +9 -14
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +6 -10
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +3 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +6 -10
- data/lib/lithic/resources/financial_accounts.rb +18 -18
- data/lib/lithic/resources/management_operations.rb +16 -21
- data/lib/lithic/resources/payments.rb +19 -25
- data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -7
- data/lib/lithic/resources/reports/settlement.rb +5 -7
- data/lib/lithic/resources/responder_endpoints.rb +8 -8
- data/lib/lithic/resources/three_ds/authentication.rb +5 -7
- data/lib/lithic/resources/three_ds/decisioning.rb +2 -3
- data/lib/lithic/resources/tokenization_decisioning.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +10 -18
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -2
- data/lib/lithic/resources/transactions.rb +18 -32
- data/lib/lithic/resources/transfers.rb +3 -7
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lithic/client.rbi +16 -7
- data/rbi/lithic/errors.rbi +35 -16
- data/rbi/lithic/file_part.rbi +9 -6
- data/rbi/lithic/internal/cursor_page.rbi +2 -1
- data/rbi/lithic/internal/single_page.rbi +2 -1
- data/rbi/lithic/internal/transport/base_client.rbi +135 -73
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +26 -12
- data/rbi/lithic/internal/type/array_of.rbi +34 -24
- data/rbi/lithic/internal/type/base_model.rbi +124 -65
- data/rbi/lithic/internal/type/base_page.rbi +13 -8
- data/rbi/lithic/internal/type/boolean.rbi +16 -14
- data/rbi/lithic/internal/type/converter.rbi +64 -28
- data/rbi/lithic/internal/type/enum.rbi +27 -15
- data/rbi/lithic/internal/type/file_input.rbi +12 -10
- data/rbi/lithic/internal/type/hash_of.rbi +34 -24
- data/rbi/lithic/internal/type/request_parameters.rbi +12 -4
- data/rbi/lithic/internal/type/union.rbi +56 -22
- data/rbi/lithic/internal/type/unknown.rbi +18 -9
- data/rbi/lithic/internal/util.rbi +213 -88
- data/rbi/lithic/models/account.rbi +89 -59
- data/rbi/lithic/models/account_financial_account_type.rbi +13 -5
- data/rbi/lithic/models/account_holder.rbi +430 -241
- data/rbi/lithic/models/account_holder_create_params.rbi +235 -161
- data/rbi/lithic/models/account_holder_create_response.rbi +127 -42
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +10 -9
- data/rbi/lithic/models/account_holder_list_documents_response.rbi +12 -7
- data/rbi/lithic/models/account_holder_list_params.rbi +25 -22
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +16 -6
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +76 -49
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +101 -49
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +415 -287
- data/rbi/lithic/models/account_holder_update_params.rbi +205 -152
- data/rbi/lithic/models/account_holder_update_response.rbi +467 -331
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +95 -37
- data/rbi/lithic/models/account_list_params.rbi +19 -16
- data/rbi/lithic/models/account_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +10 -9
- data/rbi/lithic/models/account_spend_limits.rbi +85 -37
- data/rbi/lithic/models/account_update_params.rbi +68 -44
- data/rbi/lithic/models/address.rbi +18 -15
- data/rbi/lithic/models/address_update.rbi +18 -15
- data/rbi/lithic/models/aggregate_balance.rbi +56 -27
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +58 -22
- data/rbi/lithic/models/api_status.rbi +7 -3
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +36 -25
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +90 -30
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +80 -19
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +14 -7
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +19 -9
- data/rbi/lithic/models/auth_rules/v2/backtest_create_response.rbi +9 -3
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +214 -118
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +17 -9
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +18 -15
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +288 -136
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +133 -73
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +288 -136
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +10 -9
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +90 -52
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +288 -136
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +50 -26
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +284 -136
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +10 -9
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +292 -137
- data/rbi/lithic/models/auth_rules/v2_report_params.rbi +10 -9
- data/rbi/lithic/models/auth_rules/v2_report_response.rbi +7 -3
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +289 -136
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +43 -24
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +288 -136
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +96 -42
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +28 -6
- data/rbi/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +10 -9
- data/rbi/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +10 -9
- data/rbi/lithic/models/auth_stream_secret.rbi +8 -3
- data/rbi/lithic/models/balance.rbi +41 -27
- data/rbi/lithic/models/balance_list_params.rbi +60 -24
- data/rbi/lithic/models/book_transfer_create_params.rbi +217 -70
- data/rbi/lithic/models/book_transfer_list_params.rbi +114 -52
- data/rbi/lithic/models/book_transfer_response.rbi +173 -82
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +16 -5
- data/rbi/lithic/models/card.rbi +8 -3
- data/rbi/lithic/models/card_convert_physical_params.rbi +79 -33
- data/rbi/lithic/models/card_create_params.rbi +128 -69
- data/rbi/lithic/models/card_embed_params.rbi +18 -6
- data/rbi/lithic/models/card_list_params.rbi +46 -29
- data/rbi/lithic/models/card_program.rbi +19 -16
- data/rbi/lithic/models/card_program_list_params.rbi +17 -14
- data/rbi/lithic/models/card_program_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/card_provision_params.rbi +56 -26
- data/rbi/lithic/models/card_provision_response.rbi +7 -3
- data/rbi/lithic/models/card_reissue_params.rbi +74 -33
- data/rbi/lithic/models/card_renew_params.rbi +69 -35
- data/rbi/lithic/models/card_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +10 -9
- data/rbi/lithic/models/card_search_by_pan_params.rbi +16 -5
- data/rbi/lithic/models/card_spend_limits.rbi +85 -36
- data/rbi/lithic/models/card_update_params.rbi +56 -37
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +16 -11
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +21 -18
- data/rbi/lithic/models/cards/balance_list_params.rbi +16 -13
- data/rbi/lithic/models/cards/balance_list_response.rbi +56 -26
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +163 -46
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +13 -6
- data/rbi/lithic/models/carrier.rbi +8 -3
- data/rbi/lithic/models/client_api_status_params.rbi +10 -9
- data/rbi/lithic/models/credit_products/extended_credit.rbi +7 -3
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +16 -6
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +9 -5
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_response.rbi +40 -14
- data/rbi/lithic/models/digital_card_art.rbi +33 -23
- data/rbi/lithic/models/digital_card_art_list_params.rbi +17 -14
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/dispute.rbi +169 -82
- data/rbi/lithic/models/dispute_create_params.rbi +80 -35
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +13 -6
- data/rbi/lithic/models/dispute_delete_params.rbi +10 -9
- data/rbi/lithic/models/dispute_evidence.rbi +40 -26
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +16 -5
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +19 -16
- data/rbi/lithic/models/dispute_list_params.rbi +55 -33
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +13 -6
- data/rbi/lithic/models/dispute_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/dispute_update_params.rbi +80 -35
- data/rbi/lithic/models/document.rbi +235 -91
- data/rbi/lithic/models/event.rbi +164 -60
- data/rbi/lithic/models/event_list_attempts_params.rbi +47 -28
- data/rbi/lithic/models/event_list_params.rbi +203 -66
- data/rbi/lithic/models/event_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/event_subscription.rbi +195 -61
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +13 -6
- data/rbi/lithic/models/events/subscription_create_params.rbi +132 -63
- data/rbi/lithic/models/events/subscription_delete_params.rbi +10 -9
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +71 -27
- data/rbi/lithic/models/events/subscription_list_params.rbi +17 -14
- data/rbi/lithic/models/events/subscription_recover_params.rbi +18 -6
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +18 -6
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +10 -9
- data/rbi/lithic/models/events/subscription_retrieve_secret_response.rbi +8 -3
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +10 -9
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +84 -62
- data/rbi/lithic/models/events/subscription_update_params.rbi +132 -63
- data/rbi/lithic/models/external_bank_account_address.rbi +24 -15
- data/rbi/lithic/models/external_bank_account_create_params.rbi +84 -48
- data/rbi/lithic/models/external_bank_account_create_response.rbi +208 -74
- data/rbi/lithic/models/external_bank_account_list_params.rbi +166 -52
- data/rbi/lithic/models/external_bank_account_list_response.rbi +206 -73
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +204 -73
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +16 -6
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +170 -75
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +16 -6
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +141 -63
- data/rbi/lithic/models/external_bank_account_update_params.rbi +63 -34
- data/rbi/lithic/models/external_bank_account_update_response.rbi +208 -74
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +16 -6
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +157 -74
- data/rbi/lithic/models/external_payment.rbi +274 -112
- data/rbi/lithic/models/external_payment_cancel_params.rbi +17 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +120 -44
- data/rbi/lithic/models/external_payment_list_params.rbi +135 -50
- data/rbi/lithic/models/external_payment_release_params.rbi +17 -6
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/external_payment_reverse_params.rbi +17 -6
- data/rbi/lithic/models/external_payment_settle_params.rbi +57 -22
- data/rbi/lithic/models/financial_account.rbi +198 -95
- data/rbi/lithic/models/financial_account_create_params.rbi +34 -21
- data/rbi/lithic/models/financial_account_list_params.rbi +50 -23
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/financial_account_update_params.rbi +15 -5
- data/rbi/lithic/models/financial_account_update_status_params.rbi +93 -31
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +16 -13
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +60 -27
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +18 -15
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +68 -40
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +148 -54
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +16 -6
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +578 -329
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +19 -16
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +17 -6
- data/rbi/lithic/models/financial_accounts/statement.rbi +399 -247
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +20 -17
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +17 -6
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +19 -15
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +174 -129
- data/rbi/lithic/models/financial_accounts/statements.rbi +17 -7
- data/rbi/lithic/models/financial_transaction.rbi +432 -144
- data/rbi/lithic/models/instance_financial_account_type.rbi +34 -11
- data/rbi/lithic/models/kyb.rbi +133 -113
- data/rbi/lithic/models/kyb_business_entity.rbi +39 -33
- data/rbi/lithic/models/kyc.rbi +50 -43
- data/rbi/lithic/models/kyc_exempt.rbi +56 -34
- data/rbi/lithic/models/management_operation_create_params.rbi +180 -62
- data/rbi/lithic/models/management_operation_list_params.rbi +116 -42
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/management_operation_reverse_params.rbi +17 -6
- data/rbi/lithic/models/management_operation_transaction.rbi +373 -135
- data/rbi/lithic/models/message_attempt.rbi +35 -26
- data/rbi/lithic/models/non_pci_card.rbi +163 -103
- data/rbi/lithic/models/owner_type.rbi +6 -5
- data/rbi/lithic/models/payment.rbi +295 -149
- data/rbi/lithic/models/payment_create_params.rbi +119 -52
- data/rbi/lithic/models/payment_create_response.rbi +11 -6
- data/rbi/lithic/models/payment_list_params.rbi +77 -48
- data/rbi/lithic/models/payment_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/payment_retry_params.rbi +10 -9
- data/rbi/lithic/models/payment_retry_response.rbi +11 -6
- data/rbi/lithic/models/payment_simulate_action_params.rbi +97 -36
- data/rbi/lithic/models/payment_simulate_action_response.rbi +46 -19
- data/rbi/lithic/models/payment_simulate_receipt_params.rbi +46 -23
- data/rbi/lithic/models/payment_simulate_receipt_response.rbi +49 -19
- data/rbi/lithic/models/payment_simulate_release_params.rbi +14 -6
- data/rbi/lithic/models/payment_simulate_release_response.rbi +49 -19
- data/rbi/lithic/models/payment_simulate_return_params.rbi +16 -11
- data/rbi/lithic/models/payment_simulate_return_response.rbi +46 -19
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +72 -33
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +90 -48
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +11 -9
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +81 -54
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +17 -14
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +10 -9
- data/rbi/lithic/models/required_document.rbi +19 -10
- data/rbi/lithic/models/responder_endpoint_check_status_params.rbi +44 -20
- data/rbi/lithic/models/responder_endpoint_create_params.rbi +48 -22
- data/rbi/lithic/models/responder_endpoint_create_response.rbi +8 -3
- data/rbi/lithic/models/responder_endpoint_delete_params.rbi +40 -17
- data/rbi/lithic/models/responder_endpoint_status.rbi +13 -4
- data/rbi/lithic/models/settlement_detail.rbi +95 -64
- data/rbi/lithic/models/settlement_report.rbi +25 -22
- data/rbi/lithic/models/settlement_summary_details.rbi +64 -28
- data/rbi/lithic/models/shipping_address.rbi +23 -20
- data/rbi/lithic/models/spend_limit_duration.rbi +11 -7
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +736 -392
- data/rbi/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +18 -6
- data/rbi/lithic/models/three_ds/authentication_simulate_params.rbi +104 -45
- data/rbi/lithic/models/three_ds/authentication_simulate_response.rbi +8 -3
- data/rbi/lithic/models/three_ds/challenge_response.rbi +20 -6
- data/rbi/lithic/models/three_ds/challenge_result.rbi +16 -5
- data/rbi/lithic/models/three_ds/decisioning_challenge_response_params.rbi +10 -9
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +10 -9
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +8 -3
- data/rbi/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +10 -9
- data/rbi/lithic/models/tokenization.rbi +256 -102
- data/rbi/lithic/models/tokenization_activate_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +8 -3
- data/rbi/lithic/models/tokenization_list_params.rbi +64 -28
- data/rbi/lithic/models/tokenization_pause_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +43 -25
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +12 -6
- data/rbi/lithic/models/tokenization_secret.rbi +8 -3
- data/rbi/lithic/models/tokenization_simulate_params.rbi +98 -40
- data/rbi/lithic/models/tokenization_simulate_response.rbi +12 -7
- data/rbi/lithic/models/tokenization_unpause_params.rbi +10 -9
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +17 -6
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +12 -6
- data/rbi/lithic/models/transaction.rbi +2013 -768
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +10 -9
- data/rbi/lithic/models/transaction_list_params.rbi +70 -40
- data/rbi/lithic/models/transaction_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/transaction_simulate_authorization_advice_params.rbi +18 -6
- data/rbi/lithic/models/transaction_simulate_authorization_advice_response.rbi +13 -4
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +69 -32
- data/rbi/lithic/models/transaction_simulate_authorization_response.rbi +13 -4
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +18 -6
- data/rbi/lithic/models/transaction_simulate_clearing_response.rbi +8 -3
- data/rbi/lithic/models/transaction_simulate_credit_authorization_params.rbi +19 -16
- data/rbi/lithic/models/transaction_simulate_credit_authorization_response.rbi +13 -4
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +17 -12
- data/rbi/lithic/models/transaction_simulate_return_response.rbi +13 -4
- data/rbi/lithic/models/transaction_simulate_return_reversal_params.rbi +16 -5
- data/rbi/lithic/models/transaction_simulate_return_reversal_response.rbi +8 -3
- data/rbi/lithic/models/transaction_simulate_void_params.rbi +45 -22
- data/rbi/lithic/models/transaction_simulate_void_response.rbi +8 -3
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +10 -9
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +14 -7
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +11 -9
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +488 -263
- data/rbi/lithic/models/transfer.rbi +371 -152
- data/rbi/lithic/models/transfer_create_params.rbi +19 -16
- data/rbi/lithic/models/verification_method.rbi +13 -8
- data/rbi/lithic/models.rbi +58 -29
- data/rbi/lithic/request_options.rbi +12 -6
- data/rbi/lithic/resources/account_holders.rbi +101 -57
- data/rbi/lithic/resources/accounts.rbi +31 -16
- data/rbi/lithic/resources/aggregate_balances.rbi +9 -6
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +16 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +77 -48
- data/rbi/lithic/resources/auth_rules.rbi +2 -1
- data/rbi/lithic/resources/auth_stream_enrollment.rbi +12 -5
- data/rbi/lithic/resources/balances.rbi +9 -6
- data/rbi/lithic/resources/book_transfers.rbi +32 -20
- data/rbi/lithic/resources/card_programs.rbi +14 -8
- data/rbi/lithic/resources/cards/aggregate_balances.rbi +14 -4
- data/rbi/lithic/resources/cards/balances.rbi +10 -4
- data/rbi/lithic/resources/cards/financial_transactions.rbi +18 -12
- data/rbi/lithic/resources/cards.rbi +91 -57
- data/rbi/lithic/resources/credit_products/extended_credit.rbi +9 -4
- data/rbi/lithic/resources/credit_products/prime_rates.rbi +12 -9
- data/rbi/lithic/resources/credit_products.rbi +2 -1
- data/rbi/lithic/resources/digital_card_art.rbi +14 -8
- data/rbi/lithic/resources/disputes.rbi +63 -33
- data/rbi/lithic/resources/events/event_subscriptions.rbi +5 -3
- data/rbi/lithic/resources/events/subscriptions.rbi +77 -43
- data/rbi/lithic/resources/events.rbi +22 -13
- data/rbi/lithic/resources/external_bank_accounts/micro_deposits.rbi +11 -4
- data/rbi/lithic/resources/external_bank_accounts.rbi +55 -33
- data/rbi/lithic/resources/external_payments.rbi +49 -35
- data/rbi/lithic/resources/financial_accounts/balances.rbi +10 -4
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +14 -8
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +18 -12
- data/rbi/lithic/resources/financial_accounts/loan_tapes.rbi +13 -8
- data/rbi/lithic/resources/financial_accounts/statements/line_items.rbi +10 -6
- data/rbi/lithic/resources/financial_accounts/statements.rbi +16 -9
- data/rbi/lithic/resources/financial_accounts.rbi +40 -24
- data/rbi/lithic/resources/management_operations.rbi +32 -20
- data/rbi/lithic/resources/payments.rbi +63 -37
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +21 -8
- data/rbi/lithic/resources/reports/settlement.rbi +16 -7
- data/rbi/lithic/resources/reports.rbi +2 -1
- data/rbi/lithic/resources/responder_endpoints.rbi +20 -16
- data/rbi/lithic/resources/three_ds/authentication.rbi +30 -13
- data/rbi/lithic/resources/three_ds/decisioning.rbi +16 -11
- data/rbi/lithic/resources/three_ds.rbi +2 -1
- data/rbi/lithic/resources/tokenization_decisioning.rbi +14 -6
- data/rbi/lithic/resources/tokenizations.rbi +73 -32
- data/rbi/lithic/resources/transactions/enhanced_commercial_data.rbi +11 -4
- data/rbi/lithic/resources/transactions/events/enhanced_commercial_data.rbi +9 -4
- data/rbi/lithic/resources/transactions/events.rbi +7 -2
- data/rbi/lithic/resources/transactions.rbi +78 -37
- data/rbi/lithic/resources/transfers.rbi +7 -5
- data/sig/lithic/client.rbs +1 -1
- data/sig/lithic/internal/type/request_parameters.rbs +3 -1
- data/sig/lithic/models/account.rbs +17 -25
- data/sig/lithic/models/account_holder.rbs +86 -100
- data/sig/lithic/models/account_holder_create_params.rbs +35 -47
- data/sig/lithic/models/account_holder_create_response.rbs +5 -7
- data/sig/lithic/models/account_holder_list_documents_params.rbs +0 -2
- data/sig/lithic/models/account_holder_list_documents_response.rbs +4 -8
- data/sig/lithic/models/account_holder_list_params.rbs +0 -2
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +0 -2
- data/sig/lithic/models/account_holder_retrieve_params.rbs +0 -2
- data/sig/lithic/models/account_holder_simulate_enrollment_document_review_params.rbs +0 -2
- data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +6 -8
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +15 -31
- data/sig/lithic/models/account_holder_update_params.rbs +49 -73
- data/sig/lithic/models/account_holder_update_response.rbs +16 -36
- data/sig/lithic/models/account_holder_upload_document_params.rbs +0 -2
- data/sig/lithic/models/account_list_params.rbs +0 -2
- data/sig/lithic/models/account_retrieve_params.rbs +0 -2
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +0 -2
- data/sig/lithic/models/account_spend_limits.rbs +13 -21
- data/sig/lithic/models/account_update_params.rbs +5 -9
- data/sig/lithic/models/address.rbs +0 -2
- data/sig/lithic/models/address_update.rbs +0 -2
- data/sig/lithic/models/aggregate_balance.rbs +4 -6
- data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -2
- data/sig/lithic/models/api_status.rbs +0 -2
- data/sig/lithic/models/auth_rules/auth_rule.rbs +4 -6
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +12 -14
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +3 -5
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2/backtest_create_response.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +22 -36
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +7 -13
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +7 -13
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -2
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +6 -20
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +11 -15
- data/sig/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbs +0 -2
- data/sig/lithic/models/auth_stream_enrollment_rotate_secret_params.rbs +0 -2
- data/sig/lithic/models/auth_stream_secret.rbs +0 -2
- data/sig/lithic/models/balance.rbs +4 -6
- data/sig/lithic/models/balance_list_params.rbs +0 -2
- data/sig/lithic/models/book_transfer_create_params.rbs +0 -2
- data/sig/lithic/models/book_transfer_list_params.rbs +0 -2
- data/sig/lithic/models/book_transfer_response.rbs +23 -27
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +0 -2
- data/sig/lithic/models/book_transfer_reverse_params.rbs +0 -2
- data/sig/lithic/models/card.rbs +0 -2
- data/sig/lithic/models/card_convert_physical_params.rbs +7 -9
- data/sig/lithic/models/card_create_params.rbs +9 -11
- data/sig/lithic/models/card_embed_params.rbs +0 -2
- data/sig/lithic/models/card_list_params.rbs +0 -2
- data/sig/lithic/models/card_program.rbs +0 -2
- data/sig/lithic/models/card_program_list_params.rbs +0 -2
- data/sig/lithic/models/card_program_retrieve_params.rbs +0 -2
- data/sig/lithic/models/card_provision_params.rbs +0 -2
- data/sig/lithic/models/card_provision_response.rbs +0 -2
- data/sig/lithic/models/card_reissue_params.rbs +9 -11
- data/sig/lithic/models/card_renew_params.rbs +7 -9
- data/sig/lithic/models/card_retrieve_params.rbs +0 -2
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +0 -2
- data/sig/lithic/models/card_search_by_pan_params.rbs +0 -2
- data/sig/lithic/models/card_spend_limits.rbs +13 -21
- data/sig/lithic/models/card_update_params.rbs +0 -2
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -2
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -2
- data/sig/lithic/models/cards/balance_list_params.rbs +0 -2
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -2
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +0 -2
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +0 -2
- data/sig/lithic/models/carrier.rbs +0 -2
- data/sig/lithic/models/client_api_status_params.rbs +0 -2
- data/sig/lithic/models/credit_products/extended_credit.rbs +0 -2
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +0 -2
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +0 -2
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +0 -2
- data/sig/lithic/models/credit_products/prime_rate_retrieve_response.rbs +0 -4
- data/sig/lithic/models/digital_card_art.rbs +4 -6
- data/sig/lithic/models/digital_card_art_list_params.rbs +0 -2
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +0 -2
- data/sig/lithic/models/dispute.rbs +12 -14
- data/sig/lithic/models/dispute_create_params.rbs +0 -2
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +0 -2
- data/sig/lithic/models/dispute_delete_params.rbs +0 -2
- data/sig/lithic/models/dispute_evidence.rbs +4 -6
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +0 -2
- data/sig/lithic/models/dispute_list_evidences_params.rbs +0 -2
- data/sig/lithic/models/dispute_list_params.rbs +0 -2
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +0 -2
- data/sig/lithic/models/dispute_retrieve_params.rbs +0 -2
- data/sig/lithic/models/dispute_update_params.rbs +0 -2
- data/sig/lithic/models/document.rbs +19 -23
- data/sig/lithic/models/event.rbs +4 -6
- data/sig/lithic/models/event_list_attempts_params.rbs +0 -2
- data/sig/lithic/models/event_list_params.rbs +6 -8
- data/sig/lithic/models/event_retrieve_params.rbs +0 -2
- data/sig/lithic/models/event_subscription.rbs +4 -6
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_create_params.rbs +6 -8
- data/sig/lithic/models/events/subscription_delete_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_list_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_recover_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_retrieve_secret_response.rbs +0 -2
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +6 -8
- data/sig/lithic/models/external_bank_account_address.rbs +0 -2
- data/sig/lithic/models/external_bank_account_create_params.rbs +5 -7
- data/sig/lithic/models/external_bank_account_create_response.rbs +5 -7
- data/sig/lithic/models/external_bank_account_list_params.rbs +18 -20
- data/sig/lithic/models/external_bank_account_list_response.rbs +5 -7
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +0 -2
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +5 -7
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +0 -2
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +5 -7
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +0 -2
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +5 -7
- data/sig/lithic/models/external_bank_account_update_params.rbs +5 -7
- data/sig/lithic/models/external_bank_account_update_response.rbs +5 -7
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +0 -2
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +5 -7
- data/sig/lithic/models/external_payment.rbs +31 -35
- data/sig/lithic/models/external_payment_cancel_params.rbs +0 -2
- data/sig/lithic/models/external_payment_create_params.rbs +0 -2
- data/sig/lithic/models/external_payment_list_params.rbs +0 -2
- data/sig/lithic/models/external_payment_release_params.rbs +0 -2
- data/sig/lithic/models/external_payment_retrieve_params.rbs +0 -2
- data/sig/lithic/models/external_payment_reverse_params.rbs +0 -2
- data/sig/lithic/models/external_payment_settle_params.rbs +0 -2
- data/sig/lithic/models/financial_account.rbs +23 -27
- data/sig/lithic/models/financial_account_create_params.rbs +0 -2
- data/sig/lithic/models/financial_account_list_params.rbs +0 -2
- data/sig/lithic/models/financial_account_retrieve_params.rbs +0 -2
- data/sig/lithic/models/financial_account_update_params.rbs +0 -2
- data/sig/lithic/models/financial_account_update_status_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -2
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +8 -10
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +67 -103
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/statement.rbs +47 -67
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +0 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +11 -15
- data/sig/lithic/models/financial_accounts/statements.rbs +3 -8
- data/sig/lithic/models/financial_transaction.rbs +27 -31
- data/sig/lithic/models/kyb.rbs +30 -40
- data/sig/lithic/models/kyb_business_entity.rbs +3 -7
- data/sig/lithic/models/kyc.rbs +10 -14
- data/sig/lithic/models/kyc_exempt.rbs +11 -13
- data/sig/lithic/models/management_operation_create_params.rbs +0 -2
- data/sig/lithic/models/management_operation_list_params.rbs +0 -2
- data/sig/lithic/models/management_operation_retrieve_params.rbs +0 -2
- data/sig/lithic/models/management_operation_reverse_params.rbs +0 -2
- data/sig/lithic/models/management_operation_transaction.rbs +34 -40
- data/sig/lithic/models/message_attempt.rbs +4 -6
- data/sig/lithic/models/non_pci_card.rbs +27 -31
- data/sig/lithic/models/payment.rbs +48 -54
- data/sig/lithic/models/payment_create_params.rbs +7 -13
- data/sig/lithic/models/payment_create_response.rbs +4 -6
- data/sig/lithic/models/payment_list_params.rbs +0 -2
- data/sig/lithic/models/payment_retrieve_params.rbs +0 -2
- data/sig/lithic/models/payment_retry_params.rbs +0 -2
- data/sig/lithic/models/payment_retry_response.rbs +4 -6
- data/sig/lithic/models/payment_simulate_action_params.rbs +0 -2
- data/sig/lithic/models/payment_simulate_action_response.rbs +0 -2
- data/sig/lithic/models/payment_simulate_receipt_params.rbs +0 -2
- data/sig/lithic/models/payment_simulate_receipt_response.rbs +0 -2
- data/sig/lithic/models/payment_simulate_release_params.rbs +0 -2
- data/sig/lithic/models/payment_simulate_release_response.rbs +0 -2
- data/sig/lithic/models/payment_simulate_return_params.rbs +0 -2
- data/sig/lithic/models/payment_simulate_return_response.rbs +0 -2
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +0 -2
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -4
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +0 -2
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -4
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +0 -2
- data/sig/lithic/models/reports/settlement_summary_params.rbs +0 -2
- data/sig/lithic/models/required_document.rbs +0 -2
- data/sig/lithic/models/responder_endpoint_check_status_params.rbs +0 -2
- data/sig/lithic/models/responder_endpoint_create_params.rbs +0 -2
- data/sig/lithic/models/responder_endpoint_create_response.rbs +0 -2
- data/sig/lithic/models/responder_endpoint_delete_params.rbs +0 -2
- data/sig/lithic/models/responder_endpoint_status.rbs +0 -2
- data/sig/lithic/models/settlement_detail.rbs +11 -15
- data/sig/lithic/models/settlement_report.rbs +3 -5
- data/sig/lithic/models/settlement_summary_details.rbs +6 -8
- data/sig/lithic/models/shipping_address.rbs +0 -2
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +0 -2
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -22
- data/sig/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbs +0 -2
- data/sig/lithic/models/three_ds/authentication_simulate_params.rbs +6 -12
- data/sig/lithic/models/three_ds/authentication_simulate_response.rbs +0 -2
- data/sig/lithic/models/three_ds/challenge_response.rbs +0 -2
- data/sig/lithic/models/three_ds/decisioning_challenge_response_params.rbs +0 -2
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_params.rbs +0 -2
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_response.rbs +0 -2
- data/sig/lithic/models/three_ds/decisioning_rotate_secret_params.rbs +0 -2
- data/sig/lithic/models/tokenization.rbs +29 -33
- data/sig/lithic/models/tokenization_activate_params.rbs +0 -2
- data/sig/lithic/models/tokenization_deactivate_params.rbs +0 -2
- data/sig/lithic/models/tokenization_decisioning_retrieve_secret_params.rbs +0 -2
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_params.rbs +0 -2
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_response.rbs +0 -2
- data/sig/lithic/models/tokenization_list_params.rbs +0 -2
- data/sig/lithic/models/tokenization_pause_params.rbs +0 -2
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +0 -2
- data/sig/lithic/models/tokenization_retrieve_params.rbs +0 -2
- data/sig/lithic/models/tokenization_retrieve_response.rbs +4 -6
- data/sig/lithic/models/tokenization_secret.rbs +0 -2
- data/sig/lithic/models/tokenization_simulate_params.rbs +0 -2
- data/sig/lithic/models/tokenization_simulate_response.rbs +5 -7
- data/sig/lithic/models/tokenization_unpause_params.rbs +0 -2
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +0 -2
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +4 -6
- data/sig/lithic/models/transaction.rbs +166 -220
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +0 -2
- data/sig/lithic/models/transaction_list_params.rbs +0 -2
- data/sig/lithic/models/transaction_retrieve_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_authorization_advice_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_authorization_advice_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_authorization_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_clearing_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_clearing_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_credit_authorization_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_credit_authorization_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_return_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_return_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_return_reversal_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_return_reversal_response.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_void_params.rbs +0 -2
- data/sig/lithic/models/transaction_simulate_void_response.rbs +0 -2
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +0 -2
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbs +3 -5
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +0 -2
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +42 -56
- data/sig/lithic/models/transfer.rbs +40 -54
- data/sig/lithic/models/transfer_create_params.rbs +0 -2
- data/sig/lithic/request_options.rbs +1 -1
- data/sig/lithic/resources/account_holders.rbs +18 -18
- data/sig/lithic/resources/accounts.rbs +5 -5
- data/sig/lithic/resources/aggregate_balances.rbs +1 -1
- data/sig/lithic/resources/auth_rules/v2/backtests.rbs +1 -1
- data/sig/lithic/resources/auth_stream_enrollment.rbs +1 -1
- data/sig/lithic/resources/balances.rbs +1 -1
- data/sig/lithic/resources/book_transfers.rbs +4 -4
- data/sig/lithic/resources/card_programs.rbs +2 -2
- data/sig/lithic/resources/cards/financial_transactions.rbs +2 -2
- data/sig/lithic/resources/cards.rbs +17 -17
- data/sig/lithic/resources/credit_products/extended_credit.rbs +1 -1
- data/sig/lithic/resources/digital_card_art.rbs +2 -2
- data/sig/lithic/resources/disputes.rbs +9 -9
- data/sig/lithic/resources/events/subscriptions.rbs +7 -7
- data/sig/lithic/resources/events.rbs +4 -4
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -5
- data/sig/lithic/resources/external_payments.rbs +7 -7
- data/sig/lithic/resources/financial_accounts/credit_configuration.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/loan_tapes.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/statements/line_items.rbs +1 -1
- data/sig/lithic/resources/financial_accounts/statements.rbs +2 -2
- data/sig/lithic/resources/financial_accounts.rbs +5 -5
- data/sig/lithic/resources/management_operations.rbs +4 -4
- data/sig/lithic/resources/payments.rbs +3 -3
- data/sig/lithic/resources/reports/settlement.rbs +2 -2
- data/sig/lithic/resources/responder_endpoints.rbs +1 -1
- data/sig/lithic/resources/three_ds/authentication.rbs +2 -2
- data/sig/lithic/resources/tokenization_decisioning.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- data/sig/lithic/resources/transactions/events/enhanced_commercial_data.rbs +1 -1
- data/sig/lithic/resources/transactions.rbs +2 -2
- data/sig/lithic/resources/transfers.rbs +1 -1
- metadata +2 -2
@@ -3,6 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class Transaction < Lithic::Internal::Type::BaseModel
|
6
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
7
|
+
|
6
8
|
# Globally unique identifier.
|
7
9
|
sig { returns(String) }
|
8
10
|
attr_accessor :token
|
@@ -28,10 +30,10 @@ module Lithic
|
|
28
30
|
sig { returns(Integer) }
|
29
31
|
attr_accessor :amount
|
30
32
|
|
31
|
-
sig { returns(Lithic::
|
33
|
+
sig { returns(Lithic::Transaction::Amounts) }
|
32
34
|
attr_reader :amounts
|
33
35
|
|
34
|
-
sig { params(amounts:
|
36
|
+
sig { params(amounts: Lithic::Transaction::Amounts::OrHash).void }
|
35
37
|
attr_writer :amounts
|
36
38
|
|
37
39
|
# The authorization amount of the transaction in the anticipated settlement
|
@@ -44,24 +46,24 @@ module Lithic
|
|
44
46
|
sig { returns(T.nilable(String)) }
|
45
47
|
attr_accessor :authorization_code
|
46
48
|
|
47
|
-
sig { returns(T.nilable(Lithic::
|
49
|
+
sig { returns(T.nilable(Lithic::Transaction::Avs)) }
|
48
50
|
attr_reader :avs
|
49
51
|
|
50
|
-
sig { params(avs: T.nilable(
|
52
|
+
sig { params(avs: T.nilable(Lithic::Transaction::Avs::OrHash)).void }
|
51
53
|
attr_writer :avs
|
52
54
|
|
53
55
|
# Token for the card used in this transaction.
|
54
56
|
sig { returns(String) }
|
55
57
|
attr_accessor :card_token
|
56
58
|
|
57
|
-
sig { returns(T.nilable(Lithic::
|
59
|
+
sig { returns(T.nilable(Lithic::Transaction::CardholderAuthentication)) }
|
58
60
|
attr_reader :cardholder_authentication
|
59
61
|
|
60
62
|
sig do
|
61
63
|
params(
|
62
|
-
cardholder_authentication:
|
63
|
-
|
64
|
-
|
64
|
+
cardholder_authentication:
|
65
|
+
T.nilable(Lithic::Transaction::CardholderAuthentication::OrHash)
|
66
|
+
).void
|
65
67
|
end
|
66
68
|
attr_writer :cardholder_authentication
|
67
69
|
|
@@ -69,10 +71,10 @@ module Lithic
|
|
69
71
|
sig { returns(Time) }
|
70
72
|
attr_accessor :created
|
71
73
|
|
72
|
-
sig { returns(Lithic::
|
74
|
+
sig { returns(Lithic::Transaction::Merchant) }
|
73
75
|
attr_reader :merchant
|
74
76
|
|
75
|
-
sig { params(merchant:
|
77
|
+
sig { params(merchant: Lithic::Transaction::Merchant::OrHash).void }
|
76
78
|
attr_writer :merchant
|
77
79
|
|
78
80
|
# Analogous to the 'amount', but in the merchant currency.
|
@@ -90,7 +92,7 @@ module Lithic
|
|
90
92
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
91
93
|
# `VISA`, or `UNKNOWN`. Value is `UNKNOWN` when Lithic cannot determine the
|
92
94
|
# network code from the upstream provider.
|
93
|
-
sig { returns(T.nilable(Lithic::
|
95
|
+
sig { returns(T.nilable(Lithic::Transaction::Network::TaggedSymbol)) }
|
94
96
|
attr_accessor :network
|
95
97
|
|
96
98
|
# Network-provided score assessing risk level associated with a given
|
@@ -101,13 +103,13 @@ module Lithic
|
|
101
103
|
sig { returns(T.nilable(Integer)) }
|
102
104
|
attr_accessor :network_risk_score
|
103
105
|
|
104
|
-
sig { returns(Lithic::
|
106
|
+
sig { returns(Lithic::Transaction::Pos) }
|
105
107
|
attr_reader :pos
|
106
108
|
|
107
|
-
sig { params(pos:
|
109
|
+
sig { params(pos: Lithic::Transaction::Pos::OrHash).void }
|
108
110
|
attr_writer :pos
|
109
111
|
|
110
|
-
sig { returns(Lithic::
|
112
|
+
sig { returns(Lithic::Transaction::Result::TaggedSymbol) }
|
111
113
|
attr_accessor :result
|
112
114
|
|
113
115
|
# The settled amount of the transaction in the settlement currency.
|
@@ -115,15 +117,16 @@ module Lithic
|
|
115
117
|
attr_accessor :settled_amount
|
116
118
|
|
117
119
|
# Status of the transaction.
|
118
|
-
sig { returns(Lithic::
|
120
|
+
sig { returns(Lithic::Transaction::Status::TaggedSymbol) }
|
119
121
|
attr_accessor :status
|
120
122
|
|
121
|
-
sig { returns(T.nilable(Lithic::
|
123
|
+
sig { returns(T.nilable(Lithic::Transaction::TokenInfo)) }
|
122
124
|
attr_reader :token_info
|
123
125
|
|
124
126
|
sig do
|
125
|
-
params(
|
126
|
-
.
|
127
|
+
params(
|
128
|
+
token_info: T.nilable(Lithic::Transaction::TokenInfo::OrHash)
|
129
|
+
).void
|
127
130
|
end
|
128
131
|
attr_writer :token_info
|
129
132
|
|
@@ -131,10 +134,10 @@ module Lithic
|
|
131
134
|
sig { returns(Time) }
|
132
135
|
attr_accessor :updated
|
133
136
|
|
134
|
-
sig { returns(T.nilable(T::Array[Lithic::
|
137
|
+
sig { returns(T.nilable(T::Array[Lithic::Transaction::Event])) }
|
135
138
|
attr_reader :events
|
136
139
|
|
137
|
-
sig { params(events: T::Array[
|
140
|
+
sig { params(events: T::Array[Lithic::Transaction::Event::OrHash]).void }
|
138
141
|
attr_writer :events
|
139
142
|
|
140
143
|
sig do
|
@@ -144,28 +147,28 @@ module Lithic
|
|
144
147
|
acquirer_fee: T.nilable(Integer),
|
145
148
|
acquirer_reference_number: T.nilable(String),
|
146
149
|
amount: Integer,
|
147
|
-
amounts:
|
150
|
+
amounts: Lithic::Transaction::Amounts::OrHash,
|
148
151
|
authorization_amount: T.nilable(Integer),
|
149
152
|
authorization_code: T.nilable(String),
|
150
|
-
avs: T.nilable(
|
153
|
+
avs: T.nilable(Lithic::Transaction::Avs::OrHash),
|
151
154
|
card_token: String,
|
152
|
-
cardholder_authentication:
|
155
|
+
cardholder_authentication:
|
156
|
+
T.nilable(Lithic::Transaction::CardholderAuthentication::OrHash),
|
153
157
|
created: Time,
|
154
|
-
merchant:
|
158
|
+
merchant: Lithic::Transaction::Merchant::OrHash,
|
155
159
|
merchant_amount: T.nilable(Integer),
|
156
160
|
merchant_authorization_amount: T.nilable(Integer),
|
157
161
|
merchant_currency: String,
|
158
|
-
network: T.nilable(Lithic::
|
162
|
+
network: T.nilable(Lithic::Transaction::Network::OrSymbol),
|
159
163
|
network_risk_score: T.nilable(Integer),
|
160
|
-
pos:
|
161
|
-
result: Lithic::
|
164
|
+
pos: Lithic::Transaction::Pos::OrHash,
|
165
|
+
result: Lithic::Transaction::Result::OrSymbol,
|
162
166
|
settled_amount: Integer,
|
163
|
-
status: Lithic::
|
164
|
-
token_info: T.nilable(
|
167
|
+
status: Lithic::Transaction::Status::OrSymbol,
|
168
|
+
token_info: T.nilable(Lithic::Transaction::TokenInfo::OrHash),
|
165
169
|
updated: Time,
|
166
|
-
events: T::Array[
|
167
|
-
)
|
168
|
-
.returns(T.attached_class)
|
170
|
+
events: T::Array[Lithic::Transaction::Event::OrHash]
|
171
|
+
).returns(T.attached_class)
|
169
172
|
end
|
170
173
|
def self.new(
|
171
174
|
# Globally unique identifier.
|
@@ -223,95 +226,109 @@ module Lithic
|
|
223
226
|
# Date and time when the transaction last updated. UTC time zone.
|
224
227
|
updated:,
|
225
228
|
events: nil
|
226
|
-
)
|
229
|
+
)
|
230
|
+
end
|
231
|
+
|
227
232
|
sig do
|
228
|
-
override
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
233
|
+
override.returns(
|
234
|
+
{
|
235
|
+
token: String,
|
236
|
+
account_token: String,
|
237
|
+
acquirer_fee: T.nilable(Integer),
|
238
|
+
acquirer_reference_number: T.nilable(String),
|
239
|
+
amount: Integer,
|
240
|
+
amounts: Lithic::Transaction::Amounts,
|
241
|
+
authorization_amount: T.nilable(Integer),
|
242
|
+
authorization_code: T.nilable(String),
|
243
|
+
avs: T.nilable(Lithic::Transaction::Avs),
|
244
|
+
card_token: String,
|
245
|
+
cardholder_authentication:
|
246
|
+
T.nilable(Lithic::Transaction::CardholderAuthentication),
|
247
|
+
created: Time,
|
248
|
+
merchant: Lithic::Transaction::Merchant,
|
249
|
+
merchant_amount: T.nilable(Integer),
|
250
|
+
merchant_authorization_amount: T.nilable(Integer),
|
251
|
+
merchant_currency: String,
|
252
|
+
network: T.nilable(Lithic::Transaction::Network::TaggedSymbol),
|
253
|
+
network_risk_score: T.nilable(Integer),
|
254
|
+
pos: Lithic::Transaction::Pos,
|
255
|
+
result: Lithic::Transaction::Result::TaggedSymbol,
|
256
|
+
settled_amount: Integer,
|
257
|
+
status: Lithic::Transaction::Status::TaggedSymbol,
|
258
|
+
token_info: T.nilable(Lithic::Transaction::TokenInfo),
|
259
|
+
updated: Time,
|
260
|
+
events: T::Array[Lithic::Transaction::Event]
|
261
|
+
}
|
262
|
+
)
|
263
|
+
end
|
264
|
+
def to_hash
|
258
265
|
end
|
259
|
-
def to_hash; end
|
260
266
|
|
261
267
|
class Amounts < Lithic::Internal::Type::BaseModel
|
262
|
-
|
268
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
269
|
+
|
270
|
+
sig { returns(Lithic::Transaction::Amounts::Cardholder) }
|
263
271
|
attr_reader :cardholder
|
264
272
|
|
265
273
|
sig do
|
266
|
-
params(
|
274
|
+
params(
|
275
|
+
cardholder: Lithic::Transaction::Amounts::Cardholder::OrHash
|
276
|
+
).void
|
267
277
|
end
|
268
278
|
attr_writer :cardholder
|
269
279
|
|
270
|
-
sig { returns(Lithic::
|
280
|
+
sig { returns(Lithic::Transaction::Amounts::Hold) }
|
271
281
|
attr_reader :hold
|
272
282
|
|
273
|
-
sig { params(hold:
|
283
|
+
sig { params(hold: Lithic::Transaction::Amounts::Hold::OrHash).void }
|
274
284
|
attr_writer :hold
|
275
285
|
|
276
|
-
sig { returns(Lithic::
|
286
|
+
sig { returns(Lithic::Transaction::Amounts::Merchant) }
|
277
287
|
attr_reader :merchant
|
278
288
|
|
279
|
-
sig
|
289
|
+
sig do
|
290
|
+
params(merchant: Lithic::Transaction::Amounts::Merchant::OrHash).void
|
291
|
+
end
|
280
292
|
attr_writer :merchant
|
281
293
|
|
282
|
-
sig { returns(Lithic::
|
294
|
+
sig { returns(Lithic::Transaction::Amounts::Settlement) }
|
283
295
|
attr_reader :settlement
|
284
296
|
|
285
297
|
sig do
|
286
|
-
params(
|
298
|
+
params(
|
299
|
+
settlement: Lithic::Transaction::Amounts::Settlement::OrHash
|
300
|
+
).void
|
287
301
|
end
|
288
302
|
attr_writer :settlement
|
289
303
|
|
290
304
|
sig do
|
291
305
|
params(
|
292
|
-
cardholder:
|
293
|
-
hold:
|
294
|
-
merchant:
|
295
|
-
settlement:
|
296
|
-
)
|
297
|
-
|
306
|
+
cardholder: Lithic::Transaction::Amounts::Cardholder::OrHash,
|
307
|
+
hold: Lithic::Transaction::Amounts::Hold::OrHash,
|
308
|
+
merchant: Lithic::Transaction::Amounts::Merchant::OrHash,
|
309
|
+
settlement: Lithic::Transaction::Amounts::Settlement::OrHash
|
310
|
+
).returns(T.attached_class)
|
311
|
+
end
|
312
|
+
def self.new(cardholder:, hold:, merchant:, settlement:)
|
298
313
|
end
|
299
|
-
def self.new(cardholder:, hold:, merchant:, settlement:); end
|
300
314
|
|
301
315
|
sig do
|
302
|
-
override
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
316
|
+
override.returns(
|
317
|
+
{
|
318
|
+
cardholder: Lithic::Transaction::Amounts::Cardholder,
|
319
|
+
hold: Lithic::Transaction::Amounts::Hold,
|
320
|
+
merchant: Lithic::Transaction::Amounts::Merchant,
|
321
|
+
settlement: Lithic::Transaction::Amounts::Settlement
|
322
|
+
}
|
323
|
+
)
|
324
|
+
end
|
325
|
+
def to_hash
|
311
326
|
end
|
312
|
-
def to_hash; end
|
313
327
|
|
314
328
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
329
|
+
OrHash =
|
330
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
331
|
+
|
315
332
|
# The estimated settled amount of the transaction in the cardholder billing
|
316
333
|
# currency.
|
317
334
|
sig { returns(Integer) }
|
@@ -326,7 +343,13 @@ module Lithic
|
|
326
343
|
sig { returns(String) }
|
327
344
|
attr_accessor :currency
|
328
345
|
|
329
|
-
sig
|
346
|
+
sig do
|
347
|
+
params(
|
348
|
+
amount: Integer,
|
349
|
+
conversion_rate: String,
|
350
|
+
currency: String
|
351
|
+
).returns(T.attached_class)
|
352
|
+
end
|
330
353
|
def self.new(
|
331
354
|
# The estimated settled amount of the transaction in the cardholder billing
|
332
355
|
# currency.
|
@@ -336,12 +359,22 @@ module Lithic
|
|
336
359
|
conversion_rate:,
|
337
360
|
# 3-character alphabetic ISO 4217 currency
|
338
361
|
currency:
|
339
|
-
)
|
340
|
-
|
341
|
-
|
362
|
+
)
|
363
|
+
end
|
364
|
+
|
365
|
+
sig do
|
366
|
+
override.returns(
|
367
|
+
{ amount: Integer, conversion_rate: String, currency: String }
|
368
|
+
)
|
369
|
+
end
|
370
|
+
def to_hash
|
371
|
+
end
|
342
372
|
end
|
343
373
|
|
344
374
|
class Hold < Lithic::Internal::Type::BaseModel
|
375
|
+
OrHash =
|
376
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
377
|
+
|
345
378
|
# The pending amount of the transaction in the anticipated settlement currency.
|
346
379
|
sig { returns(Integer) }
|
347
380
|
attr_accessor :amount
|
@@ -350,18 +383,26 @@ module Lithic
|
|
350
383
|
sig { returns(String) }
|
351
384
|
attr_accessor :currency
|
352
385
|
|
353
|
-
sig
|
386
|
+
sig do
|
387
|
+
params(amount: Integer, currency: String).returns(T.attached_class)
|
388
|
+
end
|
354
389
|
def self.new(
|
355
390
|
# The pending amount of the transaction in the anticipated settlement currency.
|
356
391
|
amount:,
|
357
392
|
# 3-character alphabetic ISO 4217 currency
|
358
393
|
currency:
|
359
|
-
)
|
360
|
-
|
361
|
-
|
394
|
+
)
|
395
|
+
end
|
396
|
+
|
397
|
+
sig { override.returns({ amount: Integer, currency: String }) }
|
398
|
+
def to_hash
|
399
|
+
end
|
362
400
|
end
|
363
401
|
|
364
402
|
class Merchant < Lithic::Internal::Type::BaseModel
|
403
|
+
OrHash =
|
404
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
405
|
+
|
365
406
|
# The settled amount of the transaction in the merchant currency.
|
366
407
|
sig { returns(Integer) }
|
367
408
|
attr_accessor :amount
|
@@ -370,18 +411,26 @@ module Lithic
|
|
370
411
|
sig { returns(String) }
|
371
412
|
attr_accessor :currency
|
372
413
|
|
373
|
-
sig
|
414
|
+
sig do
|
415
|
+
params(amount: Integer, currency: String).returns(T.attached_class)
|
416
|
+
end
|
374
417
|
def self.new(
|
375
418
|
# The settled amount of the transaction in the merchant currency.
|
376
419
|
amount:,
|
377
420
|
# 3-character alphabetic ISO 4217 currency
|
378
421
|
currency:
|
379
|
-
)
|
380
|
-
|
381
|
-
|
422
|
+
)
|
423
|
+
end
|
424
|
+
|
425
|
+
sig { override.returns({ amount: Integer, currency: String }) }
|
426
|
+
def to_hash
|
427
|
+
end
|
382
428
|
end
|
383
429
|
|
384
430
|
class Settlement < Lithic::Internal::Type::BaseModel
|
431
|
+
OrHash =
|
432
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
433
|
+
|
385
434
|
# The settled amount of the transaction in the settlement currency.
|
386
435
|
sig { returns(Integer) }
|
387
436
|
attr_accessor :amount
|
@@ -390,19 +439,26 @@ module Lithic
|
|
390
439
|
sig { returns(String) }
|
391
440
|
attr_accessor :currency
|
392
441
|
|
393
|
-
sig
|
442
|
+
sig do
|
443
|
+
params(amount: Integer, currency: String).returns(T.attached_class)
|
444
|
+
end
|
394
445
|
def self.new(
|
395
446
|
# The settled amount of the transaction in the settlement currency.
|
396
447
|
amount:,
|
397
448
|
# 3-character alphabetic ISO 4217 currency
|
398
449
|
currency:
|
399
|
-
)
|
400
|
-
|
401
|
-
|
450
|
+
)
|
451
|
+
end
|
452
|
+
|
453
|
+
sig { override.returns({ amount: Integer, currency: String }) }
|
454
|
+
def to_hash
|
455
|
+
end
|
402
456
|
end
|
403
457
|
end
|
404
458
|
|
405
459
|
class Avs < Lithic::Internal::Type::BaseModel
|
460
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
461
|
+
|
406
462
|
# Cardholder address
|
407
463
|
sig { returns(String) }
|
408
464
|
attr_accessor :address
|
@@ -411,32 +467,51 @@ module Lithic
|
|
411
467
|
sig { returns(String) }
|
412
468
|
attr_accessor :zipcode
|
413
469
|
|
414
|
-
sig
|
470
|
+
sig do
|
471
|
+
params(address: String, zipcode: String).returns(T.attached_class)
|
472
|
+
end
|
415
473
|
def self.new(
|
416
474
|
# Cardholder address
|
417
475
|
address:,
|
418
476
|
# Cardholder ZIP code
|
419
477
|
zipcode:
|
420
|
-
)
|
421
|
-
|
422
|
-
|
478
|
+
)
|
479
|
+
end
|
480
|
+
|
481
|
+
sig { override.returns({ address: String, zipcode: String }) }
|
482
|
+
def to_hash
|
483
|
+
end
|
423
484
|
end
|
424
485
|
|
425
486
|
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
487
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
488
|
+
|
426
489
|
# The 3DS version used for the authentication
|
427
490
|
sig { returns(T.nilable(String)) }
|
428
491
|
attr_accessor :three_ds_version
|
429
492
|
|
430
493
|
# Whether an acquirer exemption applied to the transaction.
|
431
|
-
sig
|
494
|
+
sig do
|
495
|
+
returns(
|
496
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
497
|
+
)
|
498
|
+
end
|
432
499
|
attr_accessor :acquirer_exemption
|
433
500
|
|
434
501
|
# Indicates what the outcome of the 3DS authentication process is.
|
435
|
-
sig
|
502
|
+
sig do
|
503
|
+
returns(
|
504
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
505
|
+
)
|
506
|
+
end
|
436
507
|
attr_accessor :authentication_result
|
437
508
|
|
438
509
|
# Indicates which party made the 3DS authentication decision.
|
439
|
-
sig
|
510
|
+
sig do
|
511
|
+
returns(
|
512
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
513
|
+
)
|
514
|
+
end
|
440
515
|
attr_accessor :decision_made_by
|
441
516
|
|
442
517
|
# Indicates whether chargeback liability shift applies to the transaction.
|
@@ -451,7 +526,11 @@ module Lithic
|
|
451
526
|
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
452
527
|
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
453
528
|
# applies.
|
454
|
-
sig
|
529
|
+
sig do
|
530
|
+
returns(
|
531
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
532
|
+
)
|
533
|
+
end
|
455
534
|
attr_accessor :liability_shift
|
456
535
|
|
457
536
|
# Unique identifier you can use to match a given 3DS authentication (available via
|
@@ -463,26 +542,39 @@ module Lithic
|
|
463
542
|
|
464
543
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
465
544
|
# verification method was. (deprecated, use `authentication_result`)
|
466
|
-
sig
|
545
|
+
sig do
|
546
|
+
returns(
|
547
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::TaggedSymbol
|
548
|
+
)
|
549
|
+
end
|
467
550
|
attr_accessor :verification_attempted
|
468
551
|
|
469
552
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
470
553
|
# use `authentication_result`)
|
471
|
-
sig
|
554
|
+
sig do
|
555
|
+
returns(
|
556
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
557
|
+
)
|
558
|
+
end
|
472
559
|
attr_accessor :verification_result
|
473
560
|
|
474
561
|
sig do
|
475
562
|
params(
|
476
563
|
three_ds_version: T.nilable(String),
|
477
|
-
acquirer_exemption:
|
478
|
-
|
479
|
-
|
480
|
-
|
564
|
+
acquirer_exemption:
|
565
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::OrSymbol,
|
566
|
+
authentication_result:
|
567
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::OrSymbol,
|
568
|
+
decision_made_by:
|
569
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::OrSymbol,
|
570
|
+
liability_shift:
|
571
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::OrSymbol,
|
481
572
|
three_ds_authentication_token: T.nilable(String),
|
482
|
-
verification_attempted:
|
483
|
-
|
484
|
-
|
485
|
-
|
573
|
+
verification_attempted:
|
574
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::OrSymbol,
|
575
|
+
verification_result:
|
576
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::OrSymbol
|
577
|
+
).returns(T.attached_class)
|
486
578
|
end
|
487
579
|
def self.new(
|
488
580
|
# The 3DS version used for the authentication
|
@@ -517,72 +609,95 @@ module Lithic
|
|
517
609
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
518
610
|
# use `authentication_result`)
|
519
611
|
verification_result:
|
520
|
-
)
|
612
|
+
)
|
613
|
+
end
|
614
|
+
|
521
615
|
sig do
|
522
|
-
override
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
616
|
+
override.returns(
|
617
|
+
{
|
618
|
+
three_ds_version: T.nilable(String),
|
619
|
+
acquirer_exemption:
|
620
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol,
|
621
|
+
authentication_result:
|
622
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol,
|
623
|
+
decision_made_by:
|
624
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol,
|
625
|
+
liability_shift:
|
626
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol,
|
627
|
+
three_ds_authentication_token: T.nilable(String),
|
628
|
+
verification_attempted:
|
629
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::TaggedSymbol,
|
630
|
+
verification_result:
|
631
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
632
|
+
}
|
633
|
+
)
|
634
|
+
end
|
635
|
+
def to_hash
|
535
636
|
end
|
536
|
-
def to_hash; end
|
537
637
|
|
538
638
|
# Whether an acquirer exemption applied to the transaction.
|
539
639
|
module AcquirerExemption
|
540
640
|
extend Lithic::Internal::Type::Enum
|
541
641
|
|
542
642
|
TaggedSymbol =
|
543
|
-
T.type_alias
|
643
|
+
T.type_alias do
|
644
|
+
T.all(
|
645
|
+
Symbol,
|
646
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption
|
647
|
+
)
|
648
|
+
end
|
544
649
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
545
650
|
|
546
651
|
AUTHENTICATION_OUTAGE_EXCEPTION =
|
547
652
|
T.let(
|
548
653
|
:AUTHENTICATION_OUTAGE_EXCEPTION,
|
549
|
-
Lithic::
|
654
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
550
655
|
)
|
551
656
|
LOW_VALUE =
|
552
|
-
T.let(
|
657
|
+
T.let(
|
658
|
+
:LOW_VALUE,
|
659
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
660
|
+
)
|
553
661
|
MERCHANT_INITIATED_TRANSACTION =
|
554
662
|
T.let(
|
555
663
|
:MERCHANT_INITIATED_TRANSACTION,
|
556
|
-
Lithic::
|
664
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
557
665
|
)
|
558
666
|
NONE =
|
559
|
-
T.let(
|
667
|
+
T.let(
|
668
|
+
:NONE,
|
669
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
670
|
+
)
|
560
671
|
RECURRING_PAYMENT =
|
561
672
|
T.let(
|
562
673
|
:RECURRING_PAYMENT,
|
563
|
-
Lithic::
|
674
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
564
675
|
)
|
565
676
|
SECURE_CORPORATE_PAYMENT =
|
566
677
|
T.let(
|
567
678
|
:SECURE_CORPORATE_PAYMENT,
|
568
|
-
Lithic::
|
679
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
569
680
|
)
|
570
681
|
STRONG_CUSTOMER_AUTHENTICATION_DELEGATION =
|
571
682
|
T.let(
|
572
683
|
:STRONG_CUSTOMER_AUTHENTICATION_DELEGATION,
|
573
|
-
Lithic::
|
684
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
574
685
|
)
|
575
686
|
TRANSACTION_RISK_ANALYSIS =
|
576
687
|
T.let(
|
577
688
|
:TRANSACTION_RISK_ANALYSIS,
|
578
|
-
Lithic::
|
689
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
579
690
|
)
|
580
691
|
|
581
692
|
sig do
|
582
|
-
override
|
583
|
-
|
693
|
+
override.returns(
|
694
|
+
T::Array[
|
695
|
+
Lithic::Transaction::CardholderAuthentication::AcquirerExemption::TaggedSymbol
|
696
|
+
]
|
697
|
+
)
|
698
|
+
end
|
699
|
+
def self.values
|
584
700
|
end
|
585
|
-
def self.values; end
|
586
701
|
end
|
587
702
|
|
588
703
|
# Indicates what the outcome of the 3DS authentication process is.
|
@@ -590,28 +705,44 @@ module Lithic
|
|
590
705
|
extend Lithic::Internal::Type::Enum
|
591
706
|
|
592
707
|
TaggedSymbol =
|
593
|
-
T.type_alias
|
708
|
+
T.type_alias do
|
709
|
+
T.all(
|
710
|
+
Symbol,
|
711
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult
|
712
|
+
)
|
713
|
+
end
|
594
714
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
595
715
|
|
596
716
|
ATTEMPTS =
|
597
717
|
T.let(
|
598
718
|
:ATTEMPTS,
|
599
|
-
Lithic::
|
719
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
600
720
|
)
|
601
721
|
DECLINE =
|
602
|
-
T.let(
|
722
|
+
T.let(
|
723
|
+
:DECLINE,
|
724
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
725
|
+
)
|
603
726
|
NONE =
|
604
|
-
T.let(
|
727
|
+
T.let(
|
728
|
+
:NONE,
|
729
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
730
|
+
)
|
605
731
|
SUCCESS =
|
606
|
-
T.let(
|
732
|
+
T.let(
|
733
|
+
:SUCCESS,
|
734
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
735
|
+
)
|
607
736
|
|
608
737
|
sig do
|
609
|
-
override
|
610
|
-
|
611
|
-
|
612
|
-
|
738
|
+
override.returns(
|
739
|
+
T::Array[
|
740
|
+
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
741
|
+
]
|
742
|
+
)
|
743
|
+
end
|
744
|
+
def self.values
|
613
745
|
end
|
614
|
-
def self.values; end
|
615
746
|
end
|
616
747
|
|
617
748
|
# Indicates which party made the 3DS authentication decision.
|
@@ -619,31 +750,49 @@ module Lithic
|
|
619
750
|
extend Lithic::Internal::Type::Enum
|
620
751
|
|
621
752
|
TaggedSymbol =
|
622
|
-
T.type_alias
|
753
|
+
T.type_alias do
|
754
|
+
T.all(
|
755
|
+
Symbol,
|
756
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy
|
757
|
+
)
|
758
|
+
end
|
623
759
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
624
760
|
|
625
761
|
CUSTOMER_ENDPOINT =
|
626
762
|
T.let(
|
627
763
|
:CUSTOMER_ENDPOINT,
|
628
|
-
Lithic::
|
764
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
629
765
|
)
|
630
766
|
LITHIC_DEFAULT =
|
631
767
|
T.let(
|
632
768
|
:LITHIC_DEFAULT,
|
633
|
-
Lithic::
|
769
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
634
770
|
)
|
635
771
|
LITHIC_RULES =
|
636
|
-
T.let(
|
772
|
+
T.let(
|
773
|
+
:LITHIC_RULES,
|
774
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
775
|
+
)
|
637
776
|
NETWORK =
|
638
|
-
T.let(
|
777
|
+
T.let(
|
778
|
+
:NETWORK,
|
779
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
780
|
+
)
|
639
781
|
UNKNOWN =
|
640
|
-
T.let(
|
782
|
+
T.let(
|
783
|
+
:UNKNOWN,
|
784
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
785
|
+
)
|
641
786
|
|
642
787
|
sig do
|
643
|
-
override
|
644
|
-
|
788
|
+
override.returns(
|
789
|
+
T::Array[
|
790
|
+
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
791
|
+
]
|
792
|
+
)
|
793
|
+
end
|
794
|
+
def self.values
|
645
795
|
end
|
646
|
-
def self.values; end
|
647
796
|
end
|
648
797
|
|
649
798
|
# Indicates whether chargeback liability shift applies to the transaction.
|
@@ -662,31 +811,44 @@ module Lithic
|
|
662
811
|
extend Lithic::Internal::Type::Enum
|
663
812
|
|
664
813
|
TaggedSymbol =
|
665
|
-
T.type_alias
|
814
|
+
T.type_alias do
|
815
|
+
T.all(
|
816
|
+
Symbol,
|
817
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift
|
818
|
+
)
|
819
|
+
end
|
666
820
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
667
821
|
|
668
822
|
LIABILITY_SHIFT_3DS_AUTHENTICATED =
|
669
823
|
T.let(
|
670
824
|
:"3DS_AUTHENTICATED",
|
671
|
-
Lithic::
|
825
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
672
826
|
)
|
673
827
|
ACQUIRER_EXEMPTION =
|
674
828
|
T.let(
|
675
829
|
:ACQUIRER_EXEMPTION,
|
676
|
-
Lithic::
|
830
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
831
|
+
)
|
832
|
+
NONE =
|
833
|
+
T.let(
|
834
|
+
:NONE,
|
835
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
677
836
|
)
|
678
|
-
NONE = T.let(:NONE, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol)
|
679
837
|
TOKEN_AUTHENTICATED =
|
680
838
|
T.let(
|
681
839
|
:TOKEN_AUTHENTICATED,
|
682
|
-
Lithic::
|
840
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
683
841
|
)
|
684
842
|
|
685
843
|
sig do
|
686
|
-
override
|
687
|
-
|
844
|
+
override.returns(
|
845
|
+
T::Array[
|
846
|
+
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
847
|
+
]
|
848
|
+
)
|
849
|
+
end
|
850
|
+
def self.values
|
688
851
|
end
|
689
|
-
def self.values; end
|
690
852
|
end
|
691
853
|
|
692
854
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
@@ -695,21 +857,34 @@ module Lithic
|
|
695
857
|
extend Lithic::Internal::Type::Enum
|
696
858
|
|
697
859
|
TaggedSymbol =
|
698
|
-
T.type_alias
|
860
|
+
T.type_alias do
|
861
|
+
T.all(
|
862
|
+
Symbol,
|
863
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted
|
864
|
+
)
|
865
|
+
end
|
699
866
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
700
867
|
|
701
868
|
NONE =
|
702
|
-
T.let(
|
869
|
+
T.let(
|
870
|
+
:NONE,
|
871
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::TaggedSymbol
|
872
|
+
)
|
703
873
|
OTHER =
|
704
|
-
T.let(
|
874
|
+
T.let(
|
875
|
+
:OTHER,
|
876
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::TaggedSymbol
|
877
|
+
)
|
705
878
|
|
706
879
|
sig do
|
707
|
-
override
|
708
|
-
|
709
|
-
|
710
|
-
|
880
|
+
override.returns(
|
881
|
+
T::Array[
|
882
|
+
Lithic::Transaction::CardholderAuthentication::VerificationAttempted::TaggedSymbol
|
883
|
+
]
|
884
|
+
)
|
885
|
+
end
|
886
|
+
def self.values
|
711
887
|
end
|
712
|
-
def self.values; end
|
713
888
|
end
|
714
889
|
|
715
890
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
@@ -718,37 +893,60 @@ module Lithic
|
|
718
893
|
extend Lithic::Internal::Type::Enum
|
719
894
|
|
720
895
|
TaggedSymbol =
|
721
|
-
T.type_alias
|
896
|
+
T.type_alias do
|
897
|
+
T.all(
|
898
|
+
Symbol,
|
899
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult
|
900
|
+
)
|
901
|
+
end
|
722
902
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
723
903
|
|
724
904
|
CANCELLED =
|
725
|
-
T.let(
|
905
|
+
T.let(
|
906
|
+
:CANCELLED,
|
907
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
908
|
+
)
|
726
909
|
FAILED =
|
727
|
-
T.let(
|
910
|
+
T.let(
|
911
|
+
:FAILED,
|
912
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
913
|
+
)
|
728
914
|
FRICTIONLESS =
|
729
915
|
T.let(
|
730
916
|
:FRICTIONLESS,
|
731
|
-
Lithic::
|
917
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
732
918
|
)
|
733
919
|
NOT_ATTEMPTED =
|
734
920
|
T.let(
|
735
921
|
:NOT_ATTEMPTED,
|
736
|
-
Lithic::
|
922
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
737
923
|
)
|
738
924
|
REJECTED =
|
739
|
-
T.let(
|
925
|
+
T.let(
|
926
|
+
:REJECTED,
|
927
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
928
|
+
)
|
740
929
|
SUCCESS =
|
741
|
-
T.let(
|
930
|
+
T.let(
|
931
|
+
:SUCCESS,
|
932
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
933
|
+
)
|
742
934
|
|
743
935
|
sig do
|
744
|
-
override
|
745
|
-
|
936
|
+
override.returns(
|
937
|
+
T::Array[
|
938
|
+
Lithic::Transaction::CardholderAuthentication::VerificationResult::TaggedSymbol
|
939
|
+
]
|
940
|
+
)
|
941
|
+
end
|
942
|
+
def self.values
|
746
943
|
end
|
747
|
-
def self.values; end
|
748
944
|
end
|
749
945
|
end
|
750
946
|
|
751
947
|
class Merchant < Lithic::Internal::Type::BaseModel
|
948
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
949
|
+
|
752
950
|
# Unique alphanumeric identifier for the payment card acceptor (merchant).
|
753
951
|
sig { returns(String) }
|
754
952
|
attr_accessor :acceptor_id
|
@@ -789,8 +987,7 @@ module Lithic
|
|
789
987
|
descriptor: String,
|
790
988
|
mcc: String,
|
791
989
|
state: String
|
792
|
-
)
|
793
|
-
.returns(T.attached_class)
|
990
|
+
).returns(T.attached_class)
|
794
991
|
end
|
795
992
|
def self.new(
|
796
993
|
# Unique alphanumeric identifier for the payment card acceptor (merchant).
|
@@ -810,22 +1007,24 @@ module Lithic
|
|
810
1007
|
mcc:,
|
811
1008
|
# Geographic state of card acceptor.
|
812
1009
|
state:
|
813
|
-
)
|
1010
|
+
)
|
1011
|
+
end
|
1012
|
+
|
814
1013
|
sig do
|
815
|
-
override
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
1014
|
+
override.returns(
|
1015
|
+
{
|
1016
|
+
acceptor_id: String,
|
1017
|
+
acquiring_institution_id: String,
|
1018
|
+
city: String,
|
1019
|
+
country: String,
|
1020
|
+
descriptor: String,
|
1021
|
+
mcc: String,
|
1022
|
+
state: String
|
1023
|
+
}
|
1024
|
+
)
|
1025
|
+
end
|
1026
|
+
def to_hash
|
827
1027
|
end
|
828
|
-
def to_hash; end
|
829
1028
|
end
|
830
1029
|
|
831
1030
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
@@ -834,63 +1033,86 @@ module Lithic
|
|
834
1033
|
module Network
|
835
1034
|
extend Lithic::Internal::Type::Enum
|
836
1035
|
|
837
|
-
TaggedSymbol =
|
1036
|
+
TaggedSymbol =
|
1037
|
+
T.type_alias { T.all(Symbol, Lithic::Transaction::Network) }
|
838
1038
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
839
1039
|
|
840
|
-
INTERLINK =
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
1040
|
+
INTERLINK =
|
1041
|
+
T.let(:INTERLINK, Lithic::Transaction::Network::TaggedSymbol)
|
1042
|
+
MAESTRO = T.let(:MAESTRO, Lithic::Transaction::Network::TaggedSymbol)
|
1043
|
+
MASTERCARD =
|
1044
|
+
T.let(:MASTERCARD, Lithic::Transaction::Network::TaggedSymbol)
|
1045
|
+
UNKNOWN = T.let(:UNKNOWN, Lithic::Transaction::Network::TaggedSymbol)
|
1046
|
+
VISA = T.let(:VISA, Lithic::Transaction::Network::TaggedSymbol)
|
845
1047
|
|
846
|
-
sig
|
847
|
-
|
1048
|
+
sig do
|
1049
|
+
override.returns(T::Array[Lithic::Transaction::Network::TaggedSymbol])
|
1050
|
+
end
|
1051
|
+
def self.values
|
1052
|
+
end
|
848
1053
|
end
|
849
1054
|
|
850
1055
|
class Pos < Lithic::Internal::Type::BaseModel
|
851
|
-
|
1056
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
1057
|
+
|
1058
|
+
sig { returns(Lithic::Transaction::Pos::EntryMode) }
|
852
1059
|
attr_reader :entry_mode
|
853
1060
|
|
854
|
-
sig
|
1061
|
+
sig do
|
1062
|
+
params(entry_mode: Lithic::Transaction::Pos::EntryMode::OrHash).void
|
1063
|
+
end
|
855
1064
|
attr_writer :entry_mode
|
856
1065
|
|
857
|
-
sig { returns(Lithic::
|
1066
|
+
sig { returns(Lithic::Transaction::Pos::Terminal) }
|
858
1067
|
attr_reader :terminal
|
859
1068
|
|
860
|
-
sig
|
1069
|
+
sig do
|
1070
|
+
params(terminal: Lithic::Transaction::Pos::Terminal::OrHash).void
|
1071
|
+
end
|
861
1072
|
attr_writer :terminal
|
862
1073
|
|
863
1074
|
sig do
|
864
1075
|
params(
|
865
|
-
entry_mode:
|
866
|
-
terminal:
|
867
|
-
)
|
868
|
-
|
1076
|
+
entry_mode: Lithic::Transaction::Pos::EntryMode::OrHash,
|
1077
|
+
terminal: Lithic::Transaction::Pos::Terminal::OrHash
|
1078
|
+
).returns(T.attached_class)
|
1079
|
+
end
|
1080
|
+
def self.new(entry_mode:, terminal:)
|
869
1081
|
end
|
870
|
-
def self.new(entry_mode:, terminal:); end
|
871
1082
|
|
872
1083
|
sig do
|
873
|
-
override
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
1084
|
+
override.returns(
|
1085
|
+
{
|
1086
|
+
entry_mode: Lithic::Transaction::Pos::EntryMode,
|
1087
|
+
terminal: Lithic::Transaction::Pos::Terminal
|
1088
|
+
}
|
1089
|
+
)
|
1090
|
+
end
|
1091
|
+
def to_hash
|
880
1092
|
end
|
881
|
-
def to_hash; end
|
882
1093
|
|
883
1094
|
class EntryMode < Lithic::Internal::Type::BaseModel
|
1095
|
+
OrHash =
|
1096
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
1097
|
+
|
884
1098
|
# Card presence indicator
|
885
|
-
sig
|
1099
|
+
sig do
|
1100
|
+
returns(Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol)
|
1101
|
+
end
|
886
1102
|
attr_accessor :card
|
887
1103
|
|
888
1104
|
# Cardholder presence indicator
|
889
|
-
sig
|
1105
|
+
sig do
|
1106
|
+
returns(
|
1107
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1108
|
+
)
|
1109
|
+
end
|
890
1110
|
attr_accessor :cardholder
|
891
1111
|
|
892
1112
|
# Method of entry for the PAN
|
893
|
-
sig
|
1113
|
+
sig do
|
1114
|
+
returns(Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol)
|
1115
|
+
end
|
894
1116
|
attr_accessor :pan
|
895
1117
|
|
896
1118
|
# Indicates whether the cardholder entered the PIN. True if the PIN was entered.
|
@@ -899,12 +1121,12 @@ module Lithic
|
|
899
1121
|
|
900
1122
|
sig do
|
901
1123
|
params(
|
902
|
-
card: Lithic::
|
903
|
-
cardholder:
|
904
|
-
|
1124
|
+
card: Lithic::Transaction::Pos::EntryMode::Card::OrSymbol,
|
1125
|
+
cardholder:
|
1126
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::OrSymbol,
|
1127
|
+
pan: Lithic::Transaction::Pos::EntryMode::Pan::OrSymbol,
|
905
1128
|
pin_entered: T::Boolean
|
906
|
-
)
|
907
|
-
.returns(T.attached_class)
|
1129
|
+
).returns(T.attached_class)
|
908
1130
|
end
|
909
1131
|
def self.new(
|
910
1132
|
# Card presence indicator
|
@@ -915,93 +1137,237 @@ module Lithic
|
|
915
1137
|
pan:,
|
916
1138
|
# Indicates whether the cardholder entered the PIN. True if the PIN was entered.
|
917
1139
|
pin_entered:
|
918
|
-
)
|
1140
|
+
)
|
1141
|
+
end
|
1142
|
+
|
919
1143
|
sig do
|
920
|
-
override
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
1144
|
+
override.returns(
|
1145
|
+
{
|
1146
|
+
card: Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol,
|
1147
|
+
cardholder:
|
1148
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol,
|
1149
|
+
pan: Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol,
|
1150
|
+
pin_entered: T::Boolean
|
1151
|
+
}
|
1152
|
+
)
|
1153
|
+
end
|
1154
|
+
def to_hash
|
929
1155
|
end
|
930
|
-
def to_hash; end
|
931
1156
|
|
932
1157
|
# Card presence indicator
|
933
1158
|
module Card
|
934
1159
|
extend Lithic::Internal::Type::Enum
|
935
1160
|
|
936
|
-
TaggedSymbol =
|
1161
|
+
TaggedSymbol =
|
1162
|
+
T.type_alias do
|
1163
|
+
T.all(Symbol, Lithic::Transaction::Pos::EntryMode::Card)
|
1164
|
+
end
|
937
1165
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
938
1166
|
|
939
|
-
NOT_PRESENT =
|
940
|
-
|
941
|
-
|
942
|
-
|
1167
|
+
NOT_PRESENT =
|
1168
|
+
T.let(
|
1169
|
+
:NOT_PRESENT,
|
1170
|
+
Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol
|
1171
|
+
)
|
1172
|
+
PREAUTHORIZED =
|
1173
|
+
T.let(
|
1174
|
+
:PREAUTHORIZED,
|
1175
|
+
Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol
|
1176
|
+
)
|
1177
|
+
PRESENT =
|
1178
|
+
T.let(
|
1179
|
+
:PRESENT,
|
1180
|
+
Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol
|
1181
|
+
)
|
1182
|
+
UNKNOWN =
|
1183
|
+
T.let(
|
1184
|
+
:UNKNOWN,
|
1185
|
+
Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol
|
1186
|
+
)
|
943
1187
|
|
944
|
-
sig
|
945
|
-
|
1188
|
+
sig do
|
1189
|
+
override.returns(
|
1190
|
+
T::Array[
|
1191
|
+
Lithic::Transaction::Pos::EntryMode::Card::TaggedSymbol
|
1192
|
+
]
|
1193
|
+
)
|
1194
|
+
end
|
1195
|
+
def self.values
|
1196
|
+
end
|
946
1197
|
end
|
947
1198
|
|
948
1199
|
# Cardholder presence indicator
|
949
1200
|
module Cardholder
|
950
1201
|
extend Lithic::Internal::Type::Enum
|
951
1202
|
|
952
|
-
TaggedSymbol =
|
1203
|
+
TaggedSymbol =
|
1204
|
+
T.type_alias do
|
1205
|
+
T.all(Symbol, Lithic::Transaction::Pos::EntryMode::Cardholder)
|
1206
|
+
end
|
953
1207
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
954
1208
|
|
955
1209
|
DEFERRED_BILLING =
|
956
|
-
T.let(
|
1210
|
+
T.let(
|
1211
|
+
:DEFERRED_BILLING,
|
1212
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1213
|
+
)
|
957
1214
|
ELECTRONIC_ORDER =
|
958
|
-
T.let(
|
959
|
-
|
960
|
-
|
961
|
-
|
1215
|
+
T.let(
|
1216
|
+
:ELECTRONIC_ORDER,
|
1217
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1218
|
+
)
|
1219
|
+
INSTALLMENT =
|
1220
|
+
T.let(
|
1221
|
+
:INSTALLMENT,
|
1222
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1223
|
+
)
|
1224
|
+
MAIL_ORDER =
|
1225
|
+
T.let(
|
1226
|
+
:MAIL_ORDER,
|
1227
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1228
|
+
)
|
1229
|
+
NOT_PRESENT =
|
1230
|
+
T.let(
|
1231
|
+
:NOT_PRESENT,
|
1232
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1233
|
+
)
|
962
1234
|
PREAUTHORIZED =
|
963
|
-
T.let(
|
964
|
-
|
965
|
-
|
1235
|
+
T.let(
|
1236
|
+
:PREAUTHORIZED,
|
1237
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1238
|
+
)
|
1239
|
+
PRESENT =
|
1240
|
+
T.let(
|
1241
|
+
:PRESENT,
|
1242
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1243
|
+
)
|
1244
|
+
REOCCURRING =
|
1245
|
+
T.let(
|
1246
|
+
:REOCCURRING,
|
1247
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1248
|
+
)
|
966
1249
|
TELEPHONE_ORDER =
|
967
|
-
T.let(
|
968
|
-
|
1250
|
+
T.let(
|
1251
|
+
:TELEPHONE_ORDER,
|
1252
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1253
|
+
)
|
1254
|
+
UNKNOWN =
|
1255
|
+
T.let(
|
1256
|
+
:UNKNOWN,
|
1257
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1258
|
+
)
|
969
1259
|
|
970
|
-
sig
|
971
|
-
|
1260
|
+
sig do
|
1261
|
+
override.returns(
|
1262
|
+
T::Array[
|
1263
|
+
Lithic::Transaction::Pos::EntryMode::Cardholder::TaggedSymbol
|
1264
|
+
]
|
1265
|
+
)
|
1266
|
+
end
|
1267
|
+
def self.values
|
1268
|
+
end
|
972
1269
|
end
|
973
1270
|
|
974
1271
|
# Method of entry for the PAN
|
975
1272
|
module Pan
|
976
1273
|
extend Lithic::Internal::Type::Enum
|
977
1274
|
|
978
|
-
TaggedSymbol =
|
1275
|
+
TaggedSymbol =
|
1276
|
+
T.type_alias do
|
1277
|
+
T.all(Symbol, Lithic::Transaction::Pos::EntryMode::Pan)
|
1278
|
+
end
|
979
1279
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
980
1280
|
|
981
|
-
AUTO_ENTRY =
|
982
|
-
|
983
|
-
|
1281
|
+
AUTO_ENTRY =
|
1282
|
+
T.let(
|
1283
|
+
:AUTO_ENTRY,
|
1284
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1285
|
+
)
|
1286
|
+
BAR_CODE =
|
1287
|
+
T.let(
|
1288
|
+
:BAR_CODE,
|
1289
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1290
|
+
)
|
1291
|
+
CONTACTLESS =
|
1292
|
+
T.let(
|
1293
|
+
:CONTACTLESS,
|
1294
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1295
|
+
)
|
984
1296
|
CREDENTIAL_ON_FILE =
|
985
|
-
T.let(
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1297
|
+
T.let(
|
1298
|
+
:CREDENTIAL_ON_FILE,
|
1299
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1300
|
+
)
|
1301
|
+
ECOMMERCE =
|
1302
|
+
T.let(
|
1303
|
+
:ECOMMERCE,
|
1304
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1305
|
+
)
|
1306
|
+
ERROR_KEYED =
|
1307
|
+
T.let(
|
1308
|
+
:ERROR_KEYED,
|
1309
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1310
|
+
)
|
1311
|
+
ERROR_MAGNETIC_STRIPE =
|
1312
|
+
T.let(
|
1313
|
+
:ERROR_MAGNETIC_STRIPE,
|
1314
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1315
|
+
)
|
1316
|
+
ICC =
|
1317
|
+
T.let(
|
1318
|
+
:ICC,
|
1319
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1320
|
+
)
|
1321
|
+
KEY_ENTERED =
|
1322
|
+
T.let(
|
1323
|
+
:KEY_ENTERED,
|
1324
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1325
|
+
)
|
1326
|
+
MAGNETIC_STRIPE =
|
1327
|
+
T.let(
|
1328
|
+
:MAGNETIC_STRIPE,
|
1329
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1330
|
+
)
|
1331
|
+
MANUAL =
|
1332
|
+
T.let(
|
1333
|
+
:MANUAL,
|
1334
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1335
|
+
)
|
1336
|
+
OCR =
|
1337
|
+
T.let(
|
1338
|
+
:OCR,
|
1339
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1340
|
+
)
|
1341
|
+
SECURE_CARDLESS =
|
1342
|
+
T.let(
|
1343
|
+
:SECURE_CARDLESS,
|
1344
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1345
|
+
)
|
1346
|
+
UNKNOWN =
|
1347
|
+
T.let(
|
1348
|
+
:UNKNOWN,
|
1349
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1350
|
+
)
|
1351
|
+
UNSPECIFIED =
|
1352
|
+
T.let(
|
1353
|
+
:UNSPECIFIED,
|
1354
|
+
Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol
|
1355
|
+
)
|
1356
|
+
|
1357
|
+
sig do
|
1358
|
+
override.returns(
|
1359
|
+
T::Array[Lithic::Transaction::Pos::EntryMode::Pan::TaggedSymbol]
|
1360
|
+
)
|
1361
|
+
end
|
1362
|
+
def self.values
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1004
1367
|
class Terminal < Lithic::Internal::Type::BaseModel
|
1368
|
+
OrHash =
|
1369
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
1370
|
+
|
1005
1371
|
# True if a clerk is present at the sale.
|
1006
1372
|
sig { returns(T::Boolean) }
|
1007
1373
|
attr_accessor :attended
|
@@ -1015,7 +1381,9 @@ module Lithic
|
|
1015
1381
|
attr_accessor :on_premise
|
1016
1382
|
|
1017
1383
|
# The person that is designated to swipe the card
|
1018
|
-
sig
|
1384
|
+
sig do
|
1385
|
+
returns(Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol)
|
1386
|
+
end
|
1019
1387
|
attr_accessor :operator
|
1020
1388
|
|
1021
1389
|
# True if the terminal is capable of partial approval. Partial approval is when
|
@@ -1027,11 +1395,17 @@ module Lithic
|
|
1027
1395
|
attr_accessor :partial_approval_capable
|
1028
1396
|
|
1029
1397
|
# Status of whether the POS is able to accept PINs
|
1030
|
-
sig
|
1398
|
+
sig do
|
1399
|
+
returns(
|
1400
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1401
|
+
)
|
1402
|
+
end
|
1031
1403
|
attr_accessor :pin_capability
|
1032
1404
|
|
1033
1405
|
# POS Type
|
1034
|
-
sig
|
1406
|
+
sig do
|
1407
|
+
returns(Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol)
|
1408
|
+
end
|
1035
1409
|
attr_accessor :type
|
1036
1410
|
|
1037
1411
|
# Uniquely identifies a terminal at the card acceptor location of acquiring
|
@@ -1044,13 +1418,13 @@ module Lithic
|
|
1044
1418
|
attended: T::Boolean,
|
1045
1419
|
card_retention_capable: T::Boolean,
|
1046
1420
|
on_premise: T::Boolean,
|
1047
|
-
operator: Lithic::
|
1421
|
+
operator: Lithic::Transaction::Pos::Terminal::Operator::OrSymbol,
|
1048
1422
|
partial_approval_capable: T::Boolean,
|
1049
|
-
pin_capability:
|
1050
|
-
|
1423
|
+
pin_capability:
|
1424
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::OrSymbol,
|
1425
|
+
type: Lithic::Transaction::Pos::Terminal::Type::OrSymbol,
|
1051
1426
|
acceptor_terminal_id: T.nilable(String)
|
1052
|
-
)
|
1053
|
-
.returns(T.attached_class)
|
1427
|
+
).returns(T.attached_class)
|
1054
1428
|
end
|
1055
1429
|
def self.new(
|
1056
1430
|
# True if a clerk is present at the sale.
|
@@ -1074,95 +1448,250 @@ module Lithic
|
|
1074
1448
|
# Uniquely identifies a terminal at the card acceptor location of acquiring
|
1075
1449
|
# institutions or merchant POS Systems
|
1076
1450
|
acceptor_terminal_id: nil
|
1077
|
-
)
|
1451
|
+
)
|
1452
|
+
end
|
1453
|
+
|
1078
1454
|
sig do
|
1079
|
-
override
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1455
|
+
override.returns(
|
1456
|
+
{
|
1457
|
+
attended: T::Boolean,
|
1458
|
+
card_retention_capable: T::Boolean,
|
1459
|
+
on_premise: T::Boolean,
|
1460
|
+
operator:
|
1461
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol,
|
1462
|
+
partial_approval_capable: T::Boolean,
|
1463
|
+
pin_capability:
|
1464
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol,
|
1465
|
+
type: Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol,
|
1466
|
+
acceptor_terminal_id: T.nilable(String)
|
1467
|
+
}
|
1468
|
+
)
|
1469
|
+
end
|
1470
|
+
def to_hash
|
1092
1471
|
end
|
1093
|
-
def to_hash; end
|
1094
1472
|
|
1095
1473
|
# The person that is designated to swipe the card
|
1096
1474
|
module Operator
|
1097
1475
|
extend Lithic::Internal::Type::Enum
|
1098
1476
|
|
1099
|
-
TaggedSymbol =
|
1477
|
+
TaggedSymbol =
|
1478
|
+
T.type_alias do
|
1479
|
+
T.all(Symbol, Lithic::Transaction::Pos::Terminal::Operator)
|
1480
|
+
end
|
1100
1481
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1101
1482
|
|
1102
1483
|
ADMINISTRATIVE =
|
1103
|
-
T.let(
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1484
|
+
T.let(
|
1485
|
+
:ADMINISTRATIVE,
|
1486
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol
|
1487
|
+
)
|
1488
|
+
CARDHOLDER =
|
1489
|
+
T.let(
|
1490
|
+
:CARDHOLDER,
|
1491
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol
|
1492
|
+
)
|
1493
|
+
CARD_ACCEPTOR =
|
1494
|
+
T.let(
|
1495
|
+
:CARD_ACCEPTOR,
|
1496
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol
|
1497
|
+
)
|
1498
|
+
UNKNOWN =
|
1499
|
+
T.let(
|
1500
|
+
:UNKNOWN,
|
1501
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol
|
1502
|
+
)
|
1107
1503
|
|
1108
|
-
sig
|
1109
|
-
|
1504
|
+
sig do
|
1505
|
+
override.returns(
|
1506
|
+
T::Array[
|
1507
|
+
Lithic::Transaction::Pos::Terminal::Operator::TaggedSymbol
|
1508
|
+
]
|
1509
|
+
)
|
1510
|
+
end
|
1511
|
+
def self.values
|
1512
|
+
end
|
1110
1513
|
end
|
1111
1514
|
|
1112
1515
|
# Status of whether the POS is able to accept PINs
|
1113
1516
|
module PinCapability
|
1114
1517
|
extend Lithic::Internal::Type::Enum
|
1115
1518
|
|
1116
|
-
TaggedSymbol =
|
1519
|
+
TaggedSymbol =
|
1520
|
+
T.type_alias do
|
1521
|
+
T.all(Symbol, Lithic::Transaction::Pos::Terminal::PinCapability)
|
1522
|
+
end
|
1117
1523
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1118
1524
|
|
1119
|
-
CAPABLE =
|
1525
|
+
CAPABLE =
|
1526
|
+
T.let(
|
1527
|
+
:CAPABLE,
|
1528
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1529
|
+
)
|
1120
1530
|
INOPERATIVE =
|
1121
|
-
T.let(
|
1531
|
+
T.let(
|
1532
|
+
:INOPERATIVE,
|
1533
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1534
|
+
)
|
1122
1535
|
NOT_CAPABLE =
|
1123
|
-
T.let(
|
1536
|
+
T.let(
|
1537
|
+
:NOT_CAPABLE,
|
1538
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1539
|
+
)
|
1124
1540
|
UNSPECIFIED =
|
1125
|
-
T.let(
|
1541
|
+
T.let(
|
1542
|
+
:UNSPECIFIED,
|
1543
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1544
|
+
)
|
1126
1545
|
|
1127
|
-
sig
|
1128
|
-
|
1546
|
+
sig do
|
1547
|
+
override.returns(
|
1548
|
+
T::Array[
|
1549
|
+
Lithic::Transaction::Pos::Terminal::PinCapability::TaggedSymbol
|
1550
|
+
]
|
1551
|
+
)
|
1552
|
+
end
|
1553
|
+
def self.values
|
1554
|
+
end
|
1129
1555
|
end
|
1130
1556
|
|
1131
1557
|
# POS Type
|
1132
1558
|
module Type
|
1133
1559
|
extend Lithic::Internal::Type::Enum
|
1134
1560
|
|
1135
|
-
TaggedSymbol =
|
1561
|
+
TaggedSymbol =
|
1562
|
+
T.type_alias do
|
1563
|
+
T.all(Symbol, Lithic::Transaction::Pos::Terminal::Type)
|
1564
|
+
end
|
1136
1565
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1137
1566
|
|
1138
|
-
ADMINISTRATIVE =
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1567
|
+
ADMINISTRATIVE =
|
1568
|
+
T.let(
|
1569
|
+
:ADMINISTRATIVE,
|
1570
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1571
|
+
)
|
1572
|
+
ATM =
|
1573
|
+
T.let(
|
1574
|
+
:ATM,
|
1575
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1576
|
+
)
|
1577
|
+
AUTHORIZATION =
|
1578
|
+
T.let(
|
1579
|
+
:AUTHORIZATION,
|
1580
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1581
|
+
)
|
1582
|
+
COUPON_MACHINE =
|
1583
|
+
T.let(
|
1584
|
+
:COUPON_MACHINE,
|
1585
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1586
|
+
)
|
1587
|
+
DIAL_TERMINAL =
|
1588
|
+
T.let(
|
1589
|
+
:DIAL_TERMINAL,
|
1590
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1591
|
+
)
|
1592
|
+
ECOMMERCE =
|
1593
|
+
T.let(
|
1594
|
+
:ECOMMERCE,
|
1595
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1596
|
+
)
|
1597
|
+
ECR =
|
1598
|
+
T.let(
|
1599
|
+
:ECR,
|
1600
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1601
|
+
)
|
1602
|
+
FUEL_MACHINE =
|
1603
|
+
T.let(
|
1604
|
+
:FUEL_MACHINE,
|
1605
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1606
|
+
)
|
1607
|
+
HOME_TERMINAL =
|
1608
|
+
T.let(
|
1609
|
+
:HOME_TERMINAL,
|
1610
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1611
|
+
)
|
1612
|
+
MICR =
|
1613
|
+
T.let(
|
1614
|
+
:MICR,
|
1615
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1616
|
+
)
|
1617
|
+
OFF_PREMISE =
|
1618
|
+
T.let(
|
1619
|
+
:OFF_PREMISE,
|
1620
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1621
|
+
)
|
1622
|
+
PAYMENT =
|
1623
|
+
T.let(
|
1624
|
+
:PAYMENT,
|
1625
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1626
|
+
)
|
1627
|
+
PDA =
|
1628
|
+
T.let(
|
1629
|
+
:PDA,
|
1630
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1631
|
+
)
|
1632
|
+
PHONE =
|
1633
|
+
T.let(
|
1634
|
+
:PHONE,
|
1635
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1636
|
+
)
|
1637
|
+
POINT =
|
1638
|
+
T.let(
|
1639
|
+
:POINT,
|
1640
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1641
|
+
)
|
1642
|
+
POS_TERMINAL =
|
1643
|
+
T.let(
|
1644
|
+
:POS_TERMINAL,
|
1645
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1646
|
+
)
|
1647
|
+
PUBLIC_UTILITY =
|
1648
|
+
T.let(
|
1649
|
+
:PUBLIC_UTILITY,
|
1650
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1651
|
+
)
|
1652
|
+
SELF_SERVICE =
|
1653
|
+
T.let(
|
1654
|
+
:SELF_SERVICE,
|
1655
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1656
|
+
)
|
1657
|
+
TELEVISION =
|
1658
|
+
T.let(
|
1659
|
+
:TELEVISION,
|
1660
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1661
|
+
)
|
1662
|
+
TELLER =
|
1663
|
+
T.let(
|
1664
|
+
:TELLER,
|
1665
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1666
|
+
)
|
1158
1667
|
TRAVELERS_CHECK_MACHINE =
|
1159
|
-
T.let(
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1668
|
+
T.let(
|
1669
|
+
:TRAVELERS_CHECK_MACHINE,
|
1670
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1671
|
+
)
|
1672
|
+
VENDING =
|
1673
|
+
T.let(
|
1674
|
+
:VENDING,
|
1675
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1676
|
+
)
|
1677
|
+
VOICE =
|
1678
|
+
T.let(
|
1679
|
+
:VOICE,
|
1680
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1681
|
+
)
|
1682
|
+
UNKNOWN =
|
1683
|
+
T.let(
|
1684
|
+
:UNKNOWN,
|
1685
|
+
Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol
|
1686
|
+
)
|
1163
1687
|
|
1164
|
-
sig
|
1165
|
-
|
1688
|
+
sig do
|
1689
|
+
override.returns(
|
1690
|
+
T::Array[Lithic::Transaction::Pos::Terminal::Type::TaggedSymbol]
|
1691
|
+
)
|
1692
|
+
end
|
1693
|
+
def self.values
|
1694
|
+
end
|
1166
1695
|
end
|
1167
1696
|
end
|
1168
1697
|
end
|
@@ -1170,68 +1699,129 @@ module Lithic
|
|
1170
1699
|
module Result
|
1171
1700
|
extend Lithic::Internal::Type::Enum
|
1172
1701
|
|
1173
|
-
TaggedSymbol =
|
1702
|
+
TaggedSymbol =
|
1703
|
+
T.type_alias { T.all(Symbol, Lithic::Transaction::Result) }
|
1174
1704
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1175
1705
|
|
1176
1706
|
ACCOUNT_STATE_TRANSACTION_FAIL =
|
1177
|
-
T.let(
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1707
|
+
T.let(
|
1708
|
+
:ACCOUNT_STATE_TRANSACTION_FAIL,
|
1709
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1710
|
+
)
|
1711
|
+
APPROVED = T.let(:APPROVED, Lithic::Transaction::Result::TaggedSymbol)
|
1712
|
+
BANK_CONNECTION_ERROR =
|
1713
|
+
T.let(
|
1714
|
+
:BANK_CONNECTION_ERROR,
|
1715
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1716
|
+
)
|
1717
|
+
BANK_NOT_VERIFIED =
|
1718
|
+
T.let(:BANK_NOT_VERIFIED, Lithic::Transaction::Result::TaggedSymbol)
|
1719
|
+
CARD_CLOSED =
|
1720
|
+
T.let(:CARD_CLOSED, Lithic::Transaction::Result::TaggedSymbol)
|
1721
|
+
CARD_PAUSED =
|
1722
|
+
T.let(:CARD_PAUSED, Lithic::Transaction::Result::TaggedSymbol)
|
1723
|
+
DECLINED = T.let(:DECLINED, Lithic::Transaction::Result::TaggedSymbol)
|
1724
|
+
FRAUD_ADVICE =
|
1725
|
+
T.let(:FRAUD_ADVICE, Lithic::Transaction::Result::TaggedSymbol)
|
1726
|
+
IGNORED_TTL_EXPIRY =
|
1727
|
+
T.let(:IGNORED_TTL_EXPIRY, Lithic::Transaction::Result::TaggedSymbol)
|
1728
|
+
INACTIVE_ACCOUNT =
|
1729
|
+
T.let(:INACTIVE_ACCOUNT, Lithic::Transaction::Result::TaggedSymbol)
|
1730
|
+
INCORRECT_PIN =
|
1731
|
+
T.let(:INCORRECT_PIN, Lithic::Transaction::Result::TaggedSymbol)
|
1732
|
+
INVALID_CARD_DETAILS =
|
1733
|
+
T.let(
|
1734
|
+
:INVALID_CARD_DETAILS,
|
1735
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1736
|
+
)
|
1737
|
+
INSUFFICIENT_FUNDS =
|
1738
|
+
T.let(:INSUFFICIENT_FUNDS, Lithic::Transaction::Result::TaggedSymbol)
|
1190
1739
|
INSUFFICIENT_FUNDS_PRELOAD =
|
1191
|
-
T.let(
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1740
|
+
T.let(
|
1741
|
+
:INSUFFICIENT_FUNDS_PRELOAD,
|
1742
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1743
|
+
)
|
1744
|
+
INVALID_TRANSACTION =
|
1745
|
+
T.let(:INVALID_TRANSACTION, Lithic::Transaction::Result::TaggedSymbol)
|
1746
|
+
MERCHANT_BLACKLIST =
|
1747
|
+
T.let(:MERCHANT_BLACKLIST, Lithic::Transaction::Result::TaggedSymbol)
|
1748
|
+
ORIGINAL_NOT_FOUND =
|
1749
|
+
T.let(:ORIGINAL_NOT_FOUND, Lithic::Transaction::Result::TaggedSymbol)
|
1750
|
+
PREVIOUSLY_COMPLETED =
|
1751
|
+
T.let(
|
1752
|
+
:PREVIOUSLY_COMPLETED,
|
1753
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1754
|
+
)
|
1755
|
+
SINGLE_USE_RECHARGED =
|
1756
|
+
T.let(
|
1757
|
+
:SINGLE_USE_RECHARGED,
|
1758
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1759
|
+
)
|
1197
1760
|
SWITCH_INOPERATIVE_ADVICE =
|
1198
|
-
T.let(
|
1199
|
-
|
1200
|
-
|
1761
|
+
T.let(
|
1762
|
+
:SWITCH_INOPERATIVE_ADVICE,
|
1763
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1764
|
+
)
|
1765
|
+
UNAUTHORIZED_MERCHANT =
|
1766
|
+
T.let(
|
1767
|
+
:UNAUTHORIZED_MERCHANT,
|
1768
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1769
|
+
)
|
1770
|
+
UNKNOWN_HOST_TIMEOUT =
|
1771
|
+
T.let(
|
1772
|
+
:UNKNOWN_HOST_TIMEOUT,
|
1773
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1774
|
+
)
|
1201
1775
|
USER_TRANSACTION_LIMIT =
|
1202
|
-
T.let(
|
1776
|
+
T.let(
|
1777
|
+
:USER_TRANSACTION_LIMIT,
|
1778
|
+
Lithic::Transaction::Result::TaggedSymbol
|
1779
|
+
)
|
1203
1780
|
|
1204
|
-
sig
|
1205
|
-
|
1781
|
+
sig do
|
1782
|
+
override.returns(T::Array[Lithic::Transaction::Result::TaggedSymbol])
|
1783
|
+
end
|
1784
|
+
def self.values
|
1785
|
+
end
|
1206
1786
|
end
|
1207
1787
|
|
1208
1788
|
# Status of the transaction.
|
1209
1789
|
module Status
|
1210
1790
|
extend Lithic::Internal::Type::Enum
|
1211
1791
|
|
1212
|
-
TaggedSymbol =
|
1792
|
+
TaggedSymbol =
|
1793
|
+
T.type_alias { T.all(Symbol, Lithic::Transaction::Status) }
|
1213
1794
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1214
1795
|
|
1215
|
-
DECLINED = T.let(:DECLINED, Lithic::
|
1216
|
-
EXPIRED = T.let(:EXPIRED, Lithic::
|
1217
|
-
PENDING = T.let(:PENDING, Lithic::
|
1218
|
-
SETTLED = T.let(:SETTLED, Lithic::
|
1219
|
-
VOIDED = T.let(:VOIDED, Lithic::
|
1796
|
+
DECLINED = T.let(:DECLINED, Lithic::Transaction::Status::TaggedSymbol)
|
1797
|
+
EXPIRED = T.let(:EXPIRED, Lithic::Transaction::Status::TaggedSymbol)
|
1798
|
+
PENDING = T.let(:PENDING, Lithic::Transaction::Status::TaggedSymbol)
|
1799
|
+
SETTLED = T.let(:SETTLED, Lithic::Transaction::Status::TaggedSymbol)
|
1800
|
+
VOIDED = T.let(:VOIDED, Lithic::Transaction::Status::TaggedSymbol)
|
1220
1801
|
|
1221
|
-
sig
|
1222
|
-
|
1802
|
+
sig do
|
1803
|
+
override.returns(T::Array[Lithic::Transaction::Status::TaggedSymbol])
|
1804
|
+
end
|
1805
|
+
def self.values
|
1806
|
+
end
|
1223
1807
|
end
|
1224
1808
|
|
1225
1809
|
class TokenInfo < Lithic::Internal::Type::BaseModel
|
1810
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
1811
|
+
|
1226
1812
|
# The wallet_type field will indicate the source of the token. Possible token
|
1227
1813
|
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
1228
1814
|
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
1229
1815
|
# currently supported and is included for future use.
|
1230
|
-
sig
|
1816
|
+
sig do
|
1817
|
+
returns(Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol)
|
1818
|
+
end
|
1231
1819
|
attr_accessor :wallet_type
|
1232
1820
|
|
1233
1821
|
sig do
|
1234
|
-
params(
|
1822
|
+
params(
|
1823
|
+
wallet_type: Lithic::Transaction::TokenInfo::WalletType::OrSymbol
|
1824
|
+
).returns(T.attached_class)
|
1235
1825
|
end
|
1236
1826
|
def self.new(
|
1237
1827
|
# The wallet_type field will indicate the source of the token. Possible token
|
@@ -1239,9 +1829,19 @@ module Lithic
|
|
1239
1829
|
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
1240
1830
|
# currently supported and is included for future use.
|
1241
1831
|
wallet_type:
|
1242
|
-
)
|
1243
|
-
|
1244
|
-
|
1832
|
+
)
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
sig do
|
1836
|
+
override.returns(
|
1837
|
+
{
|
1838
|
+
wallet_type:
|
1839
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1840
|
+
}
|
1841
|
+
)
|
1842
|
+
end
|
1843
|
+
def to_hash
|
1844
|
+
end
|
1245
1845
|
|
1246
1846
|
# The wallet_type field will indicate the source of the token. Possible token
|
1247
1847
|
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
@@ -1250,22 +1850,56 @@ module Lithic
|
|
1250
1850
|
module WalletType
|
1251
1851
|
extend Lithic::Internal::Type::Enum
|
1252
1852
|
|
1253
|
-
TaggedSymbol =
|
1853
|
+
TaggedSymbol =
|
1854
|
+
T.type_alias do
|
1855
|
+
T.all(Symbol, Lithic::Transaction::TokenInfo::WalletType)
|
1856
|
+
end
|
1254
1857
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1255
1858
|
|
1256
|
-
APPLE_PAY =
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1859
|
+
APPLE_PAY =
|
1860
|
+
T.let(
|
1861
|
+
:APPLE_PAY,
|
1862
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1863
|
+
)
|
1864
|
+
GOOGLE_PAY =
|
1865
|
+
T.let(
|
1866
|
+
:GOOGLE_PAY,
|
1867
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1868
|
+
)
|
1869
|
+
MASTERPASS =
|
1870
|
+
T.let(
|
1871
|
+
:MASTERPASS,
|
1872
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1873
|
+
)
|
1874
|
+
MERCHANT =
|
1875
|
+
T.let(
|
1876
|
+
:MERCHANT,
|
1877
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1878
|
+
)
|
1879
|
+
OTHER =
|
1880
|
+
T.let(
|
1881
|
+
:OTHER,
|
1882
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1883
|
+
)
|
1884
|
+
SAMSUNG_PAY =
|
1885
|
+
T.let(
|
1886
|
+
:SAMSUNG_PAY,
|
1887
|
+
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
1888
|
+
)
|
1262
1889
|
|
1263
|
-
sig
|
1264
|
-
|
1890
|
+
sig do
|
1891
|
+
override.returns(
|
1892
|
+
T::Array[Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol]
|
1893
|
+
)
|
1894
|
+
end
|
1895
|
+
def self.values
|
1896
|
+
end
|
1265
1897
|
end
|
1266
1898
|
end
|
1267
1899
|
|
1268
1900
|
class Event < Lithic::Internal::Type::BaseModel
|
1901
|
+
OrHash = T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
1902
|
+
|
1269
1903
|
# Transaction event identifier.
|
1270
1904
|
sig { returns(String) }
|
1271
1905
|
attr_accessor :token
|
@@ -1274,21 +1908,29 @@ module Lithic
|
|
1274
1908
|
sig { returns(Integer) }
|
1275
1909
|
attr_accessor :amount
|
1276
1910
|
|
1277
|
-
sig { returns(Lithic::
|
1911
|
+
sig { returns(Lithic::Transaction::Event::Amounts) }
|
1278
1912
|
attr_reader :amounts
|
1279
1913
|
|
1280
|
-
sig
|
1914
|
+
sig do
|
1915
|
+
params(amounts: Lithic::Transaction::Event::Amounts::OrHash).void
|
1916
|
+
end
|
1281
1917
|
attr_writer :amounts
|
1282
1918
|
|
1283
1919
|
# RFC 3339 date and time this event entered the system. UTC time zone.
|
1284
1920
|
sig { returns(Time) }
|
1285
1921
|
attr_accessor :created
|
1286
1922
|
|
1287
|
-
sig
|
1923
|
+
sig do
|
1924
|
+
returns(
|
1925
|
+
T::Array[Lithic::Transaction::Event::DetailedResult::TaggedSymbol]
|
1926
|
+
)
|
1927
|
+
end
|
1288
1928
|
attr_accessor :detailed_results
|
1289
1929
|
|
1290
1930
|
# Indicates whether the transaction event is a credit or debit to the account.
|
1291
|
-
sig
|
1931
|
+
sig do
|
1932
|
+
returns(Lithic::Transaction::Event::EffectivePolarity::TaggedSymbol)
|
1933
|
+
end
|
1292
1934
|
attr_accessor :effective_polarity
|
1293
1935
|
|
1294
1936
|
# Information provided by the card network in each event. This includes common
|
@@ -1300,35 +1942,37 @@ module Lithic
|
|
1300
1942
|
# type. If the field is populated by the network, we will pass it through as is
|
1301
1943
|
# unless otherwise specified. Please consult the official network documentation
|
1302
1944
|
# for more details about these fields and how to use them.
|
1303
|
-
sig { returns(T.nilable(Lithic::
|
1945
|
+
sig { returns(T.nilable(Lithic::Transaction::Event::NetworkInfo)) }
|
1304
1946
|
attr_reader :network_info
|
1305
1947
|
|
1306
1948
|
sig do
|
1307
1949
|
params(
|
1308
|
-
network_info:
|
1309
|
-
|
1310
|
-
|
1950
|
+
network_info:
|
1951
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::OrHash)
|
1952
|
+
).void
|
1311
1953
|
end
|
1312
1954
|
attr_writer :network_info
|
1313
1955
|
|
1314
|
-
sig { returns(Lithic::
|
1956
|
+
sig { returns(Lithic::Transaction::Event::Result::TaggedSymbol) }
|
1315
1957
|
attr_accessor :result
|
1316
1958
|
|
1317
|
-
sig { returns(T::Array[Lithic::
|
1959
|
+
sig { returns(T::Array[Lithic::Transaction::Event::RuleResult]) }
|
1318
1960
|
attr_accessor :rule_results
|
1319
1961
|
|
1320
1962
|
# Type of transaction event
|
1321
|
-
sig { returns(Lithic::
|
1963
|
+
sig { returns(Lithic::Transaction::Event::Type::TaggedSymbol) }
|
1322
1964
|
attr_accessor :type
|
1323
1965
|
|
1324
|
-
sig
|
1966
|
+
sig do
|
1967
|
+
returns(T.nilable(Lithic::Transaction::Event::NetworkSpecificData))
|
1968
|
+
end
|
1325
1969
|
attr_reader :network_specific_data
|
1326
1970
|
|
1327
1971
|
sig do
|
1328
1972
|
params(
|
1329
|
-
network_specific_data:
|
1330
|
-
|
1331
|
-
|
1973
|
+
network_specific_data:
|
1974
|
+
Lithic::Transaction::Event::NetworkSpecificData::OrHash
|
1975
|
+
).void
|
1332
1976
|
end
|
1333
1977
|
attr_writer :network_specific_data
|
1334
1978
|
|
@@ -1336,17 +1980,21 @@ module Lithic
|
|
1336
1980
|
params(
|
1337
1981
|
token: String,
|
1338
1982
|
amount: Integer,
|
1339
|
-
amounts:
|
1983
|
+
amounts: Lithic::Transaction::Event::Amounts::OrHash,
|
1340
1984
|
created: Time,
|
1341
|
-
detailed_results:
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1985
|
+
detailed_results:
|
1986
|
+
T::Array[Lithic::Transaction::Event::DetailedResult::OrSymbol],
|
1987
|
+
effective_polarity:
|
1988
|
+
Lithic::Transaction::Event::EffectivePolarity::OrSymbol,
|
1989
|
+
network_info:
|
1990
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::OrHash),
|
1991
|
+
result: Lithic::Transaction::Event::Result::OrSymbol,
|
1992
|
+
rule_results:
|
1993
|
+
T::Array[Lithic::Transaction::Event::RuleResult::OrHash],
|
1994
|
+
type: Lithic::Transaction::Event::Type::OrSymbol,
|
1995
|
+
network_specific_data:
|
1996
|
+
Lithic::Transaction::Event::NetworkSpecificData::OrHash
|
1997
|
+
).returns(T.attached_class)
|
1350
1998
|
end
|
1351
1999
|
def self.new(
|
1352
2000
|
# Transaction event identifier.
|
@@ -1374,82 +2022,105 @@ module Lithic
|
|
1374
2022
|
# Type of transaction event
|
1375
2023
|
type:,
|
1376
2024
|
network_specific_data: nil
|
1377
|
-
)
|
2025
|
+
)
|
2026
|
+
end
|
2027
|
+
|
1378
2028
|
sig do
|
1379
|
-
override
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
2029
|
+
override.returns(
|
2030
|
+
{
|
2031
|
+
token: String,
|
2032
|
+
amount: Integer,
|
2033
|
+
amounts: Lithic::Transaction::Event::Amounts,
|
2034
|
+
created: Time,
|
2035
|
+
detailed_results:
|
2036
|
+
T::Array[
|
2037
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2038
|
+
],
|
2039
|
+
effective_polarity:
|
2040
|
+
Lithic::Transaction::Event::EffectivePolarity::TaggedSymbol,
|
2041
|
+
network_info: T.nilable(Lithic::Transaction::Event::NetworkInfo),
|
2042
|
+
result: Lithic::Transaction::Event::Result::TaggedSymbol,
|
2043
|
+
rule_results: T::Array[Lithic::Transaction::Event::RuleResult],
|
2044
|
+
type: Lithic::Transaction::Event::Type::TaggedSymbol,
|
2045
|
+
network_specific_data:
|
2046
|
+
Lithic::Transaction::Event::NetworkSpecificData
|
2047
|
+
}
|
2048
|
+
)
|
2049
|
+
end
|
2050
|
+
def to_hash
|
1395
2051
|
end
|
1396
|
-
def to_hash; end
|
1397
2052
|
|
1398
2053
|
class Amounts < Lithic::Internal::Type::BaseModel
|
1399
|
-
|
2054
|
+
OrHash =
|
2055
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2056
|
+
|
2057
|
+
sig { returns(Lithic::Transaction::Event::Amounts::Cardholder) }
|
1400
2058
|
attr_reader :cardholder
|
1401
2059
|
|
1402
2060
|
sig do
|
1403
2061
|
params(
|
1404
|
-
cardholder:
|
1405
|
-
|
1406
|
-
|
2062
|
+
cardholder:
|
2063
|
+
Lithic::Transaction::Event::Amounts::Cardholder::OrHash
|
2064
|
+
).void
|
1407
2065
|
end
|
1408
2066
|
attr_writer :cardholder
|
1409
2067
|
|
1410
|
-
sig { returns(Lithic::
|
2068
|
+
sig { returns(Lithic::Transaction::Event::Amounts::Merchant) }
|
1411
2069
|
attr_reader :merchant
|
1412
2070
|
|
1413
2071
|
sig do
|
1414
|
-
params(
|
1415
|
-
|
2072
|
+
params(
|
2073
|
+
merchant: Lithic::Transaction::Event::Amounts::Merchant::OrHash
|
2074
|
+
).void
|
1416
2075
|
end
|
1417
2076
|
attr_writer :merchant
|
1418
2077
|
|
1419
|
-
sig
|
2078
|
+
sig do
|
2079
|
+
returns(T.nilable(Lithic::Transaction::Event::Amounts::Settlement))
|
2080
|
+
end
|
1420
2081
|
attr_reader :settlement
|
1421
2082
|
|
1422
2083
|
sig do
|
1423
2084
|
params(
|
1424
|
-
settlement:
|
1425
|
-
|
1426
|
-
|
2085
|
+
settlement:
|
2086
|
+
T.nilable(
|
2087
|
+
Lithic::Transaction::Event::Amounts::Settlement::OrHash
|
2088
|
+
)
|
2089
|
+
).void
|
1427
2090
|
end
|
1428
2091
|
attr_writer :settlement
|
1429
2092
|
|
1430
2093
|
sig do
|
1431
2094
|
params(
|
1432
|
-
cardholder:
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
2095
|
+
cardholder:
|
2096
|
+
Lithic::Transaction::Event::Amounts::Cardholder::OrHash,
|
2097
|
+
merchant: Lithic::Transaction::Event::Amounts::Merchant::OrHash,
|
2098
|
+
settlement:
|
2099
|
+
T.nilable(
|
2100
|
+
Lithic::Transaction::Event::Amounts::Settlement::OrHash
|
2101
|
+
)
|
2102
|
+
).returns(T.attached_class)
|
2103
|
+
end
|
2104
|
+
def self.new(cardholder:, merchant:, settlement:)
|
1437
2105
|
end
|
1438
|
-
def self.new(cardholder:, merchant:, settlement:); end
|
1439
2106
|
|
1440
2107
|
sig do
|
1441
|
-
override
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
2108
|
+
override.returns(
|
2109
|
+
{
|
2110
|
+
cardholder: Lithic::Transaction::Event::Amounts::Cardholder,
|
2111
|
+
merchant: Lithic::Transaction::Event::Amounts::Merchant,
|
2112
|
+
settlement:
|
2113
|
+
T.nilable(Lithic::Transaction::Event::Amounts::Settlement)
|
2114
|
+
}
|
2115
|
+
)
|
2116
|
+
end
|
2117
|
+
def to_hash
|
1449
2118
|
end
|
1450
|
-
def to_hash; end
|
1451
2119
|
|
1452
2120
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
2121
|
+
OrHash =
|
2122
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2123
|
+
|
1453
2124
|
# Amount of the event in the cardholder billing currency.
|
1454
2125
|
sig { returns(Integer) }
|
1455
2126
|
attr_accessor :amount
|
@@ -1464,7 +2135,11 @@ module Lithic
|
|
1464
2135
|
attr_accessor :currency
|
1465
2136
|
|
1466
2137
|
sig do
|
1467
|
-
params(
|
2138
|
+
params(
|
2139
|
+
amount: Integer,
|
2140
|
+
conversion_rate: String,
|
2141
|
+
currency: String
|
2142
|
+
).returns(T.attached_class)
|
1468
2143
|
end
|
1469
2144
|
def self.new(
|
1470
2145
|
# Amount of the event in the cardholder billing currency.
|
@@ -1474,12 +2149,22 @@ module Lithic
|
|
1474
2149
|
conversion_rate:,
|
1475
2150
|
# 3-character alphabetic ISO 4217 currency
|
1476
2151
|
currency:
|
1477
|
-
)
|
1478
|
-
|
1479
|
-
|
2152
|
+
)
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
sig do
|
2156
|
+
override.returns(
|
2157
|
+
{ amount: Integer, conversion_rate: String, currency: String }
|
2158
|
+
)
|
2159
|
+
end
|
2160
|
+
def to_hash
|
2161
|
+
end
|
1480
2162
|
end
|
1481
2163
|
|
1482
2164
|
class Merchant < Lithic::Internal::Type::BaseModel
|
2165
|
+
OrHash =
|
2166
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2167
|
+
|
1483
2168
|
# Amount of the event in the merchant currency.
|
1484
2169
|
sig { returns(Integer) }
|
1485
2170
|
attr_accessor :amount
|
@@ -1488,18 +2173,28 @@ module Lithic
|
|
1488
2173
|
sig { returns(String) }
|
1489
2174
|
attr_accessor :currency
|
1490
2175
|
|
1491
|
-
sig
|
2176
|
+
sig do
|
2177
|
+
params(amount: Integer, currency: String).returns(
|
2178
|
+
T.attached_class
|
2179
|
+
)
|
2180
|
+
end
|
1492
2181
|
def self.new(
|
1493
2182
|
# Amount of the event in the merchant currency.
|
1494
2183
|
amount:,
|
1495
2184
|
# 3-character alphabetic ISO 4217 currency
|
1496
2185
|
currency:
|
1497
|
-
)
|
1498
|
-
|
1499
|
-
|
2186
|
+
)
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
sig { override.returns({ amount: Integer, currency: String }) }
|
2190
|
+
def to_hash
|
2191
|
+
end
|
1500
2192
|
end
|
1501
2193
|
|
1502
2194
|
class Settlement < Lithic::Internal::Type::BaseModel
|
2195
|
+
OrHash =
|
2196
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2197
|
+
|
1503
2198
|
# Amount of the event, if it is financial, in the settlement currency.
|
1504
2199
|
# Non-financial events do not contain this amount because they do not move funds.
|
1505
2200
|
sig { returns(Integer) }
|
@@ -1514,7 +2209,11 @@ module Lithic
|
|
1514
2209
|
attr_accessor :currency
|
1515
2210
|
|
1516
2211
|
sig do
|
1517
|
-
params(
|
2212
|
+
params(
|
2213
|
+
amount: Integer,
|
2214
|
+
conversion_rate: String,
|
2215
|
+
currency: String
|
2216
|
+
).returns(T.attached_class)
|
1518
2217
|
end
|
1519
2218
|
def self.new(
|
1520
2219
|
# Amount of the event, if it is financial, in the settlement currency.
|
@@ -1524,190 +2223,378 @@ module Lithic
|
|
1524
2223
|
conversion_rate:,
|
1525
2224
|
# 3-character alphabetic ISO 4217 currency
|
1526
2225
|
currency:
|
1527
|
-
)
|
1528
|
-
|
1529
|
-
|
2226
|
+
)
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
sig do
|
2230
|
+
override.returns(
|
2231
|
+
{ amount: Integer, conversion_rate: String, currency: String }
|
2232
|
+
)
|
2233
|
+
end
|
2234
|
+
def to_hash
|
2235
|
+
end
|
1530
2236
|
end
|
1531
2237
|
end
|
1532
2238
|
|
1533
2239
|
module DetailedResult
|
1534
2240
|
extend Lithic::Internal::Type::Enum
|
1535
2241
|
|
1536
|
-
TaggedSymbol =
|
2242
|
+
TaggedSymbol =
|
2243
|
+
T.type_alias do
|
2244
|
+
T.all(Symbol, Lithic::Transaction::Event::DetailedResult)
|
2245
|
+
end
|
1537
2246
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1538
2247
|
|
1539
2248
|
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED =
|
1540
2249
|
T.let(
|
1541
2250
|
:ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED,
|
1542
|
-
Lithic::
|
2251
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1543
2252
|
)
|
1544
2253
|
ACCOUNT_DELINQUENT =
|
1545
|
-
T.let(
|
2254
|
+
T.let(
|
2255
|
+
:ACCOUNT_DELINQUENT,
|
2256
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2257
|
+
)
|
1546
2258
|
ACCOUNT_INACTIVE =
|
1547
|
-
T.let(
|
2259
|
+
T.let(
|
2260
|
+
:ACCOUNT_INACTIVE,
|
2261
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2262
|
+
)
|
1548
2263
|
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED =
|
1549
2264
|
T.let(
|
1550
2265
|
:ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED,
|
1551
|
-
Lithic::
|
2266
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1552
2267
|
)
|
1553
2268
|
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED =
|
1554
2269
|
T.let(
|
1555
2270
|
:ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED,
|
1556
|
-
Lithic::
|
2271
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1557
2272
|
)
|
1558
2273
|
ACCOUNT_UNDER_REVIEW =
|
1559
|
-
T.let(
|
2274
|
+
T.let(
|
2275
|
+
:ACCOUNT_UNDER_REVIEW,
|
2276
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2277
|
+
)
|
1560
2278
|
ADDRESS_INCORRECT =
|
1561
|
-
T.let(
|
1562
|
-
|
2279
|
+
T.let(
|
2280
|
+
:ADDRESS_INCORRECT,
|
2281
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2282
|
+
)
|
2283
|
+
APPROVED =
|
2284
|
+
T.let(
|
2285
|
+
:APPROVED,
|
2286
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2287
|
+
)
|
1563
2288
|
AUTH_RULE_ALLOWED_COUNTRY =
|
1564
|
-
T.let(
|
2289
|
+
T.let(
|
2290
|
+
:AUTH_RULE_ALLOWED_COUNTRY,
|
2291
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2292
|
+
)
|
1565
2293
|
AUTH_RULE_ALLOWED_MCC =
|
1566
|
-
T.let(
|
2294
|
+
T.let(
|
2295
|
+
:AUTH_RULE_ALLOWED_MCC,
|
2296
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2297
|
+
)
|
1567
2298
|
AUTH_RULE_BLOCKED_COUNTRY =
|
1568
|
-
T.let(
|
2299
|
+
T.let(
|
2300
|
+
:AUTH_RULE_BLOCKED_COUNTRY,
|
2301
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2302
|
+
)
|
1569
2303
|
AUTH_RULE_BLOCKED_MCC =
|
1570
|
-
T.let(
|
1571
|
-
|
2304
|
+
T.let(
|
2305
|
+
:AUTH_RULE_BLOCKED_MCC,
|
2306
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2307
|
+
)
|
2308
|
+
CARD_CLOSED =
|
2309
|
+
T.let(
|
2310
|
+
:CARD_CLOSED,
|
2311
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2312
|
+
)
|
1572
2313
|
CARD_CRYPTOGRAM_VALIDATION_FAILURE =
|
1573
2314
|
T.let(
|
1574
2315
|
:CARD_CRYPTOGRAM_VALIDATION_FAILURE,
|
1575
|
-
Lithic::
|
2316
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2317
|
+
)
|
2318
|
+
CARD_EXPIRED =
|
2319
|
+
T.let(
|
2320
|
+
:CARD_EXPIRED,
|
2321
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1576
2322
|
)
|
1577
|
-
CARD_EXPIRED = T.let(:CARD_EXPIRED, Lithic::Models::Transaction::Event::DetailedResult::TaggedSymbol)
|
1578
2323
|
CARD_EXPIRY_DATE_INCORRECT =
|
1579
|
-
T.let(
|
1580
|
-
|
2324
|
+
T.let(
|
2325
|
+
:CARD_EXPIRY_DATE_INCORRECT,
|
2326
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2327
|
+
)
|
2328
|
+
CARD_INVALID =
|
2329
|
+
T.let(
|
2330
|
+
:CARD_INVALID,
|
2331
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2332
|
+
)
|
1581
2333
|
CARD_NOT_ACTIVATED =
|
1582
|
-
T.let(
|
1583
|
-
|
2334
|
+
T.let(
|
2335
|
+
:CARD_NOT_ACTIVATED,
|
2336
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2337
|
+
)
|
2338
|
+
CARD_PAUSED =
|
2339
|
+
T.let(
|
2340
|
+
:CARD_PAUSED,
|
2341
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2342
|
+
)
|
1584
2343
|
CARD_PIN_INCORRECT =
|
1585
|
-
T.let(
|
2344
|
+
T.let(
|
2345
|
+
:CARD_PIN_INCORRECT,
|
2346
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2347
|
+
)
|
1586
2348
|
CARD_RESTRICTED =
|
1587
|
-
T.let(
|
2349
|
+
T.let(
|
2350
|
+
:CARD_RESTRICTED,
|
2351
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2352
|
+
)
|
1588
2353
|
CARD_SECURITY_CODE_INCORRECT =
|
1589
|
-
T.let(
|
2354
|
+
T.let(
|
2355
|
+
:CARD_SECURITY_CODE_INCORRECT,
|
2356
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2357
|
+
)
|
1590
2358
|
CARD_SPEND_LIMIT_EXCEEDED =
|
1591
|
-
T.let(
|
2359
|
+
T.let(
|
2360
|
+
:CARD_SPEND_LIMIT_EXCEEDED,
|
2361
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2362
|
+
)
|
1592
2363
|
CONTACT_CARD_ISSUER =
|
1593
|
-
T.let(
|
2364
|
+
T.let(
|
2365
|
+
:CONTACT_CARD_ISSUER,
|
2366
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2367
|
+
)
|
1594
2368
|
CUSTOMER_ASA_TIMEOUT =
|
1595
|
-
T.let(
|
2369
|
+
T.let(
|
2370
|
+
:CUSTOMER_ASA_TIMEOUT,
|
2371
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2372
|
+
)
|
1596
2373
|
CUSTOM_ASA_RESULT =
|
1597
|
-
T.let(
|
1598
|
-
|
1599
|
-
|
2374
|
+
T.let(
|
2375
|
+
:CUSTOM_ASA_RESULT,
|
2376
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2377
|
+
)
|
2378
|
+
DECLINED =
|
2379
|
+
T.let(
|
2380
|
+
:DECLINED,
|
2381
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2382
|
+
)
|
2383
|
+
DO_NOT_HONOR =
|
2384
|
+
T.let(
|
2385
|
+
:DO_NOT_HONOR,
|
2386
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2387
|
+
)
|
1600
2388
|
DRIVER_NUMBER_INVALID =
|
1601
|
-
T.let(
|
1602
|
-
|
2389
|
+
T.let(
|
2390
|
+
:DRIVER_NUMBER_INVALID,
|
2391
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2392
|
+
)
|
2393
|
+
FORMAT_ERROR =
|
2394
|
+
T.let(
|
2395
|
+
:FORMAT_ERROR,
|
2396
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2397
|
+
)
|
1603
2398
|
INSUFFICIENT_FUNDING_SOURCE_BALANCE =
|
1604
2399
|
T.let(
|
1605
2400
|
:INSUFFICIENT_FUNDING_SOURCE_BALANCE,
|
1606
|
-
Lithic::
|
2401
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1607
2402
|
)
|
1608
2403
|
INSUFFICIENT_FUNDS =
|
1609
|
-
T.let(
|
2404
|
+
T.let(
|
2405
|
+
:INSUFFICIENT_FUNDS,
|
2406
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2407
|
+
)
|
1610
2408
|
LITHIC_SYSTEM_ERROR =
|
1611
|
-
T.let(
|
2409
|
+
T.let(
|
2410
|
+
:LITHIC_SYSTEM_ERROR,
|
2411
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2412
|
+
)
|
1612
2413
|
LITHIC_SYSTEM_RATE_LIMIT =
|
1613
|
-
T.let(
|
2414
|
+
T.let(
|
2415
|
+
:LITHIC_SYSTEM_RATE_LIMIT,
|
2416
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2417
|
+
)
|
1614
2418
|
MALFORMED_ASA_RESPONSE =
|
1615
|
-
T.let(
|
2419
|
+
T.let(
|
2420
|
+
:MALFORMED_ASA_RESPONSE,
|
2421
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2422
|
+
)
|
1616
2423
|
MERCHANT_INVALID =
|
1617
|
-
T.let(
|
2424
|
+
T.let(
|
2425
|
+
:MERCHANT_INVALID,
|
2426
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2427
|
+
)
|
1618
2428
|
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE =
|
1619
2429
|
T.let(
|
1620
2430
|
:MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE,
|
1621
|
-
Lithic::
|
2431
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1622
2432
|
)
|
1623
2433
|
MERCHANT_NOT_PERMITTED =
|
1624
|
-
T.let(
|
2434
|
+
T.let(
|
2435
|
+
:MERCHANT_NOT_PERMITTED,
|
2436
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2437
|
+
)
|
1625
2438
|
OVER_REVERSAL_ATTEMPTED =
|
1626
|
-
T.let(
|
1627
|
-
|
2439
|
+
T.let(
|
2440
|
+
:OVER_REVERSAL_ATTEMPTED,
|
2441
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2442
|
+
)
|
2443
|
+
PIN_BLOCKED =
|
2444
|
+
T.let(
|
2445
|
+
:PIN_BLOCKED,
|
2446
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2447
|
+
)
|
1628
2448
|
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED =
|
1629
2449
|
T.let(
|
1630
2450
|
:PROGRAM_CARD_SPEND_LIMIT_EXCEEDED,
|
1631
|
-
Lithic::
|
2451
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1632
2452
|
)
|
1633
2453
|
PROGRAM_SUSPENDED =
|
1634
|
-
T.let(
|
2454
|
+
T.let(
|
2455
|
+
:PROGRAM_SUSPENDED,
|
2456
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2457
|
+
)
|
1635
2458
|
PROGRAM_USAGE_RESTRICTION =
|
1636
|
-
T.let(
|
2459
|
+
T.let(
|
2460
|
+
:PROGRAM_USAGE_RESTRICTION,
|
2461
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2462
|
+
)
|
1637
2463
|
REVERSAL_UNMATCHED =
|
1638
|
-
T.let(
|
2464
|
+
T.let(
|
2465
|
+
:REVERSAL_UNMATCHED,
|
2466
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2467
|
+
)
|
1639
2468
|
SECURITY_VIOLATION =
|
1640
|
-
T.let(
|
2469
|
+
T.let(
|
2470
|
+
:SECURITY_VIOLATION,
|
2471
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2472
|
+
)
|
1641
2473
|
SINGLE_USE_CARD_REATTEMPTED =
|
1642
|
-
T.let(
|
2474
|
+
T.let(
|
2475
|
+
:SINGLE_USE_CARD_REATTEMPTED,
|
2476
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2477
|
+
)
|
1643
2478
|
TRANSACTION_INVALID =
|
1644
|
-
T.let(
|
2479
|
+
T.let(
|
2480
|
+
:TRANSACTION_INVALID,
|
2481
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2482
|
+
)
|
1645
2483
|
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL =
|
1646
2484
|
T.let(
|
1647
2485
|
:TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL,
|
1648
|
-
Lithic::
|
2486
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1649
2487
|
)
|
1650
2488
|
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER =
|
1651
2489
|
T.let(
|
1652
2490
|
:TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER,
|
1653
|
-
Lithic::
|
2491
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
1654
2492
|
)
|
1655
2493
|
TRANSACTION_PREVIOUSLY_COMPLETED =
|
1656
|
-
T.let(
|
2494
|
+
T.let(
|
2495
|
+
:TRANSACTION_PREVIOUSLY_COMPLETED,
|
2496
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2497
|
+
)
|
1657
2498
|
UNAUTHORIZED_MERCHANT =
|
1658
|
-
T.let(
|
2499
|
+
T.let(
|
2500
|
+
:UNAUTHORIZED_MERCHANT,
|
2501
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2502
|
+
)
|
1659
2503
|
VEHICLE_NUMBER_INVALID =
|
1660
|
-
T.let(
|
2504
|
+
T.let(
|
2505
|
+
:VEHICLE_NUMBER_INVALID,
|
2506
|
+
Lithic::Transaction::Event::DetailedResult::TaggedSymbol
|
2507
|
+
)
|
1661
2508
|
|
1662
|
-
sig
|
1663
|
-
|
2509
|
+
sig do
|
2510
|
+
override.returns(
|
2511
|
+
T::Array[Lithic::Transaction::Event::DetailedResult::TaggedSymbol]
|
2512
|
+
)
|
2513
|
+
end
|
2514
|
+
def self.values
|
2515
|
+
end
|
1664
2516
|
end
|
1665
2517
|
|
1666
2518
|
# Indicates whether the transaction event is a credit or debit to the account.
|
1667
2519
|
module EffectivePolarity
|
1668
2520
|
extend Lithic::Internal::Type::Enum
|
1669
2521
|
|
1670
|
-
TaggedSymbol =
|
2522
|
+
TaggedSymbol =
|
2523
|
+
T.type_alias do
|
2524
|
+
T.all(Symbol, Lithic::Transaction::Event::EffectivePolarity)
|
2525
|
+
end
|
1671
2526
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1672
2527
|
|
1673
|
-
CREDIT =
|
1674
|
-
|
2528
|
+
CREDIT =
|
2529
|
+
T.let(
|
2530
|
+
:CREDIT,
|
2531
|
+
Lithic::Transaction::Event::EffectivePolarity::TaggedSymbol
|
2532
|
+
)
|
2533
|
+
DEBIT =
|
2534
|
+
T.let(
|
2535
|
+
:DEBIT,
|
2536
|
+
Lithic::Transaction::Event::EffectivePolarity::TaggedSymbol
|
2537
|
+
)
|
1675
2538
|
|
1676
|
-
sig
|
1677
|
-
|
2539
|
+
sig do
|
2540
|
+
override.returns(
|
2541
|
+
T::Array[
|
2542
|
+
Lithic::Transaction::Event::EffectivePolarity::TaggedSymbol
|
2543
|
+
]
|
2544
|
+
)
|
2545
|
+
end
|
2546
|
+
def self.values
|
2547
|
+
end
|
1678
2548
|
end
|
1679
2549
|
|
1680
2550
|
class NetworkInfo < Lithic::Internal::Type::BaseModel
|
1681
|
-
|
2551
|
+
OrHash =
|
2552
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2553
|
+
|
2554
|
+
sig do
|
2555
|
+
returns(
|
2556
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::Acquirer)
|
2557
|
+
)
|
2558
|
+
end
|
1682
2559
|
attr_reader :acquirer
|
1683
2560
|
|
1684
2561
|
sig do
|
1685
2562
|
params(
|
1686
|
-
acquirer:
|
1687
|
-
|
1688
|
-
|
2563
|
+
acquirer:
|
2564
|
+
T.nilable(
|
2565
|
+
Lithic::Transaction::Event::NetworkInfo::Acquirer::OrHash
|
2566
|
+
)
|
2567
|
+
).void
|
1689
2568
|
end
|
1690
2569
|
attr_writer :acquirer
|
1691
2570
|
|
1692
|
-
sig
|
2571
|
+
sig do
|
2572
|
+
returns(
|
2573
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::Mastercard)
|
2574
|
+
)
|
2575
|
+
end
|
1693
2576
|
attr_reader :mastercard
|
1694
2577
|
|
1695
2578
|
sig do
|
1696
2579
|
params(
|
1697
|
-
mastercard:
|
1698
|
-
|
1699
|
-
|
2580
|
+
mastercard:
|
2581
|
+
T.nilable(
|
2582
|
+
Lithic::Transaction::Event::NetworkInfo::Mastercard::OrHash
|
2583
|
+
)
|
2584
|
+
).void
|
1700
2585
|
end
|
1701
2586
|
attr_writer :mastercard
|
1702
2587
|
|
1703
|
-
sig
|
2588
|
+
sig do
|
2589
|
+
returns(T.nilable(Lithic::Transaction::Event::NetworkInfo::Visa))
|
2590
|
+
end
|
1704
2591
|
attr_reader :visa
|
1705
2592
|
|
1706
2593
|
sig do
|
1707
2594
|
params(
|
1708
|
-
visa:
|
1709
|
-
|
1710
|
-
|
2595
|
+
visa:
|
2596
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::Visa::OrHash)
|
2597
|
+
).void
|
1711
2598
|
end
|
1712
2599
|
attr_writer :visa
|
1713
2600
|
|
@@ -1722,27 +2609,41 @@ module Lithic
|
|
1722
2609
|
# for more details about these fields and how to use them.
|
1723
2610
|
sig do
|
1724
2611
|
params(
|
1725
|
-
acquirer:
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
2612
|
+
acquirer:
|
2613
|
+
T.nilable(
|
2614
|
+
Lithic::Transaction::Event::NetworkInfo::Acquirer::OrHash
|
2615
|
+
),
|
2616
|
+
mastercard:
|
2617
|
+
T.nilable(
|
2618
|
+
Lithic::Transaction::Event::NetworkInfo::Mastercard::OrHash
|
2619
|
+
),
|
2620
|
+
visa:
|
2621
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::Visa::OrHash)
|
2622
|
+
).returns(T.attached_class)
|
2623
|
+
end
|
2624
|
+
def self.new(acquirer:, mastercard:, visa:)
|
1730
2625
|
end
|
1731
|
-
def self.new(acquirer:, mastercard:, visa:); end
|
1732
2626
|
|
1733
2627
|
sig do
|
1734
|
-
override
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
2628
|
+
override.returns(
|
2629
|
+
{
|
2630
|
+
acquirer:
|
2631
|
+
T.nilable(Lithic::Transaction::Event::NetworkInfo::Acquirer),
|
2632
|
+
mastercard:
|
2633
|
+
T.nilable(
|
2634
|
+
Lithic::Transaction::Event::NetworkInfo::Mastercard
|
2635
|
+
),
|
2636
|
+
visa: T.nilable(Lithic::Transaction::Event::NetworkInfo::Visa)
|
2637
|
+
}
|
2638
|
+
)
|
2639
|
+
end
|
2640
|
+
def to_hash
|
1742
2641
|
end
|
1743
|
-
def to_hash; end
|
1744
2642
|
|
1745
2643
|
class Acquirer < Lithic::Internal::Type::BaseModel
|
2644
|
+
OrHash =
|
2645
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2646
|
+
|
1746
2647
|
# Identifier assigned by the acquirer, applicable to dual-message transactions
|
1747
2648
|
# only. The acquirer reference number (ARN) is only populated once a transaction
|
1748
2649
|
# has been cleared, and it is not available in all transactions (such as automated
|
@@ -1759,8 +2660,7 @@ module Lithic
|
|
1759
2660
|
params(
|
1760
2661
|
acquirer_reference_number: T.nilable(String),
|
1761
2662
|
retrieval_reference_number: T.nilable(String)
|
1762
|
-
)
|
1763
|
-
.returns(T.attached_class)
|
2663
|
+
).returns(T.attached_class)
|
1764
2664
|
end
|
1765
2665
|
def self.new(
|
1766
2666
|
# Identifier assigned by the acquirer, applicable to dual-message transactions
|
@@ -1771,18 +2671,25 @@ module Lithic
|
|
1771
2671
|
acquirer_reference_number:,
|
1772
2672
|
# Identifier assigned by the acquirer.
|
1773
2673
|
retrieval_reference_number:
|
1774
|
-
)
|
2674
|
+
)
|
2675
|
+
end
|
2676
|
+
|
1775
2677
|
sig do
|
1776
|
-
override
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
2678
|
+
override.returns(
|
2679
|
+
{
|
2680
|
+
acquirer_reference_number: T.nilable(String),
|
2681
|
+
retrieval_reference_number: T.nilable(String)
|
2682
|
+
}
|
2683
|
+
)
|
2684
|
+
end
|
2685
|
+
def to_hash
|
1781
2686
|
end
|
1782
|
-
def to_hash; end
|
1783
2687
|
end
|
1784
2688
|
|
1785
2689
|
class Mastercard < Lithic::Internal::Type::BaseModel
|
2690
|
+
OrHash =
|
2691
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2692
|
+
|
1786
2693
|
# Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any
|
1787
2694
|
# transaction within a specific financial network on any processing day.
|
1788
2695
|
sig { returns(T.nilable(String)) }
|
@@ -1819,8 +2726,7 @@ module Lithic
|
|
1819
2726
|
original_banknet_reference_number: T.nilable(String),
|
1820
2727
|
original_switch_serial_number: T.nilable(String),
|
1821
2728
|
switch_serial_number: T.nilable(String)
|
1822
|
-
)
|
1823
|
-
.returns(T.attached_class)
|
2729
|
+
).returns(T.attached_class)
|
1824
2730
|
end
|
1825
2731
|
def self.new(
|
1826
2732
|
# Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any
|
@@ -1845,22 +2751,27 @@ module Lithic
|
|
1845
2751
|
# Identifier assigned by Mastercard, applicable to single-message transactions
|
1846
2752
|
# only.
|
1847
2753
|
switch_serial_number:
|
1848
|
-
)
|
2754
|
+
)
|
2755
|
+
end
|
2756
|
+
|
1849
2757
|
sig do
|
1850
|
-
override
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
2758
|
+
override.returns(
|
2759
|
+
{
|
2760
|
+
banknet_reference_number: T.nilable(String),
|
2761
|
+
original_banknet_reference_number: T.nilable(String),
|
2762
|
+
original_switch_serial_number: T.nilable(String),
|
2763
|
+
switch_serial_number: T.nilable(String)
|
2764
|
+
}
|
2765
|
+
)
|
2766
|
+
end
|
2767
|
+
def to_hash
|
1859
2768
|
end
|
1860
|
-
def to_hash; end
|
1861
2769
|
end
|
1862
2770
|
|
1863
2771
|
class Visa < Lithic::Internal::Type::BaseModel
|
2772
|
+
OrHash =
|
2773
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2774
|
+
|
1864
2775
|
# Identifier assigned by Visa. Matches the `transaction_id` of a prior related
|
1865
2776
|
# event. May be populated in incremental authorizations (authorization requests
|
1866
2777
|
# that augment a previously authorized amount), authorization advices, financial
|
@@ -1875,8 +2786,10 @@ module Lithic
|
|
1875
2786
|
attr_accessor :transaction_id
|
1876
2787
|
|
1877
2788
|
sig do
|
1878
|
-
params(
|
1879
|
-
.
|
2789
|
+
params(
|
2790
|
+
original_transaction_id: T.nilable(String),
|
2791
|
+
transaction_id: T.nilable(String)
|
2792
|
+
).returns(T.attached_class)
|
1880
2793
|
end
|
1881
2794
|
def self.new(
|
1882
2795
|
# Identifier assigned by Visa. Matches the `transaction_id` of a prior related
|
@@ -1888,7 +2801,9 @@ module Lithic
|
|
1888
2801
|
# Guaranteed by Visa to be unique for each original authorization and financial
|
1889
2802
|
# authorization.
|
1890
2803
|
transaction_id:
|
1891
|
-
)
|
2804
|
+
)
|
2805
|
+
end
|
2806
|
+
|
1892
2807
|
sig do
|
1893
2808
|
override.returns(
|
1894
2809
|
{
|
@@ -1897,56 +2812,141 @@ module Lithic
|
|
1897
2812
|
}
|
1898
2813
|
)
|
1899
2814
|
end
|
1900
|
-
def to_hash
|
2815
|
+
def to_hash
|
2816
|
+
end
|
1901
2817
|
end
|
1902
2818
|
end
|
1903
2819
|
|
1904
2820
|
module Result
|
1905
2821
|
extend Lithic::Internal::Type::Enum
|
1906
2822
|
|
1907
|
-
TaggedSymbol =
|
2823
|
+
TaggedSymbol =
|
2824
|
+
T.type_alias { T.all(Symbol, Lithic::Transaction::Event::Result) }
|
1908
2825
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1909
2826
|
|
1910
2827
|
ACCOUNT_STATE_TRANSACTION_FAIL =
|
1911
|
-
T.let(
|
1912
|
-
|
2828
|
+
T.let(
|
2829
|
+
:ACCOUNT_STATE_TRANSACTION_FAIL,
|
2830
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2831
|
+
)
|
2832
|
+
APPROVED =
|
2833
|
+
T.let(:APPROVED, Lithic::Transaction::Event::Result::TaggedSymbol)
|
1913
2834
|
BANK_CONNECTION_ERROR =
|
1914
|
-
T.let(
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
2835
|
+
T.let(
|
2836
|
+
:BANK_CONNECTION_ERROR,
|
2837
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2838
|
+
)
|
2839
|
+
BANK_NOT_VERIFIED =
|
2840
|
+
T.let(
|
2841
|
+
:BANK_NOT_VERIFIED,
|
2842
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2843
|
+
)
|
2844
|
+
CARD_CLOSED =
|
2845
|
+
T.let(
|
2846
|
+
:CARD_CLOSED,
|
2847
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2848
|
+
)
|
2849
|
+
CARD_PAUSED =
|
2850
|
+
T.let(
|
2851
|
+
:CARD_PAUSED,
|
2852
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2853
|
+
)
|
2854
|
+
DECLINED =
|
2855
|
+
T.let(:DECLINED, Lithic::Transaction::Event::Result::TaggedSymbol)
|
2856
|
+
FRAUD_ADVICE =
|
2857
|
+
T.let(
|
2858
|
+
:FRAUD_ADVICE,
|
2859
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2860
|
+
)
|
2861
|
+
IGNORED_TTL_EXPIRY =
|
2862
|
+
T.let(
|
2863
|
+
:IGNORED_TTL_EXPIRY,
|
2864
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2865
|
+
)
|
2866
|
+
INACTIVE_ACCOUNT =
|
2867
|
+
T.let(
|
2868
|
+
:INACTIVE_ACCOUNT,
|
2869
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2870
|
+
)
|
2871
|
+
INCORRECT_PIN =
|
2872
|
+
T.let(
|
2873
|
+
:INCORRECT_PIN,
|
2874
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2875
|
+
)
|
1923
2876
|
INVALID_CARD_DETAILS =
|
1924
|
-
T.let(
|
1925
|
-
|
2877
|
+
T.let(
|
2878
|
+
:INVALID_CARD_DETAILS,
|
2879
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2880
|
+
)
|
2881
|
+
INSUFFICIENT_FUNDS =
|
2882
|
+
T.let(
|
2883
|
+
:INSUFFICIENT_FUNDS,
|
2884
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2885
|
+
)
|
1926
2886
|
INSUFFICIENT_FUNDS_PRELOAD =
|
1927
|
-
T.let(
|
2887
|
+
T.let(
|
2888
|
+
:INSUFFICIENT_FUNDS_PRELOAD,
|
2889
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2890
|
+
)
|
1928
2891
|
INVALID_TRANSACTION =
|
1929
|
-
T.let(
|
1930
|
-
|
1931
|
-
|
2892
|
+
T.let(
|
2893
|
+
:INVALID_TRANSACTION,
|
2894
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2895
|
+
)
|
2896
|
+
MERCHANT_BLACKLIST =
|
2897
|
+
T.let(
|
2898
|
+
:MERCHANT_BLACKLIST,
|
2899
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2900
|
+
)
|
2901
|
+
ORIGINAL_NOT_FOUND =
|
2902
|
+
T.let(
|
2903
|
+
:ORIGINAL_NOT_FOUND,
|
2904
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2905
|
+
)
|
1932
2906
|
PREVIOUSLY_COMPLETED =
|
1933
|
-
T.let(
|
2907
|
+
T.let(
|
2908
|
+
:PREVIOUSLY_COMPLETED,
|
2909
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2910
|
+
)
|
1934
2911
|
SINGLE_USE_RECHARGED =
|
1935
|
-
T.let(
|
2912
|
+
T.let(
|
2913
|
+
:SINGLE_USE_RECHARGED,
|
2914
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2915
|
+
)
|
1936
2916
|
SWITCH_INOPERATIVE_ADVICE =
|
1937
|
-
T.let(
|
2917
|
+
T.let(
|
2918
|
+
:SWITCH_INOPERATIVE_ADVICE,
|
2919
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2920
|
+
)
|
1938
2921
|
UNAUTHORIZED_MERCHANT =
|
1939
|
-
T.let(
|
2922
|
+
T.let(
|
2923
|
+
:UNAUTHORIZED_MERCHANT,
|
2924
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2925
|
+
)
|
1940
2926
|
UNKNOWN_HOST_TIMEOUT =
|
1941
|
-
T.let(
|
2927
|
+
T.let(
|
2928
|
+
:UNKNOWN_HOST_TIMEOUT,
|
2929
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2930
|
+
)
|
1942
2931
|
USER_TRANSACTION_LIMIT =
|
1943
|
-
T.let(
|
2932
|
+
T.let(
|
2933
|
+
:USER_TRANSACTION_LIMIT,
|
2934
|
+
Lithic::Transaction::Event::Result::TaggedSymbol
|
2935
|
+
)
|
1944
2936
|
|
1945
|
-
sig
|
1946
|
-
|
2937
|
+
sig do
|
2938
|
+
override.returns(
|
2939
|
+
T::Array[Lithic::Transaction::Event::Result::TaggedSymbol]
|
2940
|
+
)
|
2941
|
+
end
|
2942
|
+
def self.values
|
2943
|
+
end
|
1947
2944
|
end
|
1948
2945
|
|
1949
2946
|
class RuleResult < Lithic::Internal::Type::BaseModel
|
2947
|
+
OrHash =
|
2948
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
2949
|
+
|
1950
2950
|
# The Auth Rule Token associated with the rule from which the decline originated.
|
1951
2951
|
# If this is set to null, then the decline was not associated with a
|
1952
2952
|
# customer-configured Auth Rule. This may happen in cases where a transaction is
|
@@ -1963,7 +2963,11 @@ module Lithic
|
|
1963
2963
|
attr_accessor :name
|
1964
2964
|
|
1965
2965
|
# The detailed_result associated with this rule's decline.
|
1966
|
-
sig
|
2966
|
+
sig do
|
2967
|
+
returns(
|
2968
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2969
|
+
)
|
2970
|
+
end
|
1967
2971
|
attr_accessor :result
|
1968
2972
|
|
1969
2973
|
sig do
|
@@ -1971,9 +2975,8 @@ module Lithic
|
|
1971
2975
|
auth_rule_token: T.nilable(String),
|
1972
2976
|
explanation: T.nilable(String),
|
1973
2977
|
name: T.nilable(String),
|
1974
|
-
result: Lithic::
|
1975
|
-
)
|
1976
|
-
.returns(T.attached_class)
|
2978
|
+
result: Lithic::Transaction::Event::RuleResult::Result::OrSymbol
|
2979
|
+
).returns(T.attached_class)
|
1977
2980
|
end
|
1978
2981
|
def self.new(
|
1979
2982
|
# The Auth Rule Token associated with the rule from which the decline originated.
|
@@ -1987,155 +2990,303 @@ module Lithic
|
|
1987
2990
|
name:,
|
1988
2991
|
# The detailed_result associated with this rule's decline.
|
1989
2992
|
result:
|
1990
|
-
)
|
2993
|
+
)
|
2994
|
+
end
|
2995
|
+
|
1991
2996
|
sig do
|
1992
|
-
override
|
1993
|
-
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2997
|
+
override.returns(
|
2998
|
+
{
|
2999
|
+
auth_rule_token: T.nilable(String),
|
3000
|
+
explanation: T.nilable(String),
|
3001
|
+
name: T.nilable(String),
|
3002
|
+
result:
|
3003
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3004
|
+
}
|
3005
|
+
)
|
3006
|
+
end
|
3007
|
+
def to_hash
|
2001
3008
|
end
|
2002
|
-
def to_hash; end
|
2003
3009
|
|
2004
3010
|
# The detailed_result associated with this rule's decline.
|
2005
3011
|
module Result
|
2006
3012
|
extend Lithic::Internal::Type::Enum
|
2007
3013
|
|
2008
|
-
TaggedSymbol =
|
3014
|
+
TaggedSymbol =
|
3015
|
+
T.type_alias do
|
3016
|
+
T.all(Symbol, Lithic::Transaction::Event::RuleResult::Result)
|
3017
|
+
end
|
2009
3018
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2010
3019
|
|
2011
3020
|
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED =
|
2012
3021
|
T.let(
|
2013
3022
|
:ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED,
|
2014
|
-
Lithic::
|
3023
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2015
3024
|
)
|
2016
3025
|
ACCOUNT_DELINQUENT =
|
2017
|
-
T.let(
|
3026
|
+
T.let(
|
3027
|
+
:ACCOUNT_DELINQUENT,
|
3028
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3029
|
+
)
|
2018
3030
|
ACCOUNT_INACTIVE =
|
2019
|
-
T.let(
|
3031
|
+
T.let(
|
3032
|
+
:ACCOUNT_INACTIVE,
|
3033
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3034
|
+
)
|
2020
3035
|
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED =
|
2021
3036
|
T.let(
|
2022
3037
|
:ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED,
|
2023
|
-
Lithic::
|
3038
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2024
3039
|
)
|
2025
3040
|
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED =
|
2026
3041
|
T.let(
|
2027
3042
|
:ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED,
|
2028
|
-
Lithic::
|
3043
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2029
3044
|
)
|
2030
3045
|
ACCOUNT_UNDER_REVIEW =
|
2031
|
-
T.let(
|
3046
|
+
T.let(
|
3047
|
+
:ACCOUNT_UNDER_REVIEW,
|
3048
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3049
|
+
)
|
2032
3050
|
ADDRESS_INCORRECT =
|
2033
|
-
T.let(
|
2034
|
-
|
3051
|
+
T.let(
|
3052
|
+
:ADDRESS_INCORRECT,
|
3053
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3054
|
+
)
|
3055
|
+
APPROVED =
|
3056
|
+
T.let(
|
3057
|
+
:APPROVED,
|
3058
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3059
|
+
)
|
2035
3060
|
AUTH_RULE_ALLOWED_COUNTRY =
|
2036
|
-
T.let(
|
3061
|
+
T.let(
|
3062
|
+
:AUTH_RULE_ALLOWED_COUNTRY,
|
3063
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3064
|
+
)
|
2037
3065
|
AUTH_RULE_ALLOWED_MCC =
|
2038
|
-
T.let(
|
3066
|
+
T.let(
|
3067
|
+
:AUTH_RULE_ALLOWED_MCC,
|
3068
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3069
|
+
)
|
2039
3070
|
AUTH_RULE_BLOCKED_COUNTRY =
|
2040
|
-
T.let(
|
3071
|
+
T.let(
|
3072
|
+
:AUTH_RULE_BLOCKED_COUNTRY,
|
3073
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3074
|
+
)
|
2041
3075
|
AUTH_RULE_BLOCKED_MCC =
|
2042
|
-
T.let(
|
2043
|
-
|
3076
|
+
T.let(
|
3077
|
+
:AUTH_RULE_BLOCKED_MCC,
|
3078
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3079
|
+
)
|
3080
|
+
CARD_CLOSED =
|
3081
|
+
T.let(
|
3082
|
+
:CARD_CLOSED,
|
3083
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3084
|
+
)
|
2044
3085
|
CARD_CRYPTOGRAM_VALIDATION_FAILURE =
|
2045
3086
|
T.let(
|
2046
3087
|
:CARD_CRYPTOGRAM_VALIDATION_FAILURE,
|
2047
|
-
Lithic::
|
3088
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3089
|
+
)
|
3090
|
+
CARD_EXPIRED =
|
3091
|
+
T.let(
|
3092
|
+
:CARD_EXPIRED,
|
3093
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2048
3094
|
)
|
2049
|
-
CARD_EXPIRED = T.let(:CARD_EXPIRED, Lithic::Models::Transaction::Event::RuleResult::Result::TaggedSymbol)
|
2050
3095
|
CARD_EXPIRY_DATE_INCORRECT =
|
2051
|
-
T.let(
|
2052
|
-
|
3096
|
+
T.let(
|
3097
|
+
:CARD_EXPIRY_DATE_INCORRECT,
|
3098
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3099
|
+
)
|
3100
|
+
CARD_INVALID =
|
3101
|
+
T.let(
|
3102
|
+
:CARD_INVALID,
|
3103
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3104
|
+
)
|
2053
3105
|
CARD_NOT_ACTIVATED =
|
2054
|
-
T.let(
|
2055
|
-
|
3106
|
+
T.let(
|
3107
|
+
:CARD_NOT_ACTIVATED,
|
3108
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3109
|
+
)
|
3110
|
+
CARD_PAUSED =
|
3111
|
+
T.let(
|
3112
|
+
:CARD_PAUSED,
|
3113
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3114
|
+
)
|
2056
3115
|
CARD_PIN_INCORRECT =
|
2057
|
-
T.let(
|
3116
|
+
T.let(
|
3117
|
+
:CARD_PIN_INCORRECT,
|
3118
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3119
|
+
)
|
2058
3120
|
CARD_RESTRICTED =
|
2059
|
-
T.let(
|
3121
|
+
T.let(
|
3122
|
+
:CARD_RESTRICTED,
|
3123
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3124
|
+
)
|
2060
3125
|
CARD_SECURITY_CODE_INCORRECT =
|
2061
|
-
T.let(
|
3126
|
+
T.let(
|
3127
|
+
:CARD_SECURITY_CODE_INCORRECT,
|
3128
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3129
|
+
)
|
2062
3130
|
CARD_SPEND_LIMIT_EXCEEDED =
|
2063
|
-
T.let(
|
3131
|
+
T.let(
|
3132
|
+
:CARD_SPEND_LIMIT_EXCEEDED,
|
3133
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3134
|
+
)
|
2064
3135
|
CONTACT_CARD_ISSUER =
|
2065
|
-
T.let(
|
3136
|
+
T.let(
|
3137
|
+
:CONTACT_CARD_ISSUER,
|
3138
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3139
|
+
)
|
2066
3140
|
CUSTOMER_ASA_TIMEOUT =
|
2067
|
-
T.let(
|
3141
|
+
T.let(
|
3142
|
+
:CUSTOMER_ASA_TIMEOUT,
|
3143
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3144
|
+
)
|
2068
3145
|
CUSTOM_ASA_RESULT =
|
2069
|
-
T.let(
|
2070
|
-
|
2071
|
-
|
3146
|
+
T.let(
|
3147
|
+
:CUSTOM_ASA_RESULT,
|
3148
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3149
|
+
)
|
3150
|
+
DECLINED =
|
3151
|
+
T.let(
|
3152
|
+
:DECLINED,
|
3153
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3154
|
+
)
|
3155
|
+
DO_NOT_HONOR =
|
3156
|
+
T.let(
|
3157
|
+
:DO_NOT_HONOR,
|
3158
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3159
|
+
)
|
2072
3160
|
DRIVER_NUMBER_INVALID =
|
2073
|
-
T.let(
|
2074
|
-
|
3161
|
+
T.let(
|
3162
|
+
:DRIVER_NUMBER_INVALID,
|
3163
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3164
|
+
)
|
3165
|
+
FORMAT_ERROR =
|
3166
|
+
T.let(
|
3167
|
+
:FORMAT_ERROR,
|
3168
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3169
|
+
)
|
2075
3170
|
INSUFFICIENT_FUNDING_SOURCE_BALANCE =
|
2076
3171
|
T.let(
|
2077
3172
|
:INSUFFICIENT_FUNDING_SOURCE_BALANCE,
|
2078
|
-
Lithic::
|
3173
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2079
3174
|
)
|
2080
3175
|
INSUFFICIENT_FUNDS =
|
2081
|
-
T.let(
|
3176
|
+
T.let(
|
3177
|
+
:INSUFFICIENT_FUNDS,
|
3178
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3179
|
+
)
|
2082
3180
|
LITHIC_SYSTEM_ERROR =
|
2083
|
-
T.let(
|
3181
|
+
T.let(
|
3182
|
+
:LITHIC_SYSTEM_ERROR,
|
3183
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3184
|
+
)
|
2084
3185
|
LITHIC_SYSTEM_RATE_LIMIT =
|
2085
|
-
T.let(
|
3186
|
+
T.let(
|
3187
|
+
:LITHIC_SYSTEM_RATE_LIMIT,
|
3188
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3189
|
+
)
|
2086
3190
|
MALFORMED_ASA_RESPONSE =
|
2087
|
-
T.let(
|
3191
|
+
T.let(
|
3192
|
+
:MALFORMED_ASA_RESPONSE,
|
3193
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3194
|
+
)
|
2088
3195
|
MERCHANT_INVALID =
|
2089
|
-
T.let(
|
3196
|
+
T.let(
|
3197
|
+
:MERCHANT_INVALID,
|
3198
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3199
|
+
)
|
2090
3200
|
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE =
|
2091
3201
|
T.let(
|
2092
3202
|
:MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE,
|
2093
|
-
Lithic::
|
3203
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2094
3204
|
)
|
2095
3205
|
MERCHANT_NOT_PERMITTED =
|
2096
|
-
T.let(
|
3206
|
+
T.let(
|
3207
|
+
:MERCHANT_NOT_PERMITTED,
|
3208
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3209
|
+
)
|
2097
3210
|
OVER_REVERSAL_ATTEMPTED =
|
2098
|
-
T.let(
|
2099
|
-
|
3211
|
+
T.let(
|
3212
|
+
:OVER_REVERSAL_ATTEMPTED,
|
3213
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3214
|
+
)
|
3215
|
+
PIN_BLOCKED =
|
3216
|
+
T.let(
|
3217
|
+
:PIN_BLOCKED,
|
3218
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3219
|
+
)
|
2100
3220
|
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED =
|
2101
3221
|
T.let(
|
2102
3222
|
:PROGRAM_CARD_SPEND_LIMIT_EXCEEDED,
|
2103
|
-
Lithic::
|
3223
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2104
3224
|
)
|
2105
3225
|
PROGRAM_SUSPENDED =
|
2106
|
-
T.let(
|
3226
|
+
T.let(
|
3227
|
+
:PROGRAM_SUSPENDED,
|
3228
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3229
|
+
)
|
2107
3230
|
PROGRAM_USAGE_RESTRICTION =
|
2108
|
-
T.let(
|
3231
|
+
T.let(
|
3232
|
+
:PROGRAM_USAGE_RESTRICTION,
|
3233
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3234
|
+
)
|
2109
3235
|
REVERSAL_UNMATCHED =
|
2110
|
-
T.let(
|
3236
|
+
T.let(
|
3237
|
+
:REVERSAL_UNMATCHED,
|
3238
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3239
|
+
)
|
2111
3240
|
SECURITY_VIOLATION =
|
2112
|
-
T.let(
|
3241
|
+
T.let(
|
3242
|
+
:SECURITY_VIOLATION,
|
3243
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3244
|
+
)
|
2113
3245
|
SINGLE_USE_CARD_REATTEMPTED =
|
2114
|
-
T.let(
|
3246
|
+
T.let(
|
3247
|
+
:SINGLE_USE_CARD_REATTEMPTED,
|
3248
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3249
|
+
)
|
2115
3250
|
TRANSACTION_INVALID =
|
2116
|
-
T.let(
|
3251
|
+
T.let(
|
3252
|
+
:TRANSACTION_INVALID,
|
3253
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3254
|
+
)
|
2117
3255
|
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL =
|
2118
3256
|
T.let(
|
2119
3257
|
:TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL,
|
2120
|
-
Lithic::
|
3258
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2121
3259
|
)
|
2122
3260
|
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER =
|
2123
3261
|
T.let(
|
2124
3262
|
:TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER,
|
2125
|
-
Lithic::
|
3263
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2126
3264
|
)
|
2127
3265
|
TRANSACTION_PREVIOUSLY_COMPLETED =
|
2128
3266
|
T.let(
|
2129
3267
|
:TRANSACTION_PREVIOUSLY_COMPLETED,
|
2130
|
-
Lithic::
|
3268
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
2131
3269
|
)
|
2132
3270
|
UNAUTHORIZED_MERCHANT =
|
2133
|
-
T.let(
|
3271
|
+
T.let(
|
3272
|
+
:UNAUTHORIZED_MERCHANT,
|
3273
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3274
|
+
)
|
2134
3275
|
VEHICLE_NUMBER_INVALID =
|
2135
|
-
T.let(
|
3276
|
+
T.let(
|
3277
|
+
:VEHICLE_NUMBER_INVALID,
|
3278
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3279
|
+
)
|
2136
3280
|
|
2137
|
-
sig
|
2138
|
-
|
3281
|
+
sig do
|
3282
|
+
override.returns(
|
3283
|
+
T::Array[
|
3284
|
+
Lithic::Transaction::Event::RuleResult::Result::TaggedSymbol
|
3285
|
+
]
|
3286
|
+
)
|
3287
|
+
end
|
3288
|
+
def self.values
|
3289
|
+
end
|
2139
3290
|
end
|
2140
3291
|
end
|
2141
3292
|
|
@@ -2143,79 +3294,139 @@ module Lithic
|
|
2143
3294
|
module Type
|
2144
3295
|
extend Lithic::Internal::Type::Enum
|
2145
3296
|
|
2146
|
-
TaggedSymbol =
|
3297
|
+
TaggedSymbol =
|
3298
|
+
T.type_alias { T.all(Symbol, Lithic::Transaction::Event::Type) }
|
2147
3299
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2148
3300
|
|
2149
|
-
AUTHORIZATION =
|
3301
|
+
AUTHORIZATION =
|
3302
|
+
T.let(
|
3303
|
+
:AUTHORIZATION,
|
3304
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3305
|
+
)
|
2150
3306
|
AUTHORIZATION_ADVICE =
|
2151
|
-
T.let(
|
3307
|
+
T.let(
|
3308
|
+
:AUTHORIZATION_ADVICE,
|
3309
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3310
|
+
)
|
2152
3311
|
AUTHORIZATION_EXPIRY =
|
2153
|
-
T.let(
|
3312
|
+
T.let(
|
3313
|
+
:AUTHORIZATION_EXPIRY,
|
3314
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3315
|
+
)
|
2154
3316
|
AUTHORIZATION_REVERSAL =
|
2155
|
-
T.let(
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
3317
|
+
T.let(
|
3318
|
+
:AUTHORIZATION_REVERSAL,
|
3319
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3320
|
+
)
|
3321
|
+
BALANCE_INQUIRY =
|
3322
|
+
T.let(
|
3323
|
+
:BALANCE_INQUIRY,
|
3324
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3325
|
+
)
|
3326
|
+
CLEARING =
|
3327
|
+
T.let(:CLEARING, Lithic::Transaction::Event::Type::TaggedSymbol)
|
3328
|
+
CORRECTION_CREDIT =
|
3329
|
+
T.let(
|
3330
|
+
:CORRECTION_CREDIT,
|
3331
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3332
|
+
)
|
3333
|
+
CORRECTION_DEBIT =
|
3334
|
+
T.let(
|
3335
|
+
:CORRECTION_DEBIT,
|
3336
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3337
|
+
)
|
2160
3338
|
CREDIT_AUTHORIZATION =
|
2161
|
-
T.let(
|
3339
|
+
T.let(
|
3340
|
+
:CREDIT_AUTHORIZATION,
|
3341
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3342
|
+
)
|
2162
3343
|
CREDIT_AUTHORIZATION_ADVICE =
|
2163
|
-
T.let(
|
3344
|
+
T.let(
|
3345
|
+
:CREDIT_AUTHORIZATION_ADVICE,
|
3346
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3347
|
+
)
|
2164
3348
|
FINANCIAL_AUTHORIZATION =
|
2165
|
-
T.let(
|
3349
|
+
T.let(
|
3350
|
+
:FINANCIAL_AUTHORIZATION,
|
3351
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3352
|
+
)
|
2166
3353
|
FINANCIAL_CREDIT_AUTHORIZATION =
|
2167
|
-
T.let(
|
2168
|
-
|
2169
|
-
|
3354
|
+
T.let(
|
3355
|
+
:FINANCIAL_CREDIT_AUTHORIZATION,
|
3356
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3357
|
+
)
|
3358
|
+
RETURN =
|
3359
|
+
T.let(:RETURN, Lithic::Transaction::Event::Type::TaggedSymbol)
|
3360
|
+
RETURN_REVERSAL =
|
3361
|
+
T.let(
|
3362
|
+
:RETURN_REVERSAL,
|
3363
|
+
Lithic::Transaction::Event::Type::TaggedSymbol
|
3364
|
+
)
|
2170
3365
|
|
2171
|
-
sig
|
2172
|
-
|
3366
|
+
sig do
|
3367
|
+
override.returns(
|
3368
|
+
T::Array[Lithic::Transaction::Event::Type::TaggedSymbol]
|
3369
|
+
)
|
3370
|
+
end
|
3371
|
+
def self.values
|
3372
|
+
end
|
2173
3373
|
end
|
2174
3374
|
|
2175
3375
|
class NetworkSpecificData < Lithic::Internal::Type::BaseModel
|
2176
|
-
|
3376
|
+
OrHash =
|
3377
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
3378
|
+
|
3379
|
+
sig do
|
3380
|
+
returns(Lithic::Transaction::Event::NetworkSpecificData::Mastercard)
|
3381
|
+
end
|
2177
3382
|
attr_reader :mastercard
|
2178
3383
|
|
2179
3384
|
sig do
|
2180
3385
|
params(
|
2181
|
-
mastercard:
|
2182
|
-
|
2183
|
-
|
3386
|
+
mastercard:
|
3387
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard::OrHash
|
3388
|
+
).void
|
2184
3389
|
end
|
2185
3390
|
attr_writer :mastercard
|
2186
3391
|
|
2187
|
-
sig { returns(Lithic::
|
3392
|
+
sig { returns(Lithic::Transaction::Event::NetworkSpecificData::Visa) }
|
2188
3393
|
attr_reader :visa
|
2189
3394
|
|
2190
3395
|
sig do
|
2191
3396
|
params(
|
2192
|
-
visa:
|
2193
|
-
|
2194
|
-
|
3397
|
+
visa:
|
3398
|
+
Lithic::Transaction::Event::NetworkSpecificData::Visa::OrHash
|
3399
|
+
).void
|
2195
3400
|
end
|
2196
3401
|
attr_writer :visa
|
2197
3402
|
|
2198
3403
|
sig do
|
2199
3404
|
params(
|
2200
|
-
mastercard:
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
3405
|
+
mastercard:
|
3406
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard::OrHash,
|
3407
|
+
visa:
|
3408
|
+
Lithic::Transaction::Event::NetworkSpecificData::Visa::OrHash
|
3409
|
+
).returns(T.attached_class)
|
3410
|
+
end
|
3411
|
+
def self.new(mastercard:, visa:)
|
2204
3412
|
end
|
2205
|
-
def self.new(mastercard:, visa:); end
|
2206
3413
|
|
2207
3414
|
sig do
|
2208
|
-
override
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
3415
|
+
override.returns(
|
3416
|
+
{
|
3417
|
+
mastercard:
|
3418
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard,
|
3419
|
+
visa: Lithic::Transaction::Event::NetworkSpecificData::Visa
|
3420
|
+
}
|
3421
|
+
)
|
3422
|
+
end
|
3423
|
+
def to_hash
|
2215
3424
|
end
|
2216
|
-
def to_hash; end
|
2217
3425
|
|
2218
3426
|
class Mastercard < Lithic::Internal::Type::BaseModel
|
3427
|
+
OrHash =
|
3428
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
3429
|
+
|
2219
3430
|
# Indicates the electronic commerce security level and UCAF collection.
|
2220
3431
|
sig { returns(T.nilable(String)) }
|
2221
3432
|
attr_accessor :ecommerce_security_level_indicator
|
@@ -2226,7 +3437,9 @@ module Lithic
|
|
2226
3437
|
sig do
|
2227
3438
|
returns(
|
2228
3439
|
T.nilable(
|
2229
|
-
T::Array[
|
3440
|
+
T::Array[
|
3441
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult
|
3442
|
+
]
|
2230
3443
|
)
|
2231
3444
|
)
|
2232
3445
|
end
|
@@ -2239,17 +3452,14 @@ module Lithic
|
|
2239
3452
|
sig do
|
2240
3453
|
params(
|
2241
3454
|
ecommerce_security_level_indicator: T.nilable(String),
|
2242
|
-
on_behalf_service_result:
|
2243
|
-
T
|
2244
|
-
T
|
2245
|
-
Lithic::
|
2246
|
-
|
2247
|
-
|
2248
|
-
]
|
2249
|
-
),
|
3455
|
+
on_behalf_service_result:
|
3456
|
+
T.nilable(
|
3457
|
+
T::Array[
|
3458
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult::OrHash
|
3459
|
+
]
|
3460
|
+
),
|
2250
3461
|
transaction_type_identifier: T.nilable(String)
|
2251
|
-
)
|
2252
|
-
.returns(T.attached_class)
|
3462
|
+
).returns(T.attached_class)
|
2253
3463
|
end
|
2254
3464
|
def self.new(
|
2255
3465
|
# Indicates the electronic commerce security level and UCAF collection.
|
@@ -2260,22 +3470,30 @@ module Lithic
|
|
2260
3470
|
on_behalf_service_result:,
|
2261
3471
|
# Indicates the type of additional transaction purpose.
|
2262
3472
|
transaction_type_identifier:
|
2263
|
-
)
|
3473
|
+
)
|
3474
|
+
end
|
3475
|
+
|
2264
3476
|
sig do
|
2265
|
-
override
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
T::Array[
|
3477
|
+
override.returns(
|
3478
|
+
{
|
3479
|
+
ecommerce_security_level_indicator: T.nilable(String),
|
3480
|
+
on_behalf_service_result:
|
3481
|
+
T.nilable(
|
3482
|
+
T::Array[
|
3483
|
+
Lithic::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult
|
3484
|
+
]
|
2271
3485
|
),
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
3486
|
+
transaction_type_identifier: T.nilable(String)
|
3487
|
+
}
|
3488
|
+
)
|
3489
|
+
end
|
3490
|
+
def to_hash
|
2275
3491
|
end
|
2276
|
-
def to_hash; end
|
2277
3492
|
|
2278
3493
|
class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
|
3494
|
+
OrHash =
|
3495
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
3496
|
+
|
2279
3497
|
# Indicates the results of the service processing.
|
2280
3498
|
sig { returns(String) }
|
2281
3499
|
attr_accessor :result_1
|
@@ -2288,7 +3506,13 @@ module Lithic
|
|
2288
3506
|
sig { returns(String) }
|
2289
3507
|
attr_accessor :service
|
2290
3508
|
|
2291
|
-
sig
|
3509
|
+
sig do
|
3510
|
+
params(
|
3511
|
+
result_1: String,
|
3512
|
+
result_2: String,
|
3513
|
+
service: String
|
3514
|
+
).returns(T.attached_class)
|
3515
|
+
end
|
2292
3516
|
def self.new(
|
2293
3517
|
# Indicates the results of the service processing.
|
2294
3518
|
result_1:,
|
@@ -2296,26 +3520,47 @@ module Lithic
|
|
2296
3520
|
result_2:,
|
2297
3521
|
# Indicates the service performed on the transaction.
|
2298
3522
|
service:
|
2299
|
-
)
|
2300
|
-
|
2301
|
-
|
3523
|
+
)
|
3524
|
+
end
|
3525
|
+
|
3526
|
+
sig do
|
3527
|
+
override.returns(
|
3528
|
+
{ result_1: String, result_2: String, service: String }
|
3529
|
+
)
|
3530
|
+
end
|
3531
|
+
def to_hash
|
3532
|
+
end
|
2302
3533
|
end
|
2303
3534
|
end
|
2304
3535
|
|
2305
3536
|
class Visa < Lithic::Internal::Type::BaseModel
|
3537
|
+
OrHash =
|
3538
|
+
T.type_alias { T.any(T.self_type, Lithic::Internal::AnyHash) }
|
3539
|
+
|
2306
3540
|
# Identifies the purpose or category of a transaction, used to classify and
|
2307
3541
|
# process transactions according to Visa’s rules.
|
2308
3542
|
sig { returns(T.nilable(String)) }
|
2309
3543
|
attr_accessor :business_application_identifier
|
2310
3544
|
|
2311
|
-
sig
|
3545
|
+
sig do
|
3546
|
+
params(
|
3547
|
+
business_application_identifier: T.nilable(String)
|
3548
|
+
).returns(T.attached_class)
|
3549
|
+
end
|
2312
3550
|
def self.new(
|
2313
3551
|
# Identifies the purpose or category of a transaction, used to classify and
|
2314
3552
|
# process transactions according to Visa’s rules.
|
2315
3553
|
business_application_identifier:
|
2316
|
-
)
|
2317
|
-
|
2318
|
-
|
3554
|
+
)
|
3555
|
+
end
|
3556
|
+
|
3557
|
+
sig do
|
3558
|
+
override.returns(
|
3559
|
+
{ business_application_identifier: T.nilable(String) }
|
3560
|
+
)
|
3561
|
+
end
|
3562
|
+
def to_hash
|
3563
|
+
end
|
2319
3564
|
end
|
2320
3565
|
end
|
2321
3566
|
end
|