lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/lithic/internal/type/base_model.rb +33 -15
- data/lib/lithic/internal/type/enum.rb +1 -6
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/models/account.rb +39 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +125 -312
- data/lib/lithic/models/account_holder_create_params.rb +97 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +130 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +33 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +391 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +390 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +374 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +390 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +390 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +390 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +71 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +12 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +279 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lib/lithic/internal/type/base_model.rbi +10 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +0 -6
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/base_model.rbs +6 -0
- data/sig/lithic/internal/type/enum.rbs +0 -2
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -156,74 +156,37 @@ module Lithic
|
|
156
156
|
# @return [Time]
|
157
157
|
required :updated, Time
|
158
158
|
|
159
|
-
# @!attribute
|
159
|
+
# @!attribute events
|
160
160
|
#
|
161
161
|
# @return [Array<Lithic::Models::Transaction::Event>, nil]
|
162
162
|
optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::Transaction::Event] }
|
163
163
|
|
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
|
164
|
+
# @!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)
|
165
|
+
# @param token [String]
|
166
|
+
# @param account_token [String]
|
167
|
+
# @param acquirer_fee [Integer, nil]
|
168
|
+
# @param acquirer_reference_number [String, nil]
|
169
|
+
# @param amount [Integer]
|
170
|
+
# @param amounts [Lithic::Models::Transaction::Amounts]
|
171
|
+
# @param authorization_amount [Integer, nil]
|
172
|
+
# @param authorization_code [String, nil]
|
173
|
+
# @param avs [Lithic::Models::Transaction::Avs, nil]
|
174
|
+
# @param card_token [String]
|
175
|
+
# @param cardholder_authentication [Lithic::Models::Transaction::CardholderAuthentication, nil]
|
176
|
+
# @param created [Time]
|
177
|
+
# @param merchant [Lithic::Models::Transaction::Merchant]
|
178
|
+
# @param merchant_amount [Integer, nil]
|
179
|
+
# @param merchant_authorization_amount [Integer, nil]
|
180
|
+
# @param merchant_currency [String]
|
181
|
+
# @param network [Symbol, Lithic::Models::Transaction::Network, nil]
|
182
|
+
# @param network_risk_score [Integer, nil]
|
183
|
+
# @param pos [Lithic::Models::Transaction::Pos]
|
184
|
+
# @param result [Symbol, Lithic::Models::Transaction::Result]
|
185
|
+
# @param settled_amount [Integer]
|
186
|
+
# @param status [Symbol, Lithic::Models::Transaction::Status]
|
187
|
+
# @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
|
188
|
+
# @param updated [Time]
|
189
|
+
# @param events [Array<Lithic::Models::Transaction::Event>]
|
227
190
|
|
228
191
|
# @see Lithic::Models::Transaction#amounts
|
229
192
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -247,15 +210,11 @@ module Lithic
|
|
247
210
|
# @return [Lithic::Models::Transaction::Amounts::Settlement]
|
248
211
|
required :settlement, -> { Lithic::Models::Transaction::Amounts::Settlement }
|
249
212
|
|
250
|
-
# @!
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
# #
|
256
|
-
# def initialize(cardholder:, hold:, merchant:, settlement:, **) = super
|
257
|
-
|
258
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
213
|
+
# @!method initialize(cardholder:, hold:, merchant:, settlement:)
|
214
|
+
# @param cardholder [Lithic::Models::Transaction::Amounts::Cardholder]
|
215
|
+
# @param hold [Lithic::Models::Transaction::Amounts::Hold]
|
216
|
+
# @param merchant [Lithic::Models::Transaction::Amounts::Merchant]
|
217
|
+
# @param settlement [Lithic::Models::Transaction::Amounts::Settlement]
|
259
218
|
|
260
219
|
# @see Lithic::Models::Transaction::Amounts#cardholder
|
261
220
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
@@ -279,14 +238,10 @@ module Lithic
|
|
279
238
|
# @return [String]
|
280
239
|
required :currency, String
|
281
240
|
|
282
|
-
# @!
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
# #
|
287
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
288
|
-
|
289
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
241
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
242
|
+
# @param amount [Integer]
|
243
|
+
# @param conversion_rate [String]
|
244
|
+
# @param currency [String]
|
290
245
|
end
|
291
246
|
|
292
247
|
# @see Lithic::Models::Transaction::Amounts#hold
|
@@ -303,13 +258,9 @@ module Lithic
|
|
303
258
|
# @return [String]
|
304
259
|
required :currency, String
|
305
260
|
|
306
|
-
# @!
|
307
|
-
#
|
308
|
-
#
|
309
|
-
# #
|
310
|
-
# def initialize(amount:, currency:, **) = super
|
311
|
-
|
312
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
261
|
+
# @!method initialize(amount:, currency:)
|
262
|
+
# @param amount [Integer]
|
263
|
+
# @param currency [String]
|
313
264
|
end
|
314
265
|
|
315
266
|
# @see Lithic::Models::Transaction::Amounts#merchant
|
@@ -326,13 +277,9 @@ module Lithic
|
|
326
277
|
# @return [String]
|
327
278
|
required :currency, String
|
328
279
|
|
329
|
-
# @!
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# #
|
333
|
-
# def initialize(amount:, currency:, **) = super
|
334
|
-
|
335
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
280
|
+
# @!method initialize(amount:, currency:)
|
281
|
+
# @param amount [Integer]
|
282
|
+
# @param currency [String]
|
336
283
|
end
|
337
284
|
|
338
285
|
# @see Lithic::Models::Transaction::Amounts#settlement
|
@@ -349,13 +296,9 @@ module Lithic
|
|
349
296
|
# @return [String]
|
350
297
|
required :currency, String
|
351
298
|
|
352
|
-
# @!
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# #
|
356
|
-
# def initialize(amount:, currency:, **) = super
|
357
|
-
|
358
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
299
|
+
# @!method initialize(amount:, currency:)
|
300
|
+
# @param amount [Integer]
|
301
|
+
# @param currency [String]
|
359
302
|
end
|
360
303
|
end
|
361
304
|
|
@@ -373,13 +316,9 @@ module Lithic
|
|
373
316
|
# @return [String]
|
374
317
|
required :zipcode, String
|
375
318
|
|
376
|
-
# @!
|
377
|
-
#
|
378
|
-
#
|
379
|
-
# #
|
380
|
-
# def initialize(address:, zipcode:, **) = super
|
381
|
-
|
382
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
319
|
+
# @!method initialize(address:, zipcode:)
|
320
|
+
# @param address [String]
|
321
|
+
# @param zipcode [String]
|
383
322
|
end
|
384
323
|
|
385
324
|
# @see Lithic::Models::Transaction#cardholder_authentication
|
@@ -454,31 +393,15 @@ module Lithic
|
|
454
393
|
required :verification_result,
|
455
394
|
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::VerificationResult }
|
456
395
|
|
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
|
396
|
+
# @!method initialize(three_ds_version:, acquirer_exemption:, authentication_result:, decision_made_by:, liability_shift:, three_ds_authentication_token:, verification_attempted:, verification_result:)
|
397
|
+
# @param three_ds_version [String, nil]
|
398
|
+
# @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption]
|
399
|
+
# @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
|
400
|
+
# @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy]
|
401
|
+
# @param liability_shift [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
|
402
|
+
# @param three_ds_authentication_token [String, nil]
|
403
|
+
# @param verification_attempted [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted]
|
404
|
+
# @param verification_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult]
|
482
405
|
|
483
406
|
# Whether an acquirer exemption applied to the transaction.
|
484
407
|
#
|
@@ -495,11 +418,8 @@ module Lithic
|
|
495
418
|
STRONG_CUSTOMER_AUTHENTICATION_DELEGATION = :STRONG_CUSTOMER_AUTHENTICATION_DELEGATION
|
496
419
|
TRANSACTION_RISK_ANALYSIS = :TRANSACTION_RISK_ANALYSIS
|
497
420
|
|
498
|
-
|
499
|
-
|
500
|
-
# @!parse
|
501
|
-
# # @return [Array<Symbol>]
|
502
|
-
# def self.values; end
|
421
|
+
# @!method self.values
|
422
|
+
# @return [Array<Symbol>]
|
503
423
|
end
|
504
424
|
|
505
425
|
# Indicates what the outcome of the 3DS authentication process is.
|
@@ -513,11 +433,8 @@ module Lithic
|
|
513
433
|
NONE = :NONE
|
514
434
|
SUCCESS = :SUCCESS
|
515
435
|
|
516
|
-
|
517
|
-
|
518
|
-
# @!parse
|
519
|
-
# # @return [Array<Symbol>]
|
520
|
-
# def self.values; end
|
436
|
+
# @!method self.values
|
437
|
+
# @return [Array<Symbol>]
|
521
438
|
end
|
522
439
|
|
523
440
|
# Indicates which party made the 3DS authentication decision.
|
@@ -532,11 +449,8 @@ module Lithic
|
|
532
449
|
NETWORK = :NETWORK
|
533
450
|
UNKNOWN = :UNKNOWN
|
534
451
|
|
535
|
-
|
536
|
-
|
537
|
-
# @!parse
|
538
|
-
# # @return [Array<Symbol>]
|
539
|
-
# def self.values; end
|
452
|
+
# @!method self.values
|
453
|
+
# @return [Array<Symbol>]
|
540
454
|
end
|
541
455
|
|
542
456
|
# Indicates whether chargeback liability shift applies to the transaction.
|
@@ -561,11 +475,8 @@ module Lithic
|
|
561
475
|
NONE = :NONE
|
562
476
|
TOKEN_AUTHENTICATED = :TOKEN_AUTHENTICATED
|
563
477
|
|
564
|
-
|
565
|
-
|
566
|
-
# @!parse
|
567
|
-
# # @return [Array<Symbol>]
|
568
|
-
# def self.values; end
|
478
|
+
# @!method self.values
|
479
|
+
# @return [Array<Symbol>]
|
569
480
|
end
|
570
481
|
|
571
482
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
@@ -578,11 +489,8 @@ module Lithic
|
|
578
489
|
NONE = :NONE
|
579
490
|
OTHER = :OTHER
|
580
491
|
|
581
|
-
|
582
|
-
|
583
|
-
# @!parse
|
584
|
-
# # @return [Array<Symbol>]
|
585
|
-
# def self.values; end
|
492
|
+
# @!method self.values
|
493
|
+
# @return [Array<Symbol>]
|
586
494
|
end
|
587
495
|
|
588
496
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
@@ -599,11 +507,8 @@ module Lithic
|
|
599
507
|
REJECTED = :REJECTED
|
600
508
|
SUCCESS = :SUCCESS
|
601
509
|
|
602
|
-
|
603
|
-
|
604
|
-
# @!parse
|
605
|
-
# # @return [Array<Symbol>]
|
606
|
-
# def self.values; end
|
510
|
+
# @!method self.values
|
511
|
+
# @return [Array<Symbol>]
|
607
512
|
end
|
608
513
|
end
|
609
514
|
|
@@ -654,18 +559,14 @@ module Lithic
|
|
654
559
|
# @return [String]
|
655
560
|
required :state, String
|
656
561
|
|
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
|
562
|
+
# @!method initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:)
|
563
|
+
# @param acceptor_id [String]
|
564
|
+
# @param acquiring_institution_id [String]
|
565
|
+
# @param city [String]
|
566
|
+
# @param country [String]
|
567
|
+
# @param descriptor [String]
|
568
|
+
# @param mcc [String]
|
569
|
+
# @param state [String]
|
669
570
|
end
|
670
571
|
|
671
572
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
@@ -682,11 +583,8 @@ module Lithic
|
|
682
583
|
UNKNOWN = :UNKNOWN
|
683
584
|
VISA = :VISA
|
684
585
|
|
685
|
-
|
686
|
-
|
687
|
-
# @!parse
|
688
|
-
# # @return [Array<Symbol>]
|
689
|
-
# def self.values; end
|
586
|
+
# @!method self.values
|
587
|
+
# @return [Array<Symbol>]
|
690
588
|
end
|
691
589
|
|
692
590
|
# @see Lithic::Models::Transaction#pos
|
@@ -701,13 +599,9 @@ module Lithic
|
|
701
599
|
# @return [Lithic::Models::Transaction::Pos::Terminal]
|
702
600
|
required :terminal, -> { Lithic::Models::Transaction::Pos::Terminal }
|
703
601
|
|
704
|
-
# @!
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# #
|
708
|
-
# def initialize(entry_mode:, terminal:, **) = super
|
709
|
-
|
710
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
602
|
+
# @!method initialize(entry_mode:, terminal:)
|
603
|
+
# @param entry_mode [Lithic::Models::Transaction::Pos::EntryMode]
|
604
|
+
# @param terminal [Lithic::Models::Transaction::Pos::Terminal]
|
711
605
|
|
712
606
|
# @see Lithic::Models::Transaction::Pos#entry_mode
|
713
607
|
class EntryMode < Lithic::Internal::Type::BaseModel
|
@@ -735,15 +629,11 @@ module Lithic
|
|
735
629
|
# @return [Boolean]
|
736
630
|
required :pin_entered, Lithic::Internal::Type::Boolean
|
737
631
|
|
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
|
632
|
+
# @!method initialize(card:, cardholder:, pan:, pin_entered:)
|
633
|
+
# @param card [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card]
|
634
|
+
# @param cardholder [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Cardholder]
|
635
|
+
# @param pan [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Pan]
|
636
|
+
# @param pin_entered [Boolean]
|
747
637
|
|
748
638
|
# Card presence indicator
|
749
639
|
#
|
@@ -756,11 +646,8 @@ module Lithic
|
|
756
646
|
PRESENT = :PRESENT
|
757
647
|
UNKNOWN = :UNKNOWN
|
758
648
|
|
759
|
-
|
760
|
-
|
761
|
-
# @!parse
|
762
|
-
# # @return [Array<Symbol>]
|
763
|
-
# def self.values; end
|
649
|
+
# @!method self.values
|
650
|
+
# @return [Array<Symbol>]
|
764
651
|
end
|
765
652
|
|
766
653
|
# Cardholder presence indicator
|
@@ -780,11 +667,8 @@ module Lithic
|
|
780
667
|
TELEPHONE_ORDER = :TELEPHONE_ORDER
|
781
668
|
UNKNOWN = :UNKNOWN
|
782
669
|
|
783
|
-
|
784
|
-
|
785
|
-
# @!parse
|
786
|
-
# # @return [Array<Symbol>]
|
787
|
-
# def self.values; end
|
670
|
+
# @!method self.values
|
671
|
+
# @return [Array<Symbol>]
|
788
672
|
end
|
789
673
|
|
790
674
|
# Method of entry for the PAN
|
@@ -809,11 +693,8 @@ module Lithic
|
|
809
693
|
UNKNOWN = :UNKNOWN
|
810
694
|
UNSPECIFIED = :UNSPECIFIED
|
811
695
|
|
812
|
-
|
813
|
-
|
814
|
-
# @!parse
|
815
|
-
# # @return [Array<Symbol>]
|
816
|
-
# def self.values; end
|
696
|
+
# @!method self.values
|
697
|
+
# @return [Array<Symbol>]
|
817
698
|
end
|
818
699
|
end
|
819
700
|
|
@@ -865,29 +746,22 @@ module Lithic
|
|
865
746
|
# @return [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
866
747
|
required :type, enum: -> { Lithic::Models::Transaction::Pos::Terminal::Type }
|
867
748
|
|
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
|
749
|
+
# @!attribute acceptor_terminal_id
|
750
|
+
# Uniquely identifies a terminal at the card acceptor location of acquiring
|
751
|
+
# institutions or merchant POS Systems
|
752
|
+
#
|
753
|
+
# @return [String, nil]
|
754
|
+
optional :acceptor_terminal_id, String, nil?: true
|
755
|
+
|
756
|
+
# @!method initialize(attended:, card_retention_capable:, on_premise:, operator:, partial_approval_capable:, pin_capability:, type:, acceptor_terminal_id: nil)
|
757
|
+
# @param attended [Boolean]
|
758
|
+
# @param card_retention_capable [Boolean]
|
759
|
+
# @param on_premise [Boolean]
|
760
|
+
# @param operator [Symbol, Lithic::Models::Transaction::Pos::Terminal::Operator]
|
761
|
+
# @param partial_approval_capable [Boolean]
|
762
|
+
# @param pin_capability [Symbol, Lithic::Models::Transaction::Pos::Terminal::PinCapability]
|
763
|
+
# @param type [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
764
|
+
# @param acceptor_terminal_id [String, nil]
|
891
765
|
|
892
766
|
# The person that is designated to swipe the card
|
893
767
|
#
|
@@ -900,11 +774,8 @@ module Lithic
|
|
900
774
|
CARD_ACCEPTOR = :CARD_ACCEPTOR
|
901
775
|
UNKNOWN = :UNKNOWN
|
902
776
|
|
903
|
-
|
904
|
-
|
905
|
-
# @!parse
|
906
|
-
# # @return [Array<Symbol>]
|
907
|
-
# def self.values; end
|
777
|
+
# @!method self.values
|
778
|
+
# @return [Array<Symbol>]
|
908
779
|
end
|
909
780
|
|
910
781
|
# Status of whether the POS is able to accept PINs
|
@@ -918,11 +789,8 @@ module Lithic
|
|
918
789
|
NOT_CAPABLE = :NOT_CAPABLE
|
919
790
|
UNSPECIFIED = :UNSPECIFIED
|
920
791
|
|
921
|
-
|
922
|
-
|
923
|
-
# @!parse
|
924
|
-
# # @return [Array<Symbol>]
|
925
|
-
# def self.values; end
|
792
|
+
# @!method self.values
|
793
|
+
# @return [Array<Symbol>]
|
926
794
|
end
|
927
795
|
|
928
796
|
# POS Type
|
@@ -956,11 +824,8 @@ module Lithic
|
|
956
824
|
VOICE = :VOICE
|
957
825
|
UNKNOWN = :UNKNOWN
|
958
826
|
|
959
|
-
|
960
|
-
|
961
|
-
# @!parse
|
962
|
-
# # @return [Array<Symbol>]
|
963
|
-
# def self.values; end
|
827
|
+
# @!method self.values
|
828
|
+
# @return [Array<Symbol>]
|
964
829
|
end
|
965
830
|
end
|
966
831
|
end
|
@@ -993,11 +858,8 @@ module Lithic
|
|
993
858
|
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
994
859
|
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
995
860
|
|
996
|
-
|
997
|
-
|
998
|
-
# @!parse
|
999
|
-
# # @return [Array<Symbol>]
|
1000
|
-
# def self.values; end
|
861
|
+
# @!method self.values
|
862
|
+
# @return [Array<Symbol>]
|
1001
863
|
end
|
1002
864
|
|
1003
865
|
# Status of the transaction.
|
@@ -1012,11 +874,8 @@ module Lithic
|
|
1012
874
|
SETTLED = :SETTLED
|
1013
875
|
VOIDED = :VOIDED
|
1014
876
|
|
1015
|
-
|
1016
|
-
|
1017
|
-
# @!parse
|
1018
|
-
# # @return [Array<Symbol>]
|
1019
|
-
# def self.values; end
|
877
|
+
# @!method self.values
|
878
|
+
# @return [Array<Symbol>]
|
1020
879
|
end
|
1021
880
|
|
1022
881
|
# @see Lithic::Models::Transaction#token_info
|
@@ -1030,12 +889,8 @@ module Lithic
|
|
1030
889
|
# @return [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
1031
890
|
required :wallet_type, enum: -> { Lithic::Models::Transaction::TokenInfo::WalletType }
|
1032
891
|
|
1033
|
-
# @!
|
1034
|
-
#
|
1035
|
-
# #
|
1036
|
-
# def initialize(wallet_type:, **) = super
|
1037
|
-
|
1038
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
892
|
+
# @!method initialize(wallet_type:)
|
893
|
+
# @param wallet_type [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
1039
894
|
|
1040
895
|
# The wallet_type field will indicate the source of the token. Possible token
|
1041
896
|
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
@@ -1053,11 +908,8 @@ module Lithic
|
|
1053
908
|
OTHER = :OTHER
|
1054
909
|
SAMSUNG_PAY = :SAMSUNG_PAY
|
1055
910
|
|
1056
|
-
|
1057
|
-
|
1058
|
-
# @!parse
|
1059
|
-
# # @return [Array<Symbol>]
|
1060
|
-
# def self.values; end
|
911
|
+
# @!method self.values
|
912
|
+
# @return [Array<Symbol>]
|
1061
913
|
end
|
1062
914
|
end
|
1063
915
|
|
@@ -1128,35 +980,23 @@ module Lithic
|
|
1128
980
|
# @return [Symbol, Lithic::Models::Transaction::Event::Type]
|
1129
981
|
required :type, enum: -> { Lithic::Models::Transaction::Event::Type }
|
1130
982
|
|
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
|
983
|
+
# @!attribute network_specific_data
|
984
|
+
#
|
985
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData, nil]
|
986
|
+
optional :network_specific_data, -> { Lithic::Models::Transaction::Event::NetworkSpecificData }
|
987
|
+
|
988
|
+
# @!method initialize(token:, amount:, amounts:, created:, detailed_results:, effective_polarity:, network_info:, result:, rule_results:, type:, network_specific_data: nil)
|
989
|
+
# @param token [String]
|
990
|
+
# @param amount [Integer]
|
991
|
+
# @param amounts [Lithic::Models::Transaction::Event::Amounts]
|
992
|
+
# @param created [Time]
|
993
|
+
# @param detailed_results [Array<Symbol, Lithic::Models::Transaction::Event::DetailedResult>]
|
994
|
+
# @param effective_polarity [Symbol, Lithic::Models::Transaction::Event::EffectivePolarity]
|
995
|
+
# @param network_info [Lithic::Models::Transaction::Event::NetworkInfo, nil]
|
996
|
+
# @param result [Symbol, Lithic::Models::Transaction::Event::Result]
|
997
|
+
# @param rule_results [Array<Lithic::Models::Transaction::Event::RuleResult>]
|
998
|
+
# @param type [Symbol, Lithic::Models::Transaction::Event::Type]
|
999
|
+
# @param network_specific_data [Lithic::Models::Transaction::Event::NetworkSpecificData]
|
1160
1000
|
|
1161
1001
|
# @see Lithic::Models::Transaction::Event#amounts
|
1162
1002
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -1175,14 +1015,10 @@ module Lithic
|
|
1175
1015
|
# @return [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1176
1016
|
required :settlement, -> { Lithic::Models::Transaction::Event::Amounts::Settlement }, nil?: true
|
1177
1017
|
|
1178
|
-
# @!
|
1179
|
-
#
|
1180
|
-
#
|
1181
|
-
#
|
1182
|
-
# #
|
1183
|
-
# def initialize(cardholder:, merchant:, settlement:, **) = super
|
1184
|
-
|
1185
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1018
|
+
# @!method initialize(cardholder:, merchant:, settlement:)
|
1019
|
+
# @param cardholder [Lithic::Models::Transaction::Event::Amounts::Cardholder]
|
1020
|
+
# @param merchant [Lithic::Models::Transaction::Event::Amounts::Merchant]
|
1021
|
+
# @param settlement [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1186
1022
|
|
1187
1023
|
# @see Lithic::Models::Transaction::Event::Amounts#cardholder
|
1188
1024
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
@@ -1205,14 +1041,10 @@ module Lithic
|
|
1205
1041
|
# @return [String]
|
1206
1042
|
required :currency, String
|
1207
1043
|
|
1208
|
-
# @!
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
# #
|
1213
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1214
|
-
|
1215
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1044
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
1045
|
+
# @param amount [Integer]
|
1046
|
+
# @param conversion_rate [String]
|
1047
|
+
# @param currency [String]
|
1216
1048
|
end
|
1217
1049
|
|
1218
1050
|
# @see Lithic::Models::Transaction::Event::Amounts#merchant
|
@@ -1229,13 +1061,9 @@ module Lithic
|
|
1229
1061
|
# @return [String]
|
1230
1062
|
required :currency, String
|
1231
1063
|
|
1232
|
-
# @!
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
# #
|
1236
|
-
# def initialize(amount:, currency:, **) = super
|
1237
|
-
|
1238
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1064
|
+
# @!method initialize(amount:, currency:)
|
1065
|
+
# @param amount [Integer]
|
1066
|
+
# @param currency [String]
|
1239
1067
|
end
|
1240
1068
|
|
1241
1069
|
# @see Lithic::Models::Transaction::Event::Amounts#settlement
|
@@ -1259,14 +1087,10 @@ module Lithic
|
|
1259
1087
|
# @return [String]
|
1260
1088
|
required :currency, String
|
1261
1089
|
|
1262
|
-
# @!
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1266
|
-
# #
|
1267
|
-
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1268
|
-
|
1269
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1090
|
+
# @!method initialize(amount:, conversion_rate:, currency:)
|
1091
|
+
# @param amount [Integer]
|
1092
|
+
# @param conversion_rate [String]
|
1093
|
+
# @param currency [String]
|
1270
1094
|
end
|
1271
1095
|
end
|
1272
1096
|
|
@@ -1326,11 +1150,8 @@ module Lithic
|
|
1326
1150
|
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1327
1151
|
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1328
1152
|
|
1329
|
-
|
1330
|
-
|
1331
|
-
# @!parse
|
1332
|
-
# # @return [Array<Symbol>]
|
1333
|
-
# def self.values; end
|
1153
|
+
# @!method self.values
|
1154
|
+
# @return [Array<Symbol>]
|
1334
1155
|
end
|
1335
1156
|
|
1336
1157
|
# Indicates whether the transaction event is a credit or debit to the account.
|
@@ -1342,11 +1163,8 @@ module Lithic
|
|
1342
1163
|
CREDIT = :CREDIT
|
1343
1164
|
DEBIT = :DEBIT
|
1344
1165
|
|
1345
|
-
|
1346
|
-
|
1347
|
-
# @!parse
|
1348
|
-
# # @return [Array<Symbol>]
|
1349
|
-
# def self.values; end
|
1166
|
+
# @!method self.values
|
1167
|
+
# @return [Array<Symbol>]
|
1350
1168
|
end
|
1351
1169
|
|
1352
1170
|
# @see Lithic::Models::Transaction::Event#network_info
|
@@ -1366,24 +1184,20 @@ module Lithic
|
|
1366
1184
|
# @return [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1367
1185
|
required :visa, -> { Lithic::Models::Transaction::Event::NetworkInfo::Visa }, nil?: true
|
1368
1186
|
|
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
|
1187
|
+
# @!method initialize(acquirer:, mastercard:, visa:)
|
1188
|
+
# Information provided by the card network in each event. This includes common
|
1189
|
+
# identifiers shared between you, Lithic, the card network and in some cases the
|
1190
|
+
# acquirer. These identifiers often link together events within the same
|
1191
|
+
# transaction lifecycle and can be used to locate a particular transaction, such
|
1192
|
+
# as during processing of disputes. Not all fields are available in all events,
|
1193
|
+
# and the presence of these fields is dependent on the card network and the event
|
1194
|
+
# type. If the field is populated by the network, we will pass it through as is
|
1195
|
+
# unless otherwise specified. Please consult the official network documentation
|
1196
|
+
# for more details about these fields and how to use them.
|
1197
|
+
#
|
1198
|
+
# @param acquirer [Lithic::Models::Transaction::Event::NetworkInfo::Acquirer, nil]
|
1199
|
+
# @param mastercard [Lithic::Models::Transaction::Event::NetworkInfo::Mastercard, nil]
|
1200
|
+
# @param visa [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1387
1201
|
|
1388
1202
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#acquirer
|
1389
1203
|
class Acquirer < Lithic::Internal::Type::BaseModel
|
@@ -1403,13 +1217,9 @@ module Lithic
|
|
1403
1217
|
# @return [String, nil]
|
1404
1218
|
required :retrieval_reference_number, String, nil?: true
|
1405
1219
|
|
1406
|
-
# @!
|
1407
|
-
#
|
1408
|
-
#
|
1409
|
-
# #
|
1410
|
-
# def initialize(acquirer_reference_number:, retrieval_reference_number:, **) = super
|
1411
|
-
|
1412
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1220
|
+
# @!method initialize(acquirer_reference_number:, retrieval_reference_number:)
|
1221
|
+
# @param acquirer_reference_number [String, nil]
|
1222
|
+
# @param retrieval_reference_number [String, nil]
|
1413
1223
|
end
|
1414
1224
|
|
1415
1225
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#mastercard
|
@@ -1452,23 +1262,11 @@ module Lithic
|
|
1452
1262
|
# @return [String, nil]
|
1453
1263
|
required :switch_serial_number, String, nil?: true
|
1454
1264
|
|
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
|
1265
|
+
# @!method initialize(banknet_reference_number:, original_banknet_reference_number:, original_switch_serial_number:, switch_serial_number:)
|
1266
|
+
# @param banknet_reference_number [String, nil]
|
1267
|
+
# @param original_banknet_reference_number [String, nil]
|
1268
|
+
# @param original_switch_serial_number [String, nil]
|
1269
|
+
# @param switch_serial_number [String, nil]
|
1472
1270
|
end
|
1473
1271
|
|
1474
1272
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#visa
|
@@ -1490,13 +1288,9 @@ module Lithic
|
|
1490
1288
|
# @return [String, nil]
|
1491
1289
|
required :transaction_id, String, nil?: true
|
1492
1290
|
|
1493
|
-
# @!
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# #
|
1497
|
-
# def initialize(original_transaction_id:, transaction_id:, **) = super
|
1498
|
-
|
1499
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1291
|
+
# @!method initialize(original_transaction_id:, transaction_id:)
|
1292
|
+
# @param original_transaction_id [String, nil]
|
1293
|
+
# @param transaction_id [String, nil]
|
1500
1294
|
end
|
1501
1295
|
end
|
1502
1296
|
|
@@ -1528,11 +1322,8 @@ module Lithic
|
|
1528
1322
|
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
1529
1323
|
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
1530
1324
|
|
1531
|
-
|
1532
|
-
|
1533
|
-
# @!parse
|
1534
|
-
# # @return [Array<Symbol>]
|
1535
|
-
# def self.values; end
|
1325
|
+
# @!method self.values
|
1326
|
+
# @return [Array<Symbol>]
|
1536
1327
|
end
|
1537
1328
|
|
1538
1329
|
class RuleResult < Lithic::Internal::Type::BaseModel
|
@@ -1563,15 +1354,11 @@ module Lithic
|
|
1563
1354
|
# @return [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1564
1355
|
required :result, enum: -> { Lithic::Models::Transaction::Event::RuleResult::Result }
|
1565
1356
|
|
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
|
1357
|
+
# @!method initialize(auth_rule_token:, explanation:, name:, result:)
|
1358
|
+
# @param auth_rule_token [String, nil]
|
1359
|
+
# @param explanation [String, nil]
|
1360
|
+
# @param name [String, nil]
|
1361
|
+
# @param result [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1575
1362
|
|
1576
1363
|
# The detailed_result associated with this rule's decline.
|
1577
1364
|
#
|
@@ -1632,11 +1419,8 @@ module Lithic
|
|
1632
1419
|
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1633
1420
|
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1634
1421
|
|
1635
|
-
|
1636
|
-
|
1637
|
-
# @!parse
|
1638
|
-
# # @return [Array<Symbol>]
|
1639
|
-
# def self.values; end
|
1422
|
+
# @!method self.values
|
1423
|
+
# @return [Array<Symbol>]
|
1640
1424
|
end
|
1641
1425
|
end
|
1642
1426
|
|
@@ -1661,11 +1445,93 @@ module Lithic
|
|
1661
1445
|
RETURN = :RETURN
|
1662
1446
|
RETURN_REVERSAL = :RETURN_REVERSAL
|
1663
1447
|
|
1664
|
-
|
1448
|
+
# @!method self.values
|
1449
|
+
# @return [Array<Symbol>]
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# @see Lithic::Models::Transaction::Event#network_specific_data
|
1453
|
+
class NetworkSpecificData < Lithic::Internal::Type::BaseModel
|
1454
|
+
# @!attribute mastercard
|
1455
|
+
#
|
1456
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard]
|
1457
|
+
required :mastercard, -> { Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard }
|
1458
|
+
|
1459
|
+
# @!attribute visa
|
1460
|
+
#
|
1461
|
+
# @return [Lithic::Models::Transaction::Event::NetworkSpecificData::Visa]
|
1462
|
+
required :visa, -> { Lithic::Models::Transaction::Event::NetworkSpecificData::Visa }
|
1463
|
+
|
1464
|
+
# @!method initialize(mastercard:, visa:)
|
1465
|
+
# @param mastercard [Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard]
|
1466
|
+
# @param visa [Lithic::Models::Transaction::Event::NetworkSpecificData::Visa]
|
1665
1467
|
|
1666
|
-
#
|
1667
|
-
|
1668
|
-
|
1468
|
+
# @see Lithic::Models::Transaction::Event::NetworkSpecificData#mastercard
|
1469
|
+
class Mastercard < Lithic::Internal::Type::BaseModel
|
1470
|
+
# @!attribute ecommerce_security_level_indicator
|
1471
|
+
# Indicates the electronic commerce security level and UCAF collection.
|
1472
|
+
#
|
1473
|
+
# @return [String, nil]
|
1474
|
+
required :ecommerce_security_level_indicator, String, nil?: true
|
1475
|
+
|
1476
|
+
# @!attribute on_behalf_service_result
|
1477
|
+
# The On-behalf Service performed on the transaction and the results. Contains all
|
1478
|
+
# applicable, on-behalf service results that were performed on a given
|
1479
|
+
# transaction.
|
1480
|
+
#
|
1481
|
+
# @return [Array<Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil]
|
1482
|
+
required :on_behalf_service_result,
|
1483
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult] },
|
1484
|
+
nil?: true
|
1485
|
+
|
1486
|
+
# @!attribute transaction_type_identifier
|
1487
|
+
# Indicates the type of additional transaction purpose.
|
1488
|
+
#
|
1489
|
+
# @return [String, nil]
|
1490
|
+
required :transaction_type_identifier, String, nil?: true
|
1491
|
+
|
1492
|
+
# @!method initialize(ecommerce_security_level_indicator:, on_behalf_service_result:, transaction_type_identifier:)
|
1493
|
+
# @param ecommerce_security_level_indicator [String, nil]
|
1494
|
+
# @param on_behalf_service_result [Array<Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil]
|
1495
|
+
# @param transaction_type_identifier [String, nil]
|
1496
|
+
|
1497
|
+
class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
|
1498
|
+
# @!attribute result_1
|
1499
|
+
# Indicates the results of the service processing.
|
1500
|
+
#
|
1501
|
+
# @return [String]
|
1502
|
+
required :result_1, String
|
1503
|
+
|
1504
|
+
# @!attribute result_2
|
1505
|
+
# Identifies the results of the service processing.
|
1506
|
+
#
|
1507
|
+
# @return [String]
|
1508
|
+
required :result_2, String
|
1509
|
+
|
1510
|
+
# @!attribute service
|
1511
|
+
# Indicates the service performed on the transaction.
|
1512
|
+
#
|
1513
|
+
# @return [String]
|
1514
|
+
required :service, String
|
1515
|
+
|
1516
|
+
# @!method initialize(result_1:, result_2:, service:)
|
1517
|
+
# @param result_1 [String]
|
1518
|
+
# @param result_2 [String]
|
1519
|
+
# @param service [String]
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# @see Lithic::Models::Transaction::Event::NetworkSpecificData#visa
|
1524
|
+
class Visa < Lithic::Internal::Type::BaseModel
|
1525
|
+
# @!attribute business_application_identifier
|
1526
|
+
# Identifies the purpose or category of a transaction, used to classify and
|
1527
|
+
# process transactions according to Visa’s rules.
|
1528
|
+
#
|
1529
|
+
# @return [String, nil]
|
1530
|
+
required :business_application_identifier, String, nil?: true
|
1531
|
+
|
1532
|
+
# @!method initialize(business_application_identifier:)
|
1533
|
+
# @param business_application_identifier [String, nil]
|
1534
|
+
end
|
1669
1535
|
end
|
1670
1536
|
end
|
1671
1537
|
end
|