lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.16
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 +36 -0
- data/README.md +61 -52
- data/lib/lithic/client.rb +4 -4
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
- data/lib/lithic/internal/type/array_of.rb +9 -0
- data/lib/lithic/internal/type/base_model.rb +62 -28
- data/lib/lithic/internal/type/base_page.rb +8 -0
- data/lib/lithic/internal/type/boolean.rb +4 -0
- data/lib/lithic/internal/type/enum.rb +9 -5
- data/lib/lithic/internal/type/hash_of.rb +9 -0
- data/lib/lithic/internal/type/io_like.rb +4 -0
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/internal/type/union.rb +10 -1
- data/lib/lithic/internal/type/unknown.rb +4 -0
- data/lib/lithic/internal.rb +0 -1
- data/lib/lithic/models/account.rb +42 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +127 -312
- data/lib/lithic/models/account_holder_create_params.rb +99 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +132 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +35 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +393 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +392 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +376 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +392 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +392 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +392 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +73 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +24 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +295 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -10
- data/rbi/lib/lithic/client.rbi +4 -4
- data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/base_model.rbi +15 -0
- data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +3 -6
- data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/union.rbi +3 -0
- data/rbi/lib/lithic/internal.rbi +0 -1
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +10 -0
- data/sig/lithic/internal/type/enum.rbs +2 -2
- data/sig/lithic/internal/type/hash_of.rbs +2 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -25,6 +25,8 @@ module Lithic
|
|
25
25
|
required :acquirer_fee, Integer, nil?: true
|
26
26
|
|
27
27
|
# @!attribute acquirer_reference_number
|
28
|
+
# @deprecated
|
29
|
+
#
|
28
30
|
# Unique identifier assigned to a transaction by the acquirer that can be used in
|
29
31
|
# dispute and chargeback filing.
|
30
32
|
#
|
@@ -32,6 +34,8 @@ module Lithic
|
|
32
34
|
required :acquirer_reference_number, String, nil?: true
|
33
35
|
|
34
36
|
# @!attribute amount
|
37
|
+
# @deprecated
|
38
|
+
#
|
35
39
|
# When the transaction is pending, this represents the authorization amount of the
|
36
40
|
# transaction in the anticipated settlement currency. Once the transaction has
|
37
41
|
# settled, this field represents the settled amount in the settlement currency.
|
@@ -45,6 +49,8 @@ module Lithic
|
|
45
49
|
required :amounts, -> { Lithic::Models::Transaction::Amounts }
|
46
50
|
|
47
51
|
# @!attribute authorization_amount
|
52
|
+
# @deprecated
|
53
|
+
#
|
48
54
|
# The authorization amount of the transaction in the anticipated settlement
|
49
55
|
# currency.
|
50
56
|
#
|
@@ -88,18 +94,24 @@ module Lithic
|
|
88
94
|
required :merchant, -> { Lithic::Models::Transaction::Merchant }
|
89
95
|
|
90
96
|
# @!attribute merchant_amount
|
97
|
+
# @deprecated
|
98
|
+
#
|
91
99
|
# Analogous to the 'amount', but in the merchant currency.
|
92
100
|
#
|
93
101
|
# @return [Integer, nil]
|
94
102
|
required :merchant_amount, Integer, nil?: true
|
95
103
|
|
96
104
|
# @!attribute merchant_authorization_amount
|
105
|
+
# @deprecated
|
106
|
+
#
|
97
107
|
# Analogous to the 'authorization_amount', but in the merchant currency.
|
98
108
|
#
|
99
109
|
# @return [Integer, nil]
|
100
110
|
required :merchant_authorization_amount, Integer, nil?: true
|
101
111
|
|
102
112
|
# @!attribute merchant_currency
|
113
|
+
# @deprecated
|
114
|
+
#
|
103
115
|
# 3-character alphabetic ISO 4217 code for the local currency of the transaction.
|
104
116
|
#
|
105
117
|
# @return [String]
|
@@ -134,6 +146,8 @@ module Lithic
|
|
134
146
|
required :result, enum: -> { Lithic::Models::Transaction::Result }
|
135
147
|
|
136
148
|
# @!attribute settled_amount
|
149
|
+
# @deprecated
|
150
|
+
#
|
137
151
|
# The settled amount of the transaction in the settlement currency.
|
138
152
|
#
|
139
153
|
# @return [Integer]
|
@@ -156,74 +170,37 @@ module Lithic
|
|
156
170
|
# @return [Time]
|
157
171
|
required :updated, Time
|
158
172
|
|
159
|
-
# @!attribute
|
173
|
+
# @!attribute events
|
160
174
|
#
|
161
175
|
# @return [Array<Lithic::Models::Transaction::Event>, nil]
|
162
176
|
optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::Transaction::Event] }
|
163
177
|
|
164
|
-
# @!
|
165
|
-
#
|
166
|
-
#
|
167
|
-
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
# # @param status [Symbol, Lithic::Models::Transaction::Status]
|
191
|
-
# # @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
|
192
|
-
# # @param updated [Time]
|
193
|
-
# # @param events [Array<Lithic::Models::Transaction::Event>]
|
194
|
-
# #
|
195
|
-
# def initialize(
|
196
|
-
# token:,
|
197
|
-
# account_token:,
|
198
|
-
# acquirer_fee:,
|
199
|
-
# acquirer_reference_number:,
|
200
|
-
# amount:,
|
201
|
-
# amounts:,
|
202
|
-
# authorization_amount:,
|
203
|
-
# authorization_code:,
|
204
|
-
# avs:,
|
205
|
-
# card_token:,
|
206
|
-
# cardholder_authentication:,
|
207
|
-
# created:,
|
208
|
-
# merchant:,
|
209
|
-
# merchant_amount:,
|
210
|
-
# merchant_authorization_amount:,
|
211
|
-
# merchant_currency:,
|
212
|
-
# network:,
|
213
|
-
# network_risk_score:,
|
214
|
-
# pos:,
|
215
|
-
# result:,
|
216
|
-
# settled_amount:,
|
217
|
-
# status:,
|
218
|
-
# token_info:,
|
219
|
-
# updated:,
|
220
|
-
# events: nil,
|
221
|
-
# **
|
222
|
-
# )
|
223
|
-
# super
|
224
|
-
# end
|
225
|
-
|
226
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
178
|
+
# @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, token_info:, updated:, events: nil)
|
179
|
+
# @param token [String]
|
180
|
+
# @param account_token [String]
|
181
|
+
# @param acquirer_fee [Integer, nil]
|
182
|
+
# @param acquirer_reference_number [String, nil]
|
183
|
+
# @param amount [Integer]
|
184
|
+
# @param amounts [Lithic::Models::Transaction::Amounts]
|
185
|
+
# @param authorization_amount [Integer, nil]
|
186
|
+
# @param authorization_code [String, nil]
|
187
|
+
# @param avs [Lithic::Models::Transaction::Avs, nil]
|
188
|
+
# @param card_token [String]
|
189
|
+
# @param cardholder_authentication [Lithic::Models::Transaction::CardholderAuthentication, nil]
|
190
|
+
# @param created [Time]
|
191
|
+
# @param merchant [Lithic::Models::Transaction::Merchant]
|
192
|
+
# @param merchant_amount [Integer, nil]
|
193
|
+
# @param merchant_authorization_amount [Integer, nil]
|
194
|
+
# @param merchant_currency [String]
|
195
|
+
# @param network [Symbol, Lithic::Models::Transaction::Network, nil]
|
196
|
+
# @param network_risk_score [Integer, nil]
|
197
|
+
# @param pos [Lithic::Models::Transaction::Pos]
|
198
|
+
# @param result [Symbol, Lithic::Models::Transaction::Result]
|
199
|
+
# @param settled_amount [Integer]
|
200
|
+
# @param status [Symbol, Lithic::Models::Transaction::Status]
|
201
|
+
# @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
|
202
|
+
# @param updated [Time]
|
203
|
+
# @param events [Array<Lithic::Models::Transaction::Event>]
|
227
204
|
|
228
205
|
# @see Lithic::Models::Transaction#amounts
|
229
206
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -247,15 +224,11 @@ module Lithic
|
|
247
224
|
# @return [Lithic::Models::Transaction::Amounts::Settlement]
|
248
225
|
required :settlement, -> { Lithic::Models::Transaction::Amounts::Settlement }
|
249
226
|
|
250
|
-
# @!
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
# #
|
256
|
-
# def initialize(cardholder:, hold:, merchant:, settlement:, **) = super
|
257
|
-
|
258
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
227
|
+
# @!method initialize(cardholder:, hold:, merchant:, settlement:)
|
228
|
+
# @param cardholder [Lithic::Models::Transaction::Amounts::Cardholder]
|
229
|
+
# @param hold [Lithic::Models::Transaction::Amounts::Hold]
|
230
|
+
# @param merchant [Lithic::Models::Transaction::Amounts::Merchant]
|
231
|
+
# @param settlement [Lithic::Models::Transaction::Amounts::Settlement]
|
259
232
|
|
260
233
|
# @see Lithic::Models::Transaction::Amounts#cardholder
|
261
234
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
@@ -279,14 +252,10 @@ module Lithic
|
|
279
252
|
# @return [String]
|
280
253
|
required :currency, String
|
281
254
|
|
282
|
-
# @!
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
# #
|
287
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
288
|
-
|
289
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
255
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
256
|
+
# @param amount [Integer]
|
257
|
+
# @param conversion_rate [String]
|
258
|
+
# @param currency [String]
|
290
259
|
end
|
291
260
|
|
292
261
|
# @see Lithic::Models::Transaction::Amounts#hold
|
@@ -303,13 +272,9 @@ module Lithic
|
|
303
272
|
# @return [String]
|
304
273
|
required :currency, String
|
305
274
|
|
306
|
-
# @!
|
307
|
-
#
|
308
|
-
#
|
309
|
-
# #
|
310
|
-
# def initialize(amount:, currency:, **) = super
|
311
|
-
|
312
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
275
|
+
# @!method initialize(amount:, currency:)
|
276
|
+
# @param amount [Integer]
|
277
|
+
# @param currency [String]
|
313
278
|
end
|
314
279
|
|
315
280
|
# @see Lithic::Models::Transaction::Amounts#merchant
|
@@ -326,13 +291,9 @@ module Lithic
|
|
326
291
|
# @return [String]
|
327
292
|
required :currency, String
|
328
293
|
|
329
|
-
# @!
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# #
|
333
|
-
# def initialize(amount:, currency:, **) = super
|
334
|
-
|
335
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
294
|
+
# @!method initialize(amount:, currency:)
|
295
|
+
# @param amount [Integer]
|
296
|
+
# @param currency [String]
|
336
297
|
end
|
337
298
|
|
338
299
|
# @see Lithic::Models::Transaction::Amounts#settlement
|
@@ -349,13 +310,9 @@ module Lithic
|
|
349
310
|
# @return [String]
|
350
311
|
required :currency, String
|
351
312
|
|
352
|
-
# @!
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# #
|
356
|
-
# def initialize(amount:, currency:, **) = super
|
357
|
-
|
358
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
313
|
+
# @!method initialize(amount:, currency:)
|
314
|
+
# @param amount [Integer]
|
315
|
+
# @param currency [String]
|
359
316
|
end
|
360
317
|
end
|
361
318
|
|
@@ -373,13 +330,9 @@ module Lithic
|
|
373
330
|
# @return [String]
|
374
331
|
required :zipcode, String
|
375
332
|
|
376
|
-
# @!
|
377
|
-
#
|
378
|
-
#
|
379
|
-
# #
|
380
|
-
# def initialize(address:, zipcode:, **) = super
|
381
|
-
|
382
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
333
|
+
# @!method initialize(address:, zipcode:)
|
334
|
+
# @param address [String]
|
335
|
+
# @param zipcode [String]
|
383
336
|
end
|
384
337
|
|
385
338
|
# @see Lithic::Models::Transaction#cardholder_authentication
|
@@ -454,31 +407,15 @@ module Lithic
|
|
454
407
|
required :verification_result,
|
455
408
|
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::VerificationResult }
|
456
409
|
|
457
|
-
# @!
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# #
|
467
|
-
# def initialize(
|
468
|
-
# three_ds_version:,
|
469
|
-
# acquirer_exemption:,
|
470
|
-
# authentication_result:,
|
471
|
-
# decision_made_by:,
|
472
|
-
# liability_shift:,
|
473
|
-
# three_ds_authentication_token:,
|
474
|
-
# verification_attempted:,
|
475
|
-
# verification_result:,
|
476
|
-
# **
|
477
|
-
# )
|
478
|
-
# super
|
479
|
-
# end
|
480
|
-
|
481
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
410
|
+
# @!method initialize(three_ds_version:, acquirer_exemption:, authentication_result:, decision_made_by:, liability_shift:, three_ds_authentication_token:, verification_attempted:, verification_result:)
|
411
|
+
# @param three_ds_version [String, nil]
|
412
|
+
# @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption]
|
413
|
+
# @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
|
414
|
+
# @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy]
|
415
|
+
# @param liability_shift [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
|
416
|
+
# @param three_ds_authentication_token [String, nil]
|
417
|
+
# @param verification_attempted [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted]
|
418
|
+
# @param verification_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult]
|
482
419
|
|
483
420
|
# Whether an acquirer exemption applied to the transaction.
|
484
421
|
#
|
@@ -495,11 +432,8 @@ module Lithic
|
|
495
432
|
STRONG_CUSTOMER_AUTHENTICATION_DELEGATION = :STRONG_CUSTOMER_AUTHENTICATION_DELEGATION
|
496
433
|
TRANSACTION_RISK_ANALYSIS = :TRANSACTION_RISK_ANALYSIS
|
497
434
|
|
498
|
-
|
499
|
-
|
500
|
-
# @!parse
|
501
|
-
# # @return [Array<Symbol>]
|
502
|
-
# def self.values; end
|
435
|
+
# @!method self.values
|
436
|
+
# @return [Array<Symbol>]
|
503
437
|
end
|
504
438
|
|
505
439
|
# Indicates what the outcome of the 3DS authentication process is.
|
@@ -513,11 +447,8 @@ module Lithic
|
|
513
447
|
NONE = :NONE
|
514
448
|
SUCCESS = :SUCCESS
|
515
449
|
|
516
|
-
|
517
|
-
|
518
|
-
# @!parse
|
519
|
-
# # @return [Array<Symbol>]
|
520
|
-
# def self.values; end
|
450
|
+
# @!method self.values
|
451
|
+
# @return [Array<Symbol>]
|
521
452
|
end
|
522
453
|
|
523
454
|
# Indicates which party made the 3DS authentication decision.
|
@@ -532,11 +463,8 @@ module Lithic
|
|
532
463
|
NETWORK = :NETWORK
|
533
464
|
UNKNOWN = :UNKNOWN
|
534
465
|
|
535
|
-
|
536
|
-
|
537
|
-
# @!parse
|
538
|
-
# # @return [Array<Symbol>]
|
539
|
-
# def self.values; end
|
466
|
+
# @!method self.values
|
467
|
+
# @return [Array<Symbol>]
|
540
468
|
end
|
541
469
|
|
542
470
|
# Indicates whether chargeback liability shift applies to the transaction.
|
@@ -561,11 +489,8 @@ module Lithic
|
|
561
489
|
NONE = :NONE
|
562
490
|
TOKEN_AUTHENTICATED = :TOKEN_AUTHENTICATED
|
563
491
|
|
564
|
-
|
565
|
-
|
566
|
-
# @!parse
|
567
|
-
# # @return [Array<Symbol>]
|
568
|
-
# def self.values; end
|
492
|
+
# @!method self.values
|
493
|
+
# @return [Array<Symbol>]
|
569
494
|
end
|
570
495
|
|
571
496
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
@@ -578,11 +503,8 @@ module Lithic
|
|
578
503
|
NONE = :NONE
|
579
504
|
OTHER = :OTHER
|
580
505
|
|
581
|
-
|
582
|
-
|
583
|
-
# @!parse
|
584
|
-
# # @return [Array<Symbol>]
|
585
|
-
# def self.values; end
|
506
|
+
# @!method self.values
|
507
|
+
# @return [Array<Symbol>]
|
586
508
|
end
|
587
509
|
|
588
510
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
@@ -599,11 +521,8 @@ module Lithic
|
|
599
521
|
REJECTED = :REJECTED
|
600
522
|
SUCCESS = :SUCCESS
|
601
523
|
|
602
|
-
|
603
|
-
|
604
|
-
# @!parse
|
605
|
-
# # @return [Array<Symbol>]
|
606
|
-
# def self.values; end
|
524
|
+
# @!method self.values
|
525
|
+
# @return [Array<Symbol>]
|
607
526
|
end
|
608
527
|
end
|
609
528
|
|
@@ -654,18 +573,14 @@ module Lithic
|
|
654
573
|
# @return [String]
|
655
574
|
required :state, String
|
656
575
|
|
657
|
-
# @!
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
# #
|
666
|
-
# def initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:, **) = super
|
667
|
-
|
668
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
576
|
+
# @!method initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:)
|
577
|
+
# @param acceptor_id [String]
|
578
|
+
# @param acquiring_institution_id [String]
|
579
|
+
# @param city [String]
|
580
|
+
# @param country [String]
|
581
|
+
# @param descriptor [String]
|
582
|
+
# @param mcc [String]
|
583
|
+
# @param state [String]
|
669
584
|
end
|
670
585
|
|
671
586
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
@@ -682,11 +597,8 @@ module Lithic
|
|
682
597
|
UNKNOWN = :UNKNOWN
|
683
598
|
VISA = :VISA
|
684
599
|
|
685
|
-
|
686
|
-
|
687
|
-
# @!parse
|
688
|
-
# # @return [Array<Symbol>]
|
689
|
-
# def self.values; end
|
600
|
+
# @!method self.values
|
601
|
+
# @return [Array<Symbol>]
|
690
602
|
end
|
691
603
|
|
692
604
|
# @see Lithic::Models::Transaction#pos
|
@@ -701,13 +613,9 @@ module Lithic
|
|
701
613
|
# @return [Lithic::Models::Transaction::Pos::Terminal]
|
702
614
|
required :terminal, -> { Lithic::Models::Transaction::Pos::Terminal }
|
703
615
|
|
704
|
-
# @!
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# #
|
708
|
-
# def initialize(entry_mode:, terminal:, **) = super
|
709
|
-
|
710
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
616
|
+
# @!method initialize(entry_mode:, terminal:)
|
617
|
+
# @param entry_mode [Lithic::Models::Transaction::Pos::EntryMode]
|
618
|
+
# @param terminal [Lithic::Models::Transaction::Pos::Terminal]
|
711
619
|
|
712
620
|
# @see Lithic::Models::Transaction::Pos#entry_mode
|
713
621
|
class EntryMode < Lithic::Internal::Type::BaseModel
|
@@ -735,15 +643,11 @@ module Lithic
|
|
735
643
|
# @return [Boolean]
|
736
644
|
required :pin_entered, Lithic::Internal::Type::Boolean
|
737
645
|
|
738
|
-
# @!
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
# #
|
744
|
-
# def initialize(card:, cardholder:, pan:, pin_entered:, **) = super
|
745
|
-
|
746
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
646
|
+
# @!method initialize(card:, cardholder:, pan:, pin_entered:)
|
647
|
+
# @param card [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card]
|
648
|
+
# @param cardholder [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Cardholder]
|
649
|
+
# @param pan [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Pan]
|
650
|
+
# @param pin_entered [Boolean]
|
747
651
|
|
748
652
|
# Card presence indicator
|
749
653
|
#
|
@@ -756,11 +660,8 @@ module Lithic
|
|
756
660
|
PRESENT = :PRESENT
|
757
661
|
UNKNOWN = :UNKNOWN
|
758
662
|
|
759
|
-
|
760
|
-
|
761
|
-
# @!parse
|
762
|
-
# # @return [Array<Symbol>]
|
763
|
-
# def self.values; end
|
663
|
+
# @!method self.values
|
664
|
+
# @return [Array<Symbol>]
|
764
665
|
end
|
765
666
|
|
766
667
|
# Cardholder presence indicator
|
@@ -780,11 +681,8 @@ module Lithic
|
|
780
681
|
TELEPHONE_ORDER = :TELEPHONE_ORDER
|
781
682
|
UNKNOWN = :UNKNOWN
|
782
683
|
|
783
|
-
|
784
|
-
|
785
|
-
# @!parse
|
786
|
-
# # @return [Array<Symbol>]
|
787
|
-
# def self.values; end
|
684
|
+
# @!method self.values
|
685
|
+
# @return [Array<Symbol>]
|
788
686
|
end
|
789
687
|
|
790
688
|
# Method of entry for the PAN
|
@@ -809,11 +707,8 @@ module Lithic
|
|
809
707
|
UNKNOWN = :UNKNOWN
|
810
708
|
UNSPECIFIED = :UNSPECIFIED
|
811
709
|
|
812
|
-
|
813
|
-
|
814
|
-
# @!parse
|
815
|
-
# # @return [Array<Symbol>]
|
816
|
-
# def self.values; end
|
710
|
+
# @!method self.values
|
711
|
+
# @return [Array<Symbol>]
|
817
712
|
end
|
818
713
|
end
|
819
714
|
|
@@ -865,29 +760,22 @@ module Lithic
|
|
865
760
|
# @return [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
866
761
|
required :type, enum: -> { Lithic::Models::Transaction::Pos::Terminal::Type }
|
867
762
|
|
868
|
-
# @!
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
|
874
|
-
|
875
|
-
#
|
876
|
-
#
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
882
|
-
#
|
883
|
-
#
|
884
|
-
# type:,
|
885
|
-
# **
|
886
|
-
# )
|
887
|
-
# super
|
888
|
-
# end
|
889
|
-
|
890
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
763
|
+
# @!attribute acceptor_terminal_id
|
764
|
+
# Uniquely identifies a terminal at the card acceptor location of acquiring
|
765
|
+
# institutions or merchant POS Systems
|
766
|
+
#
|
767
|
+
# @return [String, nil]
|
768
|
+
optional :acceptor_terminal_id, String, nil?: true
|
769
|
+
|
770
|
+
# @!method initialize(attended:, card_retention_capable:, on_premise:, operator:, partial_approval_capable:, pin_capability:, type:, acceptor_terminal_id: nil)
|
771
|
+
# @param attended [Boolean]
|
772
|
+
# @param card_retention_capable [Boolean]
|
773
|
+
# @param on_premise [Boolean]
|
774
|
+
# @param operator [Symbol, Lithic::Models::Transaction::Pos::Terminal::Operator]
|
775
|
+
# @param partial_approval_capable [Boolean]
|
776
|
+
# @param pin_capability [Symbol, Lithic::Models::Transaction::Pos::Terminal::PinCapability]
|
777
|
+
# @param type [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
778
|
+
# @param acceptor_terminal_id [String, nil]
|
891
779
|
|
892
780
|
# The person that is designated to swipe the card
|
893
781
|
#
|
@@ -900,11 +788,8 @@ module Lithic
|
|
900
788
|
CARD_ACCEPTOR = :CARD_ACCEPTOR
|
901
789
|
UNKNOWN = :UNKNOWN
|
902
790
|
|
903
|
-
|
904
|
-
|
905
|
-
# @!parse
|
906
|
-
# # @return [Array<Symbol>]
|
907
|
-
# def self.values; end
|
791
|
+
# @!method self.values
|
792
|
+
# @return [Array<Symbol>]
|
908
793
|
end
|
909
794
|
|
910
795
|
# Status of whether the POS is able to accept PINs
|
@@ -918,11 +803,8 @@ module Lithic
|
|
918
803
|
NOT_CAPABLE = :NOT_CAPABLE
|
919
804
|
UNSPECIFIED = :UNSPECIFIED
|
920
805
|
|
921
|
-
|
922
|
-
|
923
|
-
# @!parse
|
924
|
-
# # @return [Array<Symbol>]
|
925
|
-
# def self.values; end
|
806
|
+
# @!method self.values
|
807
|
+
# @return [Array<Symbol>]
|
926
808
|
end
|
927
809
|
|
928
810
|
# POS Type
|
@@ -956,11 +838,8 @@ module Lithic
|
|
956
838
|
VOICE = :VOICE
|
957
839
|
UNKNOWN = :UNKNOWN
|
958
840
|
|
959
|
-
|
960
|
-
|
961
|
-
# @!parse
|
962
|
-
# # @return [Array<Symbol>]
|
963
|
-
# def self.values; end
|
841
|
+
# @!method self.values
|
842
|
+
# @return [Array<Symbol>]
|
964
843
|
end
|
965
844
|
end
|
966
845
|
end
|
@@ -993,11 +872,8 @@ module Lithic
|
|
993
872
|
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
994
873
|
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
995
874
|
|
996
|
-
|
997
|
-
|
998
|
-
# @!parse
|
999
|
-
# # @return [Array<Symbol>]
|
1000
|
-
# def self.values; end
|
875
|
+
# @!method self.values
|
876
|
+
# @return [Array<Symbol>]
|
1001
877
|
end
|
1002
878
|
|
1003
879
|
# Status of the transaction.
|
@@ -1012,11 +888,8 @@ module Lithic
|
|
1012
888
|
SETTLED = :SETTLED
|
1013
889
|
VOIDED = :VOIDED
|
1014
890
|
|
1015
|
-
|
1016
|
-
|
1017
|
-
# @!parse
|
1018
|
-
# # @return [Array<Symbol>]
|
1019
|
-
# def self.values; end
|
891
|
+
# @!method self.values
|
892
|
+
# @return [Array<Symbol>]
|
1020
893
|
end
|
1021
894
|
|
1022
895
|
# @see Lithic::Models::Transaction#token_info
|
@@ -1030,12 +903,8 @@ module Lithic
|
|
1030
903
|
# @return [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
1031
904
|
required :wallet_type, enum: -> { Lithic::Models::Transaction::TokenInfo::WalletType }
|
1032
905
|
|
1033
|
-
# @!
|
1034
|
-
#
|
1035
|
-
# #
|
1036
|
-
# def initialize(wallet_type:, **) = super
|
1037
|
-
|
1038
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
906
|
+
# @!method initialize(wallet_type:)
|
907
|
+
# @param wallet_type [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
1039
908
|
|
1040
909
|
# The wallet_type field will indicate the source of the token. Possible token
|
1041
910
|
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
@@ -1053,11 +922,8 @@ module Lithic
|
|
1053
922
|
OTHER = :OTHER
|
1054
923
|
SAMSUNG_PAY = :SAMSUNG_PAY
|
1055
924
|
|
1056
|
-
|
1057
|
-
|
1058
|
-
# @!parse
|
1059
|
-
# # @return [Array<Symbol>]
|
1060
|
-
# def self.values; end
|
925
|
+
# @!method self.values
|
926
|
+
# @return [Array<Symbol>]
|
1061
927
|
end
|
1062
928
|
end
|
1063
929
|
|
@@ -1069,6 +935,8 @@ module Lithic
|
|
1069
935
|
required :token, String
|
1070
936
|
|
1071
937
|
# @!attribute amount
|
938
|
+
# @deprecated
|
939
|
+
#
|
1072
940
|
# Amount of the event in the settlement currency.
|
1073
941
|
#
|
1074
942
|
# @return [Integer]
|
@@ -1128,35 +996,23 @@ module Lithic
|
|
1128
996
|
# @return [Symbol, Lithic::Models::Transaction::Event::Type]
|
1129
997
|
required :type, enum: -> { Lithic::Models::Transaction::Event::Type }
|
1130
998
|
|
1131
|
-
# @!
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
|
1135
|
-
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
#
|
1143
|
-
#
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
#
|
1148
|
-
# detailed_results:,
|
1149
|
-
# effective_polarity:,
|
1150
|
-
# network_info:,
|
1151
|
-
# result:,
|
1152
|
-
# rule_results:,
|
1153
|
-
# type:,
|
1154
|
-
# **
|
1155
|
-
# )
|
1156
|
-
# super
|
1157
|
-
# end
|
1158
|
-
|
1159
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
999
|
+
# @!attribute network_specific_data
|
1000
|
+
#
|
1001
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData, nil]
|
1002
|
+
optional :network_specific_data, -> { Lithic::Models::Transaction::Event::NetworkSpecificData }
|
1003
|
+
|
1004
|
+
# @!method initialize(token:, amount:, amounts:, created:, detailed_results:, effective_polarity:, network_info:, result:, rule_results:, type:, network_specific_data: nil)
|
1005
|
+
# @param token [String]
|
1006
|
+
# @param amount [Integer]
|
1007
|
+
# @param amounts [Lithic::Models::Transaction::Event::Amounts]
|
1008
|
+
# @param created [Time]
|
1009
|
+
# @param detailed_results [Array<Symbol, Lithic::Models::Transaction::Event::DetailedResult>]
|
1010
|
+
# @param effective_polarity [Symbol, Lithic::Models::Transaction::Event::EffectivePolarity]
|
1011
|
+
# @param network_info [Lithic::Models::Transaction::Event::NetworkInfo, nil]
|
1012
|
+
# @param result [Symbol, Lithic::Models::Transaction::Event::Result]
|
1013
|
+
# @param rule_results [Array<Lithic::Models::Transaction::Event::RuleResult>]
|
1014
|
+
# @param type [Symbol, Lithic::Models::Transaction::Event::Type]
|
1015
|
+
# @param network_specific_data [Lithic::Models::Transaction::Event::NetworkSpecificData]
|
1160
1016
|
|
1161
1017
|
# @see Lithic::Models::Transaction::Event#amounts
|
1162
1018
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -1175,14 +1031,10 @@ module Lithic
|
|
1175
1031
|
# @return [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1176
1032
|
required :settlement, -> { Lithic::Models::Transaction::Event::Amounts::Settlement }, nil?: true
|
1177
1033
|
|
1178
|
-
# @!
|
1179
|
-
#
|
1180
|
-
#
|
1181
|
-
#
|
1182
|
-
# #
|
1183
|
-
# def initialize(cardholder:, merchant:, settlement:, **) = super
|
1184
|
-
|
1185
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1034
|
+
# @!method initialize(cardholder:, merchant:, settlement:)
|
1035
|
+
# @param cardholder [Lithic::Models::Transaction::Event::Amounts::Cardholder]
|
1036
|
+
# @param merchant [Lithic::Models::Transaction::Event::Amounts::Merchant]
|
1037
|
+
# @param settlement [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1186
1038
|
|
1187
1039
|
# @see Lithic::Models::Transaction::Event::Amounts#cardholder
|
1188
1040
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
@@ -1205,14 +1057,10 @@ module Lithic
|
|
1205
1057
|
# @return [String]
|
1206
1058
|
required :currency, String
|
1207
1059
|
|
1208
|
-
# @!
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
# #
|
1213
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1214
|
-
|
1215
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1060
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
1061
|
+
# @param amount [Integer]
|
1062
|
+
# @param conversion_rate [String]
|
1063
|
+
# @param currency [String]
|
1216
1064
|
end
|
1217
1065
|
|
1218
1066
|
# @see Lithic::Models::Transaction::Event::Amounts#merchant
|
@@ -1229,13 +1077,9 @@ module Lithic
|
|
1229
1077
|
# @return [String]
|
1230
1078
|
required :currency, String
|
1231
1079
|
|
1232
|
-
# @!
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
# #
|
1236
|
-
# def initialize(amount:, currency:, **) = super
|
1237
|
-
|
1238
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1080
|
+
# @!method initialize(amount:, currency:)
|
1081
|
+
# @param amount [Integer]
|
1082
|
+
# @param currency [String]
|
1239
1083
|
end
|
1240
1084
|
|
1241
1085
|
# @see Lithic::Models::Transaction::Event::Amounts#settlement
|
@@ -1259,14 +1103,10 @@ module Lithic
|
|
1259
1103
|
# @return [String]
|
1260
1104
|
required :currency, String
|
1261
1105
|
|
1262
|
-
# @!
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1266
|
-
# #
|
1267
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1268
|
-
|
1269
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1106
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
1107
|
+
# @param amount [Integer]
|
1108
|
+
# @param conversion_rate [String]
|
1109
|
+
# @param currency [String]
|
1270
1110
|
end
|
1271
1111
|
end
|
1272
1112
|
|
@@ -1326,11 +1166,8 @@ module Lithic
|
|
1326
1166
|
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1327
1167
|
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1328
1168
|
|
1329
|
-
|
1330
|
-
|
1331
|
-
# @!parse
|
1332
|
-
# # @return [Array<Symbol>]
|
1333
|
-
# def self.values; end
|
1169
|
+
# @!method self.values
|
1170
|
+
# @return [Array<Symbol>]
|
1334
1171
|
end
|
1335
1172
|
|
1336
1173
|
# Indicates whether the transaction event is a credit or debit to the account.
|
@@ -1342,11 +1179,8 @@ module Lithic
|
|
1342
1179
|
CREDIT = :CREDIT
|
1343
1180
|
DEBIT = :DEBIT
|
1344
1181
|
|
1345
|
-
|
1346
|
-
|
1347
|
-
# @!parse
|
1348
|
-
# # @return [Array<Symbol>]
|
1349
|
-
# def self.values; end
|
1182
|
+
# @!method self.values
|
1183
|
+
# @return [Array<Symbol>]
|
1350
1184
|
end
|
1351
1185
|
|
1352
1186
|
# @see Lithic::Models::Transaction::Event#network_info
|
@@ -1366,24 +1200,20 @@ module Lithic
|
|
1366
1200
|
# @return [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1367
1201
|
required :visa, -> { Lithic::Models::Transaction::Event::NetworkInfo::Visa }, nil?: true
|
1368
1202
|
|
1369
|
-
# @!
|
1370
|
-
#
|
1371
|
-
#
|
1372
|
-
#
|
1373
|
-
#
|
1374
|
-
#
|
1375
|
-
#
|
1376
|
-
#
|
1377
|
-
#
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
#
|
1381
|
-
#
|
1382
|
-
#
|
1383
|
-
# #
|
1384
|
-
# def initialize(acquirer:, mastercard:, visa:, **) = super
|
1385
|
-
|
1386
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1203
|
+
# @!method initialize(acquirer:, mastercard:, visa:)
|
1204
|
+
# Information provided by the card network in each event. This includes common
|
1205
|
+
# identifiers shared between you, Lithic, the card network and in some cases the
|
1206
|
+
# acquirer. These identifiers often link together events within the same
|
1207
|
+
# transaction lifecycle and can be used to locate a particular transaction, such
|
1208
|
+
# as during processing of disputes. Not all fields are available in all events,
|
1209
|
+
# and the presence of these fields is dependent on the card network and the event
|
1210
|
+
# type. If the field is populated by the network, we will pass it through as is
|
1211
|
+
# unless otherwise specified. Please consult the official network documentation
|
1212
|
+
# for more details about these fields and how to use them.
|
1213
|
+
#
|
1214
|
+
# @param acquirer [Lithic::Models::Transaction::Event::NetworkInfo::Acquirer, nil]
|
1215
|
+
# @param mastercard [Lithic::Models::Transaction::Event::NetworkInfo::Mastercard, nil]
|
1216
|
+
# @param visa [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1387
1217
|
|
1388
1218
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#acquirer
|
1389
1219
|
class Acquirer < Lithic::Internal::Type::BaseModel
|
@@ -1403,13 +1233,9 @@ module Lithic
|
|
1403
1233
|
# @return [String, nil]
|
1404
1234
|
required :retrieval_reference_number, String, nil?: true
|
1405
1235
|
|
1406
|
-
# @!
|
1407
|
-
#
|
1408
|
-
#
|
1409
|
-
# #
|
1410
|
-
# def initialize(acquirer_reference_number:, retrieval_reference_number:, **) = super
|
1411
|
-
|
1412
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1236
|
+
# @!method initialize(acquirer_reference_number:, retrieval_reference_number:)
|
1237
|
+
# @param acquirer_reference_number [String, nil]
|
1238
|
+
# @param retrieval_reference_number [String, nil]
|
1413
1239
|
end
|
1414
1240
|
|
1415
1241
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#mastercard
|
@@ -1452,23 +1278,11 @@ module Lithic
|
|
1452
1278
|
# @return [String, nil]
|
1453
1279
|
required :switch_serial_number, String, nil?: true
|
1454
1280
|
|
1455
|
-
# @!
|
1456
|
-
#
|
1457
|
-
#
|
1458
|
-
#
|
1459
|
-
#
|
1460
|
-
# #
|
1461
|
-
# def initialize(
|
1462
|
-
# banknet_reference_number:,
|
1463
|
-
# original_banknet_reference_number:,
|
1464
|
-
# original_switch_serial_number:,
|
1465
|
-
# switch_serial_number:,
|
1466
|
-
# **
|
1467
|
-
# )
|
1468
|
-
# super
|
1469
|
-
# end
|
1470
|
-
|
1471
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1281
|
+
# @!method initialize(banknet_reference_number:, original_banknet_reference_number:, original_switch_serial_number:, switch_serial_number:)
|
1282
|
+
# @param banknet_reference_number [String, nil]
|
1283
|
+
# @param original_banknet_reference_number [String, nil]
|
1284
|
+
# @param original_switch_serial_number [String, nil]
|
1285
|
+
# @param switch_serial_number [String, nil]
|
1472
1286
|
end
|
1473
1287
|
|
1474
1288
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#visa
|
@@ -1490,13 +1304,9 @@ module Lithic
|
|
1490
1304
|
# @return [String, nil]
|
1491
1305
|
required :transaction_id, String, nil?: true
|
1492
1306
|
|
1493
|
-
# @!
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# #
|
1497
|
-
# def initialize(original_transaction_id:, transaction_id:, **) = super
|
1498
|
-
|
1499
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1307
|
+
# @!method initialize(original_transaction_id:, transaction_id:)
|
1308
|
+
# @param original_transaction_id [String, nil]
|
1309
|
+
# @param transaction_id [String, nil]
|
1500
1310
|
end
|
1501
1311
|
end
|
1502
1312
|
|
@@ -1528,11 +1338,8 @@ module Lithic
|
|
1528
1338
|
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
1529
1339
|
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
1530
1340
|
|
1531
|
-
|
1532
|
-
|
1533
|
-
# @!parse
|
1534
|
-
# # @return [Array<Symbol>]
|
1535
|
-
# def self.values; end
|
1341
|
+
# @!method self.values
|
1342
|
+
# @return [Array<Symbol>]
|
1536
1343
|
end
|
1537
1344
|
|
1538
1345
|
class RuleResult < Lithic::Internal::Type::BaseModel
|
@@ -1563,15 +1370,11 @@ module Lithic
|
|
1563
1370
|
# @return [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1564
1371
|
required :result, enum: -> { Lithic::Models::Transaction::Event::RuleResult::Result }
|
1565
1372
|
|
1566
|
-
# @!
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
# #
|
1572
|
-
# def initialize(auth_rule_token:, explanation:, name:, result:, **) = super
|
1573
|
-
|
1574
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1373
|
+
# @!method initialize(auth_rule_token:, explanation:, name:, result:)
|
1374
|
+
# @param auth_rule_token [String, nil]
|
1375
|
+
# @param explanation [String, nil]
|
1376
|
+
# @param name [String, nil]
|
1377
|
+
# @param result [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1575
1378
|
|
1576
1379
|
# The detailed_result associated with this rule's decline.
|
1577
1380
|
#
|
@@ -1632,11 +1435,8 @@ module Lithic
|
|
1632
1435
|
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1633
1436
|
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1634
1437
|
|
1635
|
-
|
1636
|
-
|
1637
|
-
# @!parse
|
1638
|
-
# # @return [Array<Symbol>]
|
1639
|
-
# def self.values; end
|
1438
|
+
# @!method self.values
|
1439
|
+
# @return [Array<Symbol>]
|
1640
1440
|
end
|
1641
1441
|
end
|
1642
1442
|
|
@@ -1661,11 +1461,93 @@ module Lithic
|
|
1661
1461
|
RETURN = :RETURN
|
1662
1462
|
RETURN_REVERSAL = :RETURN_REVERSAL
|
1663
1463
|
|
1664
|
-
|
1464
|
+
# @!method self.values
|
1465
|
+
# @return [Array<Symbol>]
|
1466
|
+
end
|
1665
1467
|
|
1666
|
-
|
1667
|
-
|
1668
|
-
#
|
1468
|
+
# @see Lithic::Models::Transaction::Event#network_specific_data
|
1469
|
+
class NetworkSpecificData < Lithic::Internal::Type::BaseModel
|
1470
|
+
# @!attribute mastercard
|
1471
|
+
#
|
1472
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard]
|
1473
|
+
required :mastercard, -> { Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard }
|
1474
|
+
|
1475
|
+
# @!attribute visa
|
1476
|
+
#
|
1477
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData::Visa]
|
1478
|
+
required :visa, -> { Lithic::Models::Transaction::Event::NetworkSpecificData::Visa }
|
1479
|
+
|
1480
|
+
# @!method initialize(mastercard:, visa:)
|
1481
|
+
# @param mastercard [Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard]
|
1482
|
+
# @param visa [Lithic::Models::Transaction::Event::NetworkSpecificData::Visa]
|
1483
|
+
|
1484
|
+
# @see Lithic::Models::Transaction::Event::NetworkSpecificData#mastercard
|
1485
|
+
class Mastercard < Lithic::Internal::Type::BaseModel
|
1486
|
+
# @!attribute ecommerce_security_level_indicator
|
1487
|
+
# Indicates the electronic commerce security level and UCAF collection.
|
1488
|
+
#
|
1489
|
+
# @return [String, nil]
|
1490
|
+
required :ecommerce_security_level_indicator, String, nil?: true
|
1491
|
+
|
1492
|
+
# @!attribute on_behalf_service_result
|
1493
|
+
# The On-behalf Service performed on the transaction and the results. Contains all
|
1494
|
+
# applicable, on-behalf service results that were performed on a given
|
1495
|
+
# transaction.
|
1496
|
+
#
|
1497
|
+
# @return [Array<Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil]
|
1498
|
+
required :on_behalf_service_result,
|
1499
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult] },
|
1500
|
+
nil?: true
|
1501
|
+
|
1502
|
+
# @!attribute transaction_type_identifier
|
1503
|
+
# Indicates the type of additional transaction purpose.
|
1504
|
+
#
|
1505
|
+
# @return [String, nil]
|
1506
|
+
required :transaction_type_identifier, String, nil?: true
|
1507
|
+
|
1508
|
+
# @!method initialize(ecommerce_security_level_indicator:, on_behalf_service_result:, transaction_type_identifier:)
|
1509
|
+
# @param ecommerce_security_level_indicator [String, nil]
|
1510
|
+
# @param on_behalf_service_result [Array<Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil]
|
1511
|
+
# @param transaction_type_identifier [String, nil]
|
1512
|
+
|
1513
|
+
class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
|
1514
|
+
# @!attribute result_1
|
1515
|
+
# Indicates the results of the service processing.
|
1516
|
+
#
|
1517
|
+
# @return [String]
|
1518
|
+
required :result_1, String
|
1519
|
+
|
1520
|
+
# @!attribute result_2
|
1521
|
+
# Identifies the results of the service processing.
|
1522
|
+
#
|
1523
|
+
# @return [String]
|
1524
|
+
required :result_2, String
|
1525
|
+
|
1526
|
+
# @!attribute service
|
1527
|
+
# Indicates the service performed on the transaction.
|
1528
|
+
#
|
1529
|
+
# @return [String]
|
1530
|
+
required :service, String
|
1531
|
+
|
1532
|
+
# @!method initialize(result_1:, result_2:, service:)
|
1533
|
+
# @param result_1 [String]
|
1534
|
+
# @param result_2 [String]
|
1535
|
+
# @param service [String]
|
1536
|
+
end
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
# @see Lithic::Models::Transaction::Event::NetworkSpecificData#visa
|
1540
|
+
class Visa < Lithic::Internal::Type::BaseModel
|
1541
|
+
# @!attribute business_application_identifier
|
1542
|
+
# Identifies the purpose or category of a transaction, used to classify and
|
1543
|
+
# process transactions according to Visa’s rules.
|
1544
|
+
#
|
1545
|
+
# @return [String, nil]
|
1546
|
+
required :business_application_identifier, String, nil?: true
|
1547
|
+
|
1548
|
+
# @!method initialize(business_application_identifier:)
|
1549
|
+
# @param business_application_identifier [String, nil]
|
1550
|
+
end
|
1669
1551
|
end
|
1670
1552
|
end
|
1671
1553
|
end
|