lithic 0.1.0.pre.alpha.56 → 0.2.0
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 +46 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/asa_request_webhook_event.rb +1010 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
- data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/{external_bank_account_unpause_response.rb → external_bank_account.rb} +15 -16
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment.rb +12 -0
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_list_params.rb +2 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_accounts/statement.rb +9 -9
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +16 -0
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_transaction.rb +6 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/parsed_webhook_event.rb +818 -0
- data/lib/lithic/models/payment.rb +11 -1
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/transaction.rb +6 -174
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +158 -0
- data/lib/lithic/resources/auth_rules/v2.rb +17 -15
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/resources/webhooks.rb +87 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +92 -29
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/asa_request_webhook_event.rbi +2229 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/{external_bank_account_unpause_response.rbi → external_bank_account.rbi} +26 -75
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment.rbi +57 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +60 -0
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +282 -0
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment.rbi +12 -0
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/transaction.rbi +8 -410
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +193 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/rbi/lithic/resources/webhooks.rbi +158 -0
- data/sig/lithic/client.rbs +6 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/asa_request_webhook_event.rbs +881 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/{external_bank_account_unpause_response.rbs → external_bank_account.rbs} +17 -17
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment.rbs +28 -1
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_list_params.rbs +8 -1
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +32 -0
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_transaction.rbs +12 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment.rbs +9 -0
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/transaction.rbs +8 -140
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +150 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- data/sig/lithic/resources/webhooks.rbs +135 -0
- metadata +241 -55
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type asa_request_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
acquirer_fee: Integer,
|
|
7
|
+
amount: Integer,
|
|
8
|
+
authorization_amount: Integer,
|
|
9
|
+
avs: Lithic::AsaRequestWebhookEvent::Avs,
|
|
10
|
+
card: Lithic::AsaRequestWebhookEvent::Card,
|
|
11
|
+
cardholder_currency: String,
|
|
12
|
+
cash_amount: Integer,
|
|
13
|
+
created: Time,
|
|
14
|
+
merchant: Lithic::Merchant,
|
|
15
|
+
merchant_amount: Integer,
|
|
16
|
+
merchant_currency: String,
|
|
17
|
+
settled_amount: Integer,
|
|
18
|
+
status: Lithic::Models::AsaRequestWebhookEvent::status,
|
|
19
|
+
transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
|
|
20
|
+
account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
|
|
21
|
+
cardholder_authentication: Lithic::CardholderAuthentication,
|
|
22
|
+
cashback: Integer,
|
|
23
|
+
conversion_rate: Float,
|
|
24
|
+
event_token: String,
|
|
25
|
+
fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
|
|
26
|
+
latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
|
|
27
|
+
network: Lithic::Models::AsaRequestWebhookEvent::network,
|
|
28
|
+
network_risk_score: Integer?,
|
|
29
|
+
network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
|
|
30
|
+
pos: Lithic::AsaRequestWebhookEvent::Pos,
|
|
31
|
+
token_info: Lithic::TokenInfo?,
|
|
32
|
+
ttl: Time
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
class AsaRequestWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
36
|
+
attr_accessor token: String
|
|
37
|
+
|
|
38
|
+
attr_accessor acquirer_fee: Integer
|
|
39
|
+
|
|
40
|
+
attr_accessor amount: Integer
|
|
41
|
+
|
|
42
|
+
attr_accessor authorization_amount: Integer
|
|
43
|
+
|
|
44
|
+
attr_accessor avs: Lithic::AsaRequestWebhookEvent::Avs
|
|
45
|
+
|
|
46
|
+
attr_accessor card: Lithic::AsaRequestWebhookEvent::Card
|
|
47
|
+
|
|
48
|
+
attr_accessor cardholder_currency: String
|
|
49
|
+
|
|
50
|
+
attr_accessor cash_amount: Integer
|
|
51
|
+
|
|
52
|
+
attr_accessor created: Time
|
|
53
|
+
|
|
54
|
+
attr_accessor merchant: Lithic::Merchant
|
|
55
|
+
|
|
56
|
+
attr_accessor merchant_amount: Integer
|
|
57
|
+
|
|
58
|
+
attr_accessor merchant_currency: String
|
|
59
|
+
|
|
60
|
+
attr_accessor settled_amount: Integer
|
|
61
|
+
|
|
62
|
+
attr_accessor status: Lithic::Models::AsaRequestWebhookEvent::status
|
|
63
|
+
|
|
64
|
+
attr_accessor transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator
|
|
65
|
+
|
|
66
|
+
attr_reader account_type: Lithic::Models::AsaRequestWebhookEvent::account_type?
|
|
67
|
+
|
|
68
|
+
def account_type=: (
|
|
69
|
+
Lithic::Models::AsaRequestWebhookEvent::account_type
|
|
70
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::account_type
|
|
71
|
+
|
|
72
|
+
attr_reader cardholder_authentication: Lithic::CardholderAuthentication?
|
|
73
|
+
|
|
74
|
+
def cardholder_authentication=: (
|
|
75
|
+
Lithic::CardholderAuthentication
|
|
76
|
+
) -> Lithic::CardholderAuthentication
|
|
77
|
+
|
|
78
|
+
attr_reader cashback: Integer?
|
|
79
|
+
|
|
80
|
+
def cashback=: (Integer) -> Integer
|
|
81
|
+
|
|
82
|
+
attr_reader conversion_rate: Float?
|
|
83
|
+
|
|
84
|
+
def conversion_rate=: (Float) -> Float
|
|
85
|
+
|
|
86
|
+
attr_reader event_token: String?
|
|
87
|
+
|
|
88
|
+
def event_token=: (String) -> String
|
|
89
|
+
|
|
90
|
+
attr_accessor fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?
|
|
91
|
+
|
|
92
|
+
attr_reader latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge?
|
|
93
|
+
|
|
94
|
+
def latest_challenge=: (
|
|
95
|
+
Lithic::AsaRequestWebhookEvent::LatestChallenge
|
|
96
|
+
) -> Lithic::AsaRequestWebhookEvent::LatestChallenge
|
|
97
|
+
|
|
98
|
+
attr_reader network: Lithic::Models::AsaRequestWebhookEvent::network?
|
|
99
|
+
|
|
100
|
+
def network=: (
|
|
101
|
+
Lithic::Models::AsaRequestWebhookEvent::network
|
|
102
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::network
|
|
103
|
+
|
|
104
|
+
attr_accessor network_risk_score: Integer?
|
|
105
|
+
|
|
106
|
+
attr_accessor network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?
|
|
107
|
+
|
|
108
|
+
attr_reader pos: Lithic::AsaRequestWebhookEvent::Pos?
|
|
109
|
+
|
|
110
|
+
def pos=: (
|
|
111
|
+
Lithic::AsaRequestWebhookEvent::Pos
|
|
112
|
+
) -> Lithic::AsaRequestWebhookEvent::Pos
|
|
113
|
+
|
|
114
|
+
attr_accessor token_info: Lithic::TokenInfo?
|
|
115
|
+
|
|
116
|
+
attr_reader ttl: Time?
|
|
117
|
+
|
|
118
|
+
def ttl=: (Time) -> Time
|
|
119
|
+
|
|
120
|
+
def initialize: (
|
|
121
|
+
token: String,
|
|
122
|
+
acquirer_fee: Integer,
|
|
123
|
+
amount: Integer,
|
|
124
|
+
authorization_amount: Integer,
|
|
125
|
+
avs: Lithic::AsaRequestWebhookEvent::Avs,
|
|
126
|
+
card: Lithic::AsaRequestWebhookEvent::Card,
|
|
127
|
+
cardholder_currency: String,
|
|
128
|
+
cash_amount: Integer,
|
|
129
|
+
created: Time,
|
|
130
|
+
merchant: Lithic::Merchant,
|
|
131
|
+
merchant_amount: Integer,
|
|
132
|
+
merchant_currency: String,
|
|
133
|
+
settled_amount: Integer,
|
|
134
|
+
status: Lithic::Models::AsaRequestWebhookEvent::status,
|
|
135
|
+
transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
|
|
136
|
+
?account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
|
|
137
|
+
?cardholder_authentication: Lithic::CardholderAuthentication,
|
|
138
|
+
?cashback: Integer,
|
|
139
|
+
?conversion_rate: Float,
|
|
140
|
+
?event_token: String,
|
|
141
|
+
?fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
|
|
142
|
+
?latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
|
|
143
|
+
?network: Lithic::Models::AsaRequestWebhookEvent::network,
|
|
144
|
+
?network_risk_score: Integer?,
|
|
145
|
+
?network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
|
|
146
|
+
?pos: Lithic::AsaRequestWebhookEvent::Pos,
|
|
147
|
+
?token_info: Lithic::TokenInfo?,
|
|
148
|
+
?ttl: Time
|
|
149
|
+
) -> void
|
|
150
|
+
|
|
151
|
+
def to_hash: -> {
|
|
152
|
+
token: String,
|
|
153
|
+
acquirer_fee: Integer,
|
|
154
|
+
amount: Integer,
|
|
155
|
+
authorization_amount: Integer,
|
|
156
|
+
avs: Lithic::AsaRequestWebhookEvent::Avs,
|
|
157
|
+
card: Lithic::AsaRequestWebhookEvent::Card,
|
|
158
|
+
cardholder_currency: String,
|
|
159
|
+
cash_amount: Integer,
|
|
160
|
+
created: Time,
|
|
161
|
+
merchant: Lithic::Merchant,
|
|
162
|
+
merchant_amount: Integer,
|
|
163
|
+
merchant_currency: String,
|
|
164
|
+
settled_amount: Integer,
|
|
165
|
+
status: Lithic::Models::AsaRequestWebhookEvent::status,
|
|
166
|
+
transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
|
|
167
|
+
account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
|
|
168
|
+
cardholder_authentication: Lithic::CardholderAuthentication,
|
|
169
|
+
cashback: Integer,
|
|
170
|
+
conversion_rate: Float,
|
|
171
|
+
event_token: String,
|
|
172
|
+
fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
|
|
173
|
+
latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
|
|
174
|
+
network: Lithic::Models::AsaRequestWebhookEvent::network,
|
|
175
|
+
network_risk_score: Integer?,
|
|
176
|
+
network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
|
|
177
|
+
pos: Lithic::AsaRequestWebhookEvent::Pos,
|
|
178
|
+
token_info: Lithic::TokenInfo?,
|
|
179
|
+
ttl: Time
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type avs =
|
|
183
|
+
{
|
|
184
|
+
address: String,
|
|
185
|
+
address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
|
|
186
|
+
zipcode: String
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
class Avs < Lithic::Internal::Type::BaseModel
|
|
190
|
+
attr_accessor address: String
|
|
191
|
+
|
|
192
|
+
attr_accessor address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match
|
|
193
|
+
|
|
194
|
+
attr_accessor zipcode: String
|
|
195
|
+
|
|
196
|
+
def initialize: (
|
|
197
|
+
address: String,
|
|
198
|
+
address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
|
|
199
|
+
zipcode: String
|
|
200
|
+
) -> void
|
|
201
|
+
|
|
202
|
+
def to_hash: -> {
|
|
203
|
+
address: String,
|
|
204
|
+
address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
|
|
205
|
+
zipcode: String
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
type address_on_file_match =
|
|
209
|
+
:MATCH
|
|
210
|
+
| :MATCH_ADDRESS_ONLY
|
|
211
|
+
| :MATCH_ZIP_ONLY
|
|
212
|
+
| :MISMATCH
|
|
213
|
+
| :NOT_PRESENT
|
|
214
|
+
|
|
215
|
+
module AddressOnFileMatch
|
|
216
|
+
extend Lithic::Internal::Type::Enum
|
|
217
|
+
|
|
218
|
+
MATCH: :MATCH
|
|
219
|
+
MATCH_ADDRESS_ONLY: :MATCH_ADDRESS_ONLY
|
|
220
|
+
MATCH_ZIP_ONLY: :MATCH_ZIP_ONLY
|
|
221
|
+
MISMATCH: :MISMATCH
|
|
222
|
+
NOT_PRESENT: :NOT_PRESENT
|
|
223
|
+
|
|
224
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match]
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
type card =
|
|
229
|
+
{
|
|
230
|
+
token: String,
|
|
231
|
+
hostname: String,
|
|
232
|
+
last_four: String,
|
|
233
|
+
memo: String,
|
|
234
|
+
spend_limit: Integer,
|
|
235
|
+
spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
|
|
236
|
+
state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
|
|
237
|
+
type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
class Card < Lithic::Internal::Type::BaseModel
|
|
241
|
+
attr_reader token: String?
|
|
242
|
+
|
|
243
|
+
def token=: (String) -> String
|
|
244
|
+
|
|
245
|
+
attr_reader hostname: String?
|
|
246
|
+
|
|
247
|
+
def hostname=: (String) -> String
|
|
248
|
+
|
|
249
|
+
attr_reader last_four: String?
|
|
250
|
+
|
|
251
|
+
def last_four=: (String) -> String
|
|
252
|
+
|
|
253
|
+
attr_reader memo: String?
|
|
254
|
+
|
|
255
|
+
def memo=: (String) -> String
|
|
256
|
+
|
|
257
|
+
attr_reader spend_limit: Integer?
|
|
258
|
+
|
|
259
|
+
def spend_limit=: (Integer) -> Integer
|
|
260
|
+
|
|
261
|
+
attr_reader spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration?
|
|
262
|
+
|
|
263
|
+
def spend_limit_duration=: (
|
|
264
|
+
Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration
|
|
265
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration
|
|
266
|
+
|
|
267
|
+
attr_reader state: Lithic::Models::AsaRequestWebhookEvent::Card::state?
|
|
268
|
+
|
|
269
|
+
def state=: (
|
|
270
|
+
Lithic::Models::AsaRequestWebhookEvent::Card::state
|
|
271
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Card::state
|
|
272
|
+
|
|
273
|
+
attr_reader type: Lithic::Models::AsaRequestWebhookEvent::Card::type_?
|
|
274
|
+
|
|
275
|
+
def type=: (
|
|
276
|
+
Lithic::Models::AsaRequestWebhookEvent::Card::type_
|
|
277
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Card::type_
|
|
278
|
+
|
|
279
|
+
def initialize: (
|
|
280
|
+
?token: String,
|
|
281
|
+
?hostname: String,
|
|
282
|
+
?last_four: String,
|
|
283
|
+
?memo: String,
|
|
284
|
+
?spend_limit: Integer,
|
|
285
|
+
?spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
|
|
286
|
+
?state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
|
|
287
|
+
?type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
|
|
288
|
+
) -> void
|
|
289
|
+
|
|
290
|
+
def to_hash: -> {
|
|
291
|
+
token: String,
|
|
292
|
+
hostname: String,
|
|
293
|
+
last_four: String,
|
|
294
|
+
memo: String,
|
|
295
|
+
spend_limit: Integer,
|
|
296
|
+
spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
|
|
297
|
+
state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
|
|
298
|
+
type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
type spend_limit_duration =
|
|
302
|
+
:ANNUALLY | :FOREVER | :MONTHLY | :TRANSACTION
|
|
303
|
+
|
|
304
|
+
module SpendLimitDuration
|
|
305
|
+
extend Lithic::Internal::Type::Enum
|
|
306
|
+
|
|
307
|
+
ANNUALLY: :ANNUALLY
|
|
308
|
+
FOREVER: :FOREVER
|
|
309
|
+
MONTHLY: :MONTHLY
|
|
310
|
+
TRANSACTION: :TRANSACTION
|
|
311
|
+
|
|
312
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration]
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
type state =
|
|
316
|
+
:CLOSED | :OPEN | :PAUSED | :PENDING_ACTIVATION | :PENDING_FULFILLMENT
|
|
317
|
+
|
|
318
|
+
module State
|
|
319
|
+
extend Lithic::Internal::Type::Enum
|
|
320
|
+
|
|
321
|
+
CLOSED: :CLOSED
|
|
322
|
+
OPEN: :OPEN
|
|
323
|
+
PAUSED: :PAUSED
|
|
324
|
+
PENDING_ACTIVATION: :PENDING_ACTIVATION
|
|
325
|
+
PENDING_FULFILLMENT: :PENDING_FULFILLMENT
|
|
326
|
+
|
|
327
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::state]
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
type type_ =
|
|
331
|
+
:SINGLE_USE
|
|
332
|
+
| :MERCHANT_LOCKED
|
|
333
|
+
| :UNLOCKED
|
|
334
|
+
| :PHYSICAL
|
|
335
|
+
| :DIGITAL_WALLET
|
|
336
|
+
| :VIRTUAL
|
|
337
|
+
|
|
338
|
+
module Type
|
|
339
|
+
extend Lithic::Internal::Type::Enum
|
|
340
|
+
|
|
341
|
+
SINGLE_USE: :SINGLE_USE
|
|
342
|
+
MERCHANT_LOCKED: :MERCHANT_LOCKED
|
|
343
|
+
UNLOCKED: :UNLOCKED
|
|
344
|
+
PHYSICAL: :PHYSICAL
|
|
345
|
+
DIGITAL_WALLET: :DIGITAL_WALLET
|
|
346
|
+
VIRTUAL: :VIRTUAL
|
|
347
|
+
|
|
348
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::type_]
|
|
349
|
+
end
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
type status =
|
|
353
|
+
:AUTHORIZATION
|
|
354
|
+
| :CREDIT_AUTHORIZATION
|
|
355
|
+
| :FINANCIAL_AUTHORIZATION
|
|
356
|
+
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
357
|
+
| :BALANCE_INQUIRY
|
|
358
|
+
|
|
359
|
+
module Status
|
|
360
|
+
extend Lithic::Internal::Type::Enum
|
|
361
|
+
|
|
362
|
+
AUTHORIZATION: :AUTHORIZATION
|
|
363
|
+
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
|
364
|
+
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
365
|
+
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
366
|
+
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
|
367
|
+
|
|
368
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::status]
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
type transaction_initiator = :CARDHOLDER | :MERCHANT | :UNKNOWN
|
|
372
|
+
|
|
373
|
+
module TransactionInitiator
|
|
374
|
+
extend Lithic::Internal::Type::Enum
|
|
375
|
+
|
|
376
|
+
CARDHOLDER: :CARDHOLDER
|
|
377
|
+
MERCHANT: :MERCHANT
|
|
378
|
+
UNKNOWN: :UNKNOWN
|
|
379
|
+
|
|
380
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::transaction_initiator]
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
type account_type = :CHECKING | :SAVINGS
|
|
384
|
+
|
|
385
|
+
module AccountType
|
|
386
|
+
extend Lithic::Internal::Type::Enum
|
|
387
|
+
|
|
388
|
+
CHECKING: :CHECKING
|
|
389
|
+
SAVINGS: :SAVINGS
|
|
390
|
+
|
|
391
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::account_type]
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
type fleet_info =
|
|
395
|
+
{
|
|
396
|
+
fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
|
|
397
|
+
fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
|
|
398
|
+
driver_number: String?,
|
|
399
|
+
vehicle_number: String?
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
class FleetInfo < Lithic::Internal::Type::BaseModel
|
|
403
|
+
attr_accessor fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code
|
|
404
|
+
|
|
405
|
+
attr_accessor fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code
|
|
406
|
+
|
|
407
|
+
attr_accessor driver_number: String?
|
|
408
|
+
|
|
409
|
+
attr_accessor vehicle_number: String?
|
|
410
|
+
|
|
411
|
+
def initialize: (
|
|
412
|
+
fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
|
|
413
|
+
fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
|
|
414
|
+
?driver_number: String?,
|
|
415
|
+
?vehicle_number: String?
|
|
416
|
+
) -> void
|
|
417
|
+
|
|
418
|
+
def to_hash: -> {
|
|
419
|
+
fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
|
|
420
|
+
fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
|
|
421
|
+
driver_number: String?,
|
|
422
|
+
vehicle_number: String?
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
type fleet_prompt_code = :NO_PROMPT | :VEHICLE_NUMBER | :DRIVER_NUMBER
|
|
426
|
+
|
|
427
|
+
module FleetPromptCode
|
|
428
|
+
extend Lithic::Internal::Type::Enum
|
|
429
|
+
|
|
430
|
+
NO_PROMPT: :NO_PROMPT
|
|
431
|
+
VEHICLE_NUMBER: :VEHICLE_NUMBER
|
|
432
|
+
DRIVER_NUMBER: :DRIVER_NUMBER
|
|
433
|
+
|
|
434
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code]
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
type fleet_restriction_code = :NO_RESTRICTIONS | :FUEL_ONLY
|
|
438
|
+
|
|
439
|
+
module FleetRestrictionCode
|
|
440
|
+
extend Lithic::Internal::Type::Enum
|
|
441
|
+
|
|
442
|
+
NO_RESTRICTIONS: :NO_RESTRICTIONS
|
|
443
|
+
FUEL_ONLY: :FUEL_ONLY
|
|
444
|
+
|
|
445
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code]
|
|
446
|
+
end
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
type latest_challenge =
|
|
450
|
+
{
|
|
451
|
+
phone_number: String,
|
|
452
|
+
status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
|
|
453
|
+
completed_at: Time
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
class LatestChallenge < Lithic::Internal::Type::BaseModel
|
|
457
|
+
attr_accessor phone_number: String
|
|
458
|
+
|
|
459
|
+
attr_accessor status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status
|
|
460
|
+
|
|
461
|
+
attr_reader completed_at: Time?
|
|
462
|
+
|
|
463
|
+
def completed_at=: (Time) -> Time
|
|
464
|
+
|
|
465
|
+
def initialize: (
|
|
466
|
+
phone_number: String,
|
|
467
|
+
status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
|
|
468
|
+
?completed_at: Time
|
|
469
|
+
) -> void
|
|
470
|
+
|
|
471
|
+
def to_hash: -> {
|
|
472
|
+
phone_number: String,
|
|
473
|
+
status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
|
|
474
|
+
completed_at: Time
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
type status = :COMPLETED | :PENDING | :EXPIRED | :ERROR
|
|
478
|
+
|
|
479
|
+
module Status
|
|
480
|
+
extend Lithic::Internal::Type::Enum
|
|
481
|
+
|
|
482
|
+
COMPLETED: :COMPLETED
|
|
483
|
+
PENDING: :PENDING
|
|
484
|
+
EXPIRED: :EXPIRED
|
|
485
|
+
ERROR: :ERROR
|
|
486
|
+
|
|
487
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status]
|
|
488
|
+
end
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
type network =
|
|
492
|
+
:AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
|
|
493
|
+
|
|
494
|
+
module Network
|
|
495
|
+
extend Lithic::Internal::Type::Enum
|
|
496
|
+
|
|
497
|
+
AMEX: :AMEX
|
|
498
|
+
INTERLINK: :INTERLINK
|
|
499
|
+
MAESTRO: :MAESTRO
|
|
500
|
+
MASTERCARD: :MASTERCARD
|
|
501
|
+
UNKNOWN: :UNKNOWN
|
|
502
|
+
VISA: :VISA
|
|
503
|
+
|
|
504
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::network]
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
type network_specific_data =
|
|
508
|
+
{
|
|
509
|
+
mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
|
|
510
|
+
visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
class NetworkSpecificData < Lithic::Internal::Type::BaseModel
|
|
514
|
+
attr_accessor mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?
|
|
515
|
+
|
|
516
|
+
attr_accessor visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
|
|
517
|
+
|
|
518
|
+
def initialize: (
|
|
519
|
+
?mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
|
|
520
|
+
?visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
|
|
521
|
+
) -> void
|
|
522
|
+
|
|
523
|
+
def to_hash: -> {
|
|
524
|
+
mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
|
|
525
|
+
visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
type mastercard =
|
|
529
|
+
{
|
|
530
|
+
ecommerce_security_level_indicator: String?,
|
|
531
|
+
on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
|
|
532
|
+
transaction_type_identifier: String?
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
class Mastercard < Lithic::Internal::Type::BaseModel
|
|
536
|
+
attr_accessor ecommerce_security_level_indicator: String?
|
|
537
|
+
|
|
538
|
+
attr_accessor on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?
|
|
539
|
+
|
|
540
|
+
attr_accessor transaction_type_identifier: String?
|
|
541
|
+
|
|
542
|
+
def initialize: (
|
|
543
|
+
?ecommerce_security_level_indicator: String?,
|
|
544
|
+
?on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
|
|
545
|
+
?transaction_type_identifier: String?
|
|
546
|
+
) -> void
|
|
547
|
+
|
|
548
|
+
def to_hash: -> {
|
|
549
|
+
ecommerce_security_level_indicator: String?,
|
|
550
|
+
on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
|
|
551
|
+
transaction_type_identifier: String?
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
type on_behalf_service_result =
|
|
555
|
+
{ :result_1 => String, :result_2 => String, service: String }
|
|
556
|
+
|
|
557
|
+
class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
|
|
558
|
+
attr_accessor result_1: String
|
|
559
|
+
|
|
560
|
+
attr_accessor result_2: String
|
|
561
|
+
|
|
562
|
+
attr_accessor service: String
|
|
563
|
+
|
|
564
|
+
def initialize: (
|
|
565
|
+
result_1: String,
|
|
566
|
+
result_2: String,
|
|
567
|
+
service: String
|
|
568
|
+
) -> void
|
|
569
|
+
|
|
570
|
+
def to_hash: -> {
|
|
571
|
+
:result_1 => String,
|
|
572
|
+
:result_2 => String,
|
|
573
|
+
service: String
|
|
574
|
+
}
|
|
575
|
+
end
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
type visa = { business_application_identifier: String? }
|
|
579
|
+
|
|
580
|
+
class Visa < Lithic::Internal::Type::BaseModel
|
|
581
|
+
attr_accessor business_application_identifier: String?
|
|
582
|
+
|
|
583
|
+
def initialize: (?business_application_identifier: String?) -> void
|
|
584
|
+
|
|
585
|
+
def to_hash: -> { business_application_identifier: String? }
|
|
586
|
+
end
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
type pos =
|
|
590
|
+
{
|
|
591
|
+
entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
|
|
592
|
+
terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
class Pos < Lithic::Internal::Type::BaseModel
|
|
596
|
+
attr_reader entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode?
|
|
597
|
+
|
|
598
|
+
def entry_mode=: (
|
|
599
|
+
Lithic::AsaRequestWebhookEvent::Pos::EntryMode
|
|
600
|
+
) -> Lithic::AsaRequestWebhookEvent::Pos::EntryMode
|
|
601
|
+
|
|
602
|
+
attr_reader terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal?
|
|
603
|
+
|
|
604
|
+
def terminal=: (
|
|
605
|
+
Lithic::AsaRequestWebhookEvent::Pos::Terminal
|
|
606
|
+
) -> Lithic::AsaRequestWebhookEvent::Pos::Terminal
|
|
607
|
+
|
|
608
|
+
def initialize: (
|
|
609
|
+
?entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
|
|
610
|
+
?terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
|
|
611
|
+
) -> void
|
|
612
|
+
|
|
613
|
+
def to_hash: -> {
|
|
614
|
+
entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
|
|
615
|
+
terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
type entry_mode =
|
|
619
|
+
{
|
|
620
|
+
card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
|
|
621
|
+
cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
|
|
622
|
+
pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
|
|
623
|
+
pin_entered: bool
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
class EntryMode < Lithic::Internal::Type::BaseModel
|
|
627
|
+
attr_reader card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card?
|
|
628
|
+
|
|
629
|
+
def card=: (
|
|
630
|
+
Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card
|
|
631
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card
|
|
632
|
+
|
|
633
|
+
attr_reader cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder?
|
|
634
|
+
|
|
635
|
+
def cardholder=: (
|
|
636
|
+
Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder
|
|
637
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder
|
|
638
|
+
|
|
639
|
+
attr_reader pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan?
|
|
640
|
+
|
|
641
|
+
def pan=: (
|
|
642
|
+
Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan
|
|
643
|
+
) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan
|
|
644
|
+
|
|
645
|
+
attr_reader pin_entered: bool?
|
|
646
|
+
|
|
647
|
+
def pin_entered=: (bool) -> bool
|
|
648
|
+
|
|
649
|
+
def initialize: (
|
|
650
|
+
?card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
|
|
651
|
+
?cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
|
|
652
|
+
?pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
|
|
653
|
+
?pin_entered: bool
|
|
654
|
+
) -> void
|
|
655
|
+
|
|
656
|
+
def to_hash: -> {
|
|
657
|
+
card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
|
|
658
|
+
cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
|
|
659
|
+
pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
|
|
660
|
+
pin_entered: bool
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
type card = :PRESENT | :NOT_PRESENT | :UNKNOWN
|
|
664
|
+
|
|
665
|
+
module Card
|
|
666
|
+
extend Lithic::Internal::Type::Enum
|
|
667
|
+
|
|
668
|
+
PRESENT: :PRESENT
|
|
669
|
+
NOT_PRESENT: :NOT_PRESENT
|
|
670
|
+
UNKNOWN: :UNKNOWN
|
|
671
|
+
|
|
672
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card]
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
type cardholder =
|
|
676
|
+
:DEFERRED_BILLING
|
|
677
|
+
| :ELECTRONIC_ORDER
|
|
678
|
+
| :INSTALLMENT
|
|
679
|
+
| :MAIL_ORDER
|
|
680
|
+
| :NOT_PRESENT
|
|
681
|
+
| :PRESENT
|
|
682
|
+
| :REOCCURRING
|
|
683
|
+
| :TELEPHONE_ORDER
|
|
684
|
+
| :UNKNOWN
|
|
685
|
+
|
|
686
|
+
module Cardholder
|
|
687
|
+
extend Lithic::Internal::Type::Enum
|
|
688
|
+
|
|
689
|
+
DEFERRED_BILLING: :DEFERRED_BILLING
|
|
690
|
+
ELECTRONIC_ORDER: :ELECTRONIC_ORDER
|
|
691
|
+
INSTALLMENT: :INSTALLMENT
|
|
692
|
+
MAIL_ORDER: :MAIL_ORDER
|
|
693
|
+
NOT_PRESENT: :NOT_PRESENT
|
|
694
|
+
PRESENT: :PRESENT
|
|
695
|
+
REOCCURRING: :REOCCURRING
|
|
696
|
+
TELEPHONE_ORDER: :TELEPHONE_ORDER
|
|
697
|
+
UNKNOWN: :UNKNOWN
|
|
698
|
+
|
|
699
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder]
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
type pan =
|
|
703
|
+
:AUTO_ENTRY
|
|
704
|
+
| :BAR_CODE
|
|
705
|
+
| :CONTACTLESS
|
|
706
|
+
| :ECOMMERCE
|
|
707
|
+
| :ERROR_KEYED
|
|
708
|
+
| :ERROR_MAGNETIC_STRIPE
|
|
709
|
+
| :ICC
|
|
710
|
+
| :KEY_ENTERED
|
|
711
|
+
| :MAGNETIC_STRIPE
|
|
712
|
+
| :MANUAL
|
|
713
|
+
| :OCR
|
|
714
|
+
| :SECURE_CARDLESS
|
|
715
|
+
| :UNSPECIFIED
|
|
716
|
+
| :UNKNOWN
|
|
717
|
+
| :CREDENTIAL_ON_FILE
|
|
718
|
+
|
|
719
|
+
module Pan
|
|
720
|
+
extend Lithic::Internal::Type::Enum
|
|
721
|
+
|
|
722
|
+
AUTO_ENTRY: :AUTO_ENTRY
|
|
723
|
+
BAR_CODE: :BAR_CODE
|
|
724
|
+
CONTACTLESS: :CONTACTLESS
|
|
725
|
+
ECOMMERCE: :ECOMMERCE
|
|
726
|
+
ERROR_KEYED: :ERROR_KEYED
|
|
727
|
+
ERROR_MAGNETIC_STRIPE: :ERROR_MAGNETIC_STRIPE
|
|
728
|
+
ICC: :ICC
|
|
729
|
+
KEY_ENTERED: :KEY_ENTERED
|
|
730
|
+
MAGNETIC_STRIPE: :MAGNETIC_STRIPE
|
|
731
|
+
MANUAL: :MANUAL
|
|
732
|
+
OCR: :OCR
|
|
733
|
+
SECURE_CARDLESS: :SECURE_CARDLESS
|
|
734
|
+
UNSPECIFIED: :UNSPECIFIED
|
|
735
|
+
UNKNOWN: :UNKNOWN
|
|
736
|
+
CREDENTIAL_ON_FILE: :CREDENTIAL_ON_FILE
|
|
737
|
+
|
|
738
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan]
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
type terminal =
|
|
743
|
+
{
|
|
744
|
+
attended: bool,
|
|
745
|
+
card_retention_capable: bool,
|
|
746
|
+
on_premise: bool,
|
|
747
|
+
operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
|
|
748
|
+
partial_approval_capable: bool,
|
|
749
|
+
pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
|
|
750
|
+
type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
|
|
751
|
+
acceptor_terminal_id: String?
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
class Terminal < Lithic::Internal::Type::BaseModel
|
|
755
|
+
attr_accessor attended: bool
|
|
756
|
+
|
|
757
|
+
attr_accessor card_retention_capable: bool
|
|
758
|
+
|
|
759
|
+
attr_accessor on_premise: bool
|
|
760
|
+
|
|
761
|
+
attr_accessor operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator
|
|
762
|
+
|
|
763
|
+
attr_accessor partial_approval_capable: bool
|
|
764
|
+
|
|
765
|
+
attr_accessor pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability
|
|
766
|
+
|
|
767
|
+
attr_accessor type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_
|
|
768
|
+
|
|
769
|
+
attr_accessor acceptor_terminal_id: String?
|
|
770
|
+
|
|
771
|
+
def initialize: (
|
|
772
|
+
attended: bool,
|
|
773
|
+
card_retention_capable: bool,
|
|
774
|
+
on_premise: bool,
|
|
775
|
+
operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
|
|
776
|
+
partial_approval_capable: bool,
|
|
777
|
+
pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
|
|
778
|
+
type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
|
|
779
|
+
?acceptor_terminal_id: String?
|
|
780
|
+
) -> void
|
|
781
|
+
|
|
782
|
+
def to_hash: -> {
|
|
783
|
+
attended: bool,
|
|
784
|
+
card_retention_capable: bool,
|
|
785
|
+
on_premise: bool,
|
|
786
|
+
operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
|
|
787
|
+
partial_approval_capable: bool,
|
|
788
|
+
pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
|
|
789
|
+
type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
|
|
790
|
+
acceptor_terminal_id: String?
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
type operator =
|
|
794
|
+
:ADMINISTRATIVE | :CARDHOLDER | :CARD_ACCEPTOR | :UNKNOWN
|
|
795
|
+
|
|
796
|
+
module Operator
|
|
797
|
+
extend Lithic::Internal::Type::Enum
|
|
798
|
+
|
|
799
|
+
ADMINISTRATIVE: :ADMINISTRATIVE
|
|
800
|
+
CARDHOLDER: :CARDHOLDER
|
|
801
|
+
CARD_ACCEPTOR: :CARD_ACCEPTOR
|
|
802
|
+
UNKNOWN: :UNKNOWN
|
|
803
|
+
|
|
804
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator]
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
type pin_capability =
|
|
808
|
+
:CAPABLE | :INOPERATIVE | :NOT_CAPABLE | :UNSPECIFIED
|
|
809
|
+
|
|
810
|
+
module PinCapability
|
|
811
|
+
extend Lithic::Internal::Type::Enum
|
|
812
|
+
|
|
813
|
+
CAPABLE: :CAPABLE
|
|
814
|
+
INOPERATIVE: :INOPERATIVE
|
|
815
|
+
NOT_CAPABLE: :NOT_CAPABLE
|
|
816
|
+
UNSPECIFIED: :UNSPECIFIED
|
|
817
|
+
|
|
818
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability]
|
|
819
|
+
end
|
|
820
|
+
|
|
821
|
+
type type_ =
|
|
822
|
+
:ADMINISTRATIVE
|
|
823
|
+
| :ATM
|
|
824
|
+
| :AUTHORIZATION
|
|
825
|
+
| :COUPON_MACHINE
|
|
826
|
+
| :DIAL_TERMINAL
|
|
827
|
+
| :ECOMMERCE
|
|
828
|
+
| :ECR
|
|
829
|
+
| :FUEL_MACHINE
|
|
830
|
+
| :HOME_TERMINAL
|
|
831
|
+
| :MICR
|
|
832
|
+
| :OFF_PREMISE
|
|
833
|
+
| :PAYMENT
|
|
834
|
+
| :PDA
|
|
835
|
+
| :PHONE
|
|
836
|
+
| :POINT
|
|
837
|
+
| :POS_TERMINAL
|
|
838
|
+
| :PUBLIC_UTILITY
|
|
839
|
+
| :SELF_SERVICE
|
|
840
|
+
| :TELEVISION
|
|
841
|
+
| :TELLER
|
|
842
|
+
| :TRAVELERS_CHECK_MACHINE
|
|
843
|
+
| :VENDING
|
|
844
|
+
| :VOICE
|
|
845
|
+
| :UNKNOWN
|
|
846
|
+
|
|
847
|
+
module Type
|
|
848
|
+
extend Lithic::Internal::Type::Enum
|
|
849
|
+
|
|
850
|
+
ADMINISTRATIVE: :ADMINISTRATIVE
|
|
851
|
+
ATM: :ATM
|
|
852
|
+
AUTHORIZATION: :AUTHORIZATION
|
|
853
|
+
COUPON_MACHINE: :COUPON_MACHINE
|
|
854
|
+
DIAL_TERMINAL: :DIAL_TERMINAL
|
|
855
|
+
ECOMMERCE: :ECOMMERCE
|
|
856
|
+
ECR: :ECR
|
|
857
|
+
FUEL_MACHINE: :FUEL_MACHINE
|
|
858
|
+
HOME_TERMINAL: :HOME_TERMINAL
|
|
859
|
+
MICR: :MICR
|
|
860
|
+
OFF_PREMISE: :OFF_PREMISE
|
|
861
|
+
PAYMENT: :PAYMENT
|
|
862
|
+
PDA: :PDA
|
|
863
|
+
PHONE: :PHONE
|
|
864
|
+
POINT: :POINT
|
|
865
|
+
POS_TERMINAL: :POS_TERMINAL
|
|
866
|
+
PUBLIC_UTILITY: :PUBLIC_UTILITY
|
|
867
|
+
SELF_SERVICE: :SELF_SERVICE
|
|
868
|
+
TELEVISION: :TELEVISION
|
|
869
|
+
TELLER: :TELLER
|
|
870
|
+
TRAVELERS_CHECK_MACHINE: :TRAVELERS_CHECK_MACHINE
|
|
871
|
+
VENDING: :VENDING
|
|
872
|
+
VOICE: :VOICE
|
|
873
|
+
UNKNOWN: :UNKNOWN
|
|
874
|
+
|
|
875
|
+
def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_]
|
|
876
|
+
end
|
|
877
|
+
end
|
|
878
|
+
end
|
|
879
|
+
end
|
|
880
|
+
end
|
|
881
|
+
end
|