lithic 0.1.0.pre.alpha.55 → 0.1.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 +53 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +62 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
- data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
- data/lib/lithic/models/book_transfer_response.rb +1 -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_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -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/category_details.rb +27 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/{external_bank_account_retry_prenote_response.rb → external_bank_account.rb} +32 -33
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +15 -2
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +3 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +164 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +11 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +18 -6
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -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/transaction.rb +9 -243
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +56 -0
- data/lib/lithic/resources/auth_rules/v2.rb +19 -17
- 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/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +21 -2
- 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/payments.rb +48 -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/version.rb +1 -1
- data/lib/lithic.rb +38 -21
- 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 +131 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +99 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
- data/rbi/lithic/models/book_transfer_response.rbi +2 -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_create_params.rbi +23 -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_renew_params.rbi +8 -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/category_details.rbi +43 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/{external_bank_account_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +62 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +469 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +28 -7
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -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/transaction.rbi +12 -500
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +57 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
- 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/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +11 -1
- 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/payments.rbi +46 -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/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 +71 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +44 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- 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_create_params.rbs +9 -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_renew_params.rbs +2 -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/category_details.rbs +26 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account.rbs +162 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +35 -8
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +11 -2
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +248 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +18 -5
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -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/transaction.rbs +12 -191
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +56 -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/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +6 -1
- 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/payments.rbs +10 -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
- metadata +115 -67
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- 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 -496
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- 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 -193
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
- 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,74 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# Reason code for why a tokenization required two-factor authentication
|
|
6
|
+
module TokenizationTfaReason
|
|
7
|
+
extend Lithic::Internal::Type::Enum
|
|
8
|
+
|
|
9
|
+
TaggedSymbol =
|
|
10
|
+
T.type_alias { T.all(Symbol, Lithic::TokenizationTfaReason) }
|
|
11
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
12
|
+
|
|
13
|
+
WALLET_RECOMMENDED_TFA =
|
|
14
|
+
T.let(
|
|
15
|
+
:WALLET_RECOMMENDED_TFA,
|
|
16
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
17
|
+
)
|
|
18
|
+
SUSPICIOUS_ACTIVITY =
|
|
19
|
+
T.let(:SUSPICIOUS_ACTIVITY, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
20
|
+
DEVICE_RECENTLY_LOST =
|
|
21
|
+
T.let(
|
|
22
|
+
:DEVICE_RECENTLY_LOST,
|
|
23
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
24
|
+
)
|
|
25
|
+
TOO_MANY_RECENT_ATTEMPTS =
|
|
26
|
+
T.let(
|
|
27
|
+
:TOO_MANY_RECENT_ATTEMPTS,
|
|
28
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
29
|
+
)
|
|
30
|
+
TOO_MANY_RECENT_TOKENS =
|
|
31
|
+
T.let(
|
|
32
|
+
:TOO_MANY_RECENT_TOKENS,
|
|
33
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
34
|
+
)
|
|
35
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS =
|
|
36
|
+
T.let(
|
|
37
|
+
:TOO_MANY_DIFFERENT_CARDHOLDERS,
|
|
38
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
39
|
+
)
|
|
40
|
+
OUTSIDE_HOME_TERRITORY =
|
|
41
|
+
T.let(
|
|
42
|
+
:OUTSIDE_HOME_TERRITORY,
|
|
43
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
44
|
+
)
|
|
45
|
+
HAS_SUSPENDED_TOKENS =
|
|
46
|
+
T.let(
|
|
47
|
+
:HAS_SUSPENDED_TOKENS,
|
|
48
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
49
|
+
)
|
|
50
|
+
HIGH_RISK = T.let(:HIGH_RISK, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
51
|
+
ACCOUNT_SCORE_LOW =
|
|
52
|
+
T.let(:ACCOUNT_SCORE_LOW, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
53
|
+
DEVICE_SCORE_LOW =
|
|
54
|
+
T.let(:DEVICE_SCORE_LOW, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
55
|
+
CARD_STATE_TFA =
|
|
56
|
+
T.let(:CARD_STATE_TFA, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
57
|
+
HARDCODED_TFA =
|
|
58
|
+
T.let(:HARDCODED_TFA, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
59
|
+
CUSTOMER_RULE_TFA =
|
|
60
|
+
T.let(:CUSTOMER_RULE_TFA, Lithic::TokenizationTfaReason::TaggedSymbol)
|
|
61
|
+
DEVICE_HOST_CARD_EMULATION =
|
|
62
|
+
T.let(
|
|
63
|
+
:DEVICE_HOST_CARD_EMULATION,
|
|
64
|
+
Lithic::TokenizationTfaReason::TaggedSymbol
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
sig do
|
|
68
|
+
override.returns(T::Array[Lithic::TokenizationTfaReason::TaggedSymbol])
|
|
69
|
+
end
|
|
70
|
+
def self.values
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -58,13 +58,13 @@ module Lithic
|
|
|
58
58
|
sig { returns(String) }
|
|
59
59
|
attr_accessor :card_token
|
|
60
60
|
|
|
61
|
-
sig { returns(T.nilable(Lithic::
|
|
61
|
+
sig { returns(T.nilable(Lithic::CardholderAuthentication)) }
|
|
62
62
|
attr_reader :cardholder_authentication
|
|
63
63
|
|
|
64
64
|
sig do
|
|
65
65
|
params(
|
|
66
66
|
cardholder_authentication:
|
|
67
|
-
T.nilable(Lithic::
|
|
67
|
+
T.nilable(Lithic::CardholderAuthentication::OrHash)
|
|
68
68
|
).void
|
|
69
69
|
end
|
|
70
70
|
attr_writer :cardholder_authentication
|
|
@@ -76,10 +76,10 @@ module Lithic
|
|
|
76
76
|
sig { returns(T.nilable(String)) }
|
|
77
77
|
attr_accessor :financial_account_token
|
|
78
78
|
|
|
79
|
-
sig { returns(Lithic::
|
|
79
|
+
sig { returns(Lithic::Merchant) }
|
|
80
80
|
attr_reader :merchant
|
|
81
81
|
|
|
82
|
-
sig { params(merchant: Lithic::
|
|
82
|
+
sig { params(merchant: Lithic::Merchant::OrHash).void }
|
|
83
83
|
attr_writer :merchant
|
|
84
84
|
|
|
85
85
|
# Analogous to the 'amount', but in the merchant currency.
|
|
@@ -124,14 +124,10 @@ module Lithic
|
|
|
124
124
|
sig { returns(Lithic::Transaction::Status::TaggedSymbol) }
|
|
125
125
|
attr_accessor :status
|
|
126
126
|
|
|
127
|
-
sig { returns(T.nilable(Lithic::
|
|
127
|
+
sig { returns(T.nilable(Lithic::TokenInfo)) }
|
|
128
128
|
attr_reader :token_info
|
|
129
129
|
|
|
130
|
-
sig
|
|
131
|
-
params(
|
|
132
|
-
token_info: T.nilable(Lithic::Transaction::TokenInfo::OrHash)
|
|
133
|
-
).void
|
|
134
|
-
end
|
|
130
|
+
sig { params(token_info: T.nilable(Lithic::TokenInfo::OrHash)).void }
|
|
135
131
|
attr_writer :token_info
|
|
136
132
|
|
|
137
133
|
# Date and time when the transaction last updated. UTC time zone.
|
|
@@ -157,10 +153,10 @@ module Lithic
|
|
|
157
153
|
avs: T.nilable(Lithic::Transaction::Avs::OrHash),
|
|
158
154
|
card_token: String,
|
|
159
155
|
cardholder_authentication:
|
|
160
|
-
T.nilable(Lithic::
|
|
156
|
+
T.nilable(Lithic::CardholderAuthentication::OrHash),
|
|
161
157
|
created: Time,
|
|
162
158
|
financial_account_token: T.nilable(String),
|
|
163
|
-
merchant: Lithic::
|
|
159
|
+
merchant: Lithic::Merchant::OrHash,
|
|
164
160
|
merchant_amount: T.nilable(Integer),
|
|
165
161
|
merchant_authorization_amount: T.nilable(Integer),
|
|
166
162
|
merchant_currency: String,
|
|
@@ -170,7 +166,7 @@ module Lithic
|
|
|
170
166
|
result: Lithic::Transaction::Result::OrSymbol,
|
|
171
167
|
settled_amount: Integer,
|
|
172
168
|
status: Lithic::Transaction::Status::OrSymbol,
|
|
173
|
-
token_info: T.nilable(Lithic::
|
|
169
|
+
token_info: T.nilable(Lithic::TokenInfo::OrHash),
|
|
174
170
|
updated: Time,
|
|
175
171
|
events: T::Array[Lithic::Transaction::Event::OrHash]
|
|
176
172
|
).returns(T.attached_class)
|
|
@@ -249,10 +245,10 @@ module Lithic
|
|
|
249
245
|
avs: T.nilable(Lithic::Transaction::Avs),
|
|
250
246
|
card_token: String,
|
|
251
247
|
cardholder_authentication:
|
|
252
|
-
T.nilable(Lithic::
|
|
248
|
+
T.nilable(Lithic::CardholderAuthentication),
|
|
253
249
|
created: Time,
|
|
254
250
|
financial_account_token: T.nilable(String),
|
|
255
|
-
merchant: Lithic::
|
|
251
|
+
merchant: Lithic::Merchant,
|
|
256
252
|
merchant_amount: T.nilable(Integer),
|
|
257
253
|
merchant_authorization_amount: T.nilable(Integer),
|
|
258
254
|
merchant_currency: String,
|
|
@@ -262,7 +258,7 @@ module Lithic
|
|
|
262
258
|
result: Lithic::Transaction::Result::TaggedSymbol,
|
|
263
259
|
settled_amount: Integer,
|
|
264
260
|
status: Lithic::Transaction::Status::TaggedSymbol,
|
|
265
|
-
token_info: T.nilable(Lithic::
|
|
261
|
+
token_info: T.nilable(Lithic::TokenInfo),
|
|
266
262
|
updated: Time,
|
|
267
263
|
events: T::Array[Lithic::Transaction::Event]
|
|
268
264
|
}
|
|
@@ -516,396 +512,6 @@ module Lithic
|
|
|
516
512
|
end
|
|
517
513
|
end
|
|
518
514
|
|
|
519
|
-
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
|
520
|
-
OrHash =
|
|
521
|
-
T.type_alias do
|
|
522
|
-
T.any(
|
|
523
|
-
Lithic::Transaction::CardholderAuthentication,
|
|
524
|
-
Lithic::Internal::AnyHash
|
|
525
|
-
)
|
|
526
|
-
end
|
|
527
|
-
|
|
528
|
-
# Indicates the method used to authenticate the cardholder.
|
|
529
|
-
sig do
|
|
530
|
-
returns(
|
|
531
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
532
|
-
)
|
|
533
|
-
end
|
|
534
|
-
attr_accessor :authentication_method
|
|
535
|
-
|
|
536
|
-
# Indicates the outcome of the 3DS authentication process.
|
|
537
|
-
sig do
|
|
538
|
-
returns(
|
|
539
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
540
|
-
)
|
|
541
|
-
end
|
|
542
|
-
attr_accessor :authentication_result
|
|
543
|
-
|
|
544
|
-
# Indicates which party made the 3DS authentication decision.
|
|
545
|
-
sig do
|
|
546
|
-
returns(
|
|
547
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
548
|
-
)
|
|
549
|
-
end
|
|
550
|
-
attr_accessor :decision_made_by
|
|
551
|
-
|
|
552
|
-
# Indicates whether chargeback liability shift applies to the transaction.
|
|
553
|
-
# Possible enum values:
|
|
554
|
-
#
|
|
555
|
-
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
556
|
-
# Secure flow, chargeback liability shift applies.
|
|
557
|
-
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
558
|
-
# merchant is liable.
|
|
559
|
-
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
560
|
-
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
561
|
-
# applies.
|
|
562
|
-
sig do
|
|
563
|
-
returns(
|
|
564
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
565
|
-
)
|
|
566
|
-
end
|
|
567
|
-
attr_accessor :liability_shift
|
|
568
|
-
|
|
569
|
-
# Unique identifier you can use to match a given 3DS authentication (available via
|
|
570
|
-
# the three_ds_authentication.created event webhook) and the transaction. Note
|
|
571
|
-
# that in cases where liability shift does not occur, this token is matched to the
|
|
572
|
-
# transaction on a best-effort basis.
|
|
573
|
-
sig { returns(T.nilable(String)) }
|
|
574
|
-
attr_accessor :three_ds_authentication_token
|
|
575
|
-
|
|
576
|
-
sig do
|
|
577
|
-
params(
|
|
578
|
-
authentication_method:
|
|
579
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::OrSymbol,
|
|
580
|
-
authentication_result:
|
|
581
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::OrSymbol,
|
|
582
|
-
decision_made_by:
|
|
583
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::OrSymbol,
|
|
584
|
-
liability_shift:
|
|
585
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::OrSymbol,
|
|
586
|
-
three_ds_authentication_token: T.nilable(String)
|
|
587
|
-
).returns(T.attached_class)
|
|
588
|
-
end
|
|
589
|
-
def self.new(
|
|
590
|
-
# Indicates the method used to authenticate the cardholder.
|
|
591
|
-
authentication_method:,
|
|
592
|
-
# Indicates the outcome of the 3DS authentication process.
|
|
593
|
-
authentication_result:,
|
|
594
|
-
# Indicates which party made the 3DS authentication decision.
|
|
595
|
-
decision_made_by:,
|
|
596
|
-
# Indicates whether chargeback liability shift applies to the transaction.
|
|
597
|
-
# Possible enum values:
|
|
598
|
-
#
|
|
599
|
-
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
600
|
-
# Secure flow, chargeback liability shift applies.
|
|
601
|
-
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
602
|
-
# merchant is liable.
|
|
603
|
-
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
604
|
-
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
605
|
-
# applies.
|
|
606
|
-
liability_shift:,
|
|
607
|
-
# Unique identifier you can use to match a given 3DS authentication (available via
|
|
608
|
-
# the three_ds_authentication.created event webhook) and the transaction. Note
|
|
609
|
-
# that in cases where liability shift does not occur, this token is matched to the
|
|
610
|
-
# transaction on a best-effort basis.
|
|
611
|
-
three_ds_authentication_token:
|
|
612
|
-
)
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
sig do
|
|
616
|
-
override.returns(
|
|
617
|
-
{
|
|
618
|
-
authentication_method:
|
|
619
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol,
|
|
620
|
-
authentication_result:
|
|
621
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol,
|
|
622
|
-
decision_made_by:
|
|
623
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol,
|
|
624
|
-
liability_shift:
|
|
625
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol,
|
|
626
|
-
three_ds_authentication_token: T.nilable(String)
|
|
627
|
-
}
|
|
628
|
-
)
|
|
629
|
-
end
|
|
630
|
-
def to_hash
|
|
631
|
-
end
|
|
632
|
-
|
|
633
|
-
# Indicates the method used to authenticate the cardholder.
|
|
634
|
-
module AuthenticationMethod
|
|
635
|
-
extend Lithic::Internal::Type::Enum
|
|
636
|
-
|
|
637
|
-
TaggedSymbol =
|
|
638
|
-
T.type_alias do
|
|
639
|
-
T.all(
|
|
640
|
-
Symbol,
|
|
641
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod
|
|
642
|
-
)
|
|
643
|
-
end
|
|
644
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
645
|
-
|
|
646
|
-
FRICTIONLESS =
|
|
647
|
-
T.let(
|
|
648
|
-
:FRICTIONLESS,
|
|
649
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
650
|
-
)
|
|
651
|
-
CHALLENGE =
|
|
652
|
-
T.let(
|
|
653
|
-
:CHALLENGE,
|
|
654
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
655
|
-
)
|
|
656
|
-
NONE =
|
|
657
|
-
T.let(
|
|
658
|
-
:NONE,
|
|
659
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
660
|
-
)
|
|
661
|
-
|
|
662
|
-
sig do
|
|
663
|
-
override.returns(
|
|
664
|
-
T::Array[
|
|
665
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
666
|
-
]
|
|
667
|
-
)
|
|
668
|
-
end
|
|
669
|
-
def self.values
|
|
670
|
-
end
|
|
671
|
-
end
|
|
672
|
-
|
|
673
|
-
# Indicates the outcome of the 3DS authentication process.
|
|
674
|
-
module AuthenticationResult
|
|
675
|
-
extend Lithic::Internal::Type::Enum
|
|
676
|
-
|
|
677
|
-
TaggedSymbol =
|
|
678
|
-
T.type_alias do
|
|
679
|
-
T.all(
|
|
680
|
-
Symbol,
|
|
681
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult
|
|
682
|
-
)
|
|
683
|
-
end
|
|
684
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
685
|
-
|
|
686
|
-
ATTEMPTS =
|
|
687
|
-
T.let(
|
|
688
|
-
:ATTEMPTS,
|
|
689
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
690
|
-
)
|
|
691
|
-
DECLINE =
|
|
692
|
-
T.let(
|
|
693
|
-
:DECLINE,
|
|
694
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
695
|
-
)
|
|
696
|
-
NONE =
|
|
697
|
-
T.let(
|
|
698
|
-
:NONE,
|
|
699
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
700
|
-
)
|
|
701
|
-
SUCCESS =
|
|
702
|
-
T.let(
|
|
703
|
-
:SUCCESS,
|
|
704
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
705
|
-
)
|
|
706
|
-
|
|
707
|
-
sig do
|
|
708
|
-
override.returns(
|
|
709
|
-
T::Array[
|
|
710
|
-
Lithic::Transaction::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
711
|
-
]
|
|
712
|
-
)
|
|
713
|
-
end
|
|
714
|
-
def self.values
|
|
715
|
-
end
|
|
716
|
-
end
|
|
717
|
-
|
|
718
|
-
# Indicates which party made the 3DS authentication decision.
|
|
719
|
-
module DecisionMadeBy
|
|
720
|
-
extend Lithic::Internal::Type::Enum
|
|
721
|
-
|
|
722
|
-
TaggedSymbol =
|
|
723
|
-
T.type_alias do
|
|
724
|
-
T.all(
|
|
725
|
-
Symbol,
|
|
726
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy
|
|
727
|
-
)
|
|
728
|
-
end
|
|
729
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
730
|
-
|
|
731
|
-
CUSTOMER_RULES =
|
|
732
|
-
T.let(
|
|
733
|
-
:CUSTOMER_RULES,
|
|
734
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
735
|
-
)
|
|
736
|
-
CUSTOMER_ENDPOINT =
|
|
737
|
-
T.let(
|
|
738
|
-
:CUSTOMER_ENDPOINT,
|
|
739
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
740
|
-
)
|
|
741
|
-
LITHIC_DEFAULT =
|
|
742
|
-
T.let(
|
|
743
|
-
:LITHIC_DEFAULT,
|
|
744
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
745
|
-
)
|
|
746
|
-
LITHIC_RULES =
|
|
747
|
-
T.let(
|
|
748
|
-
:LITHIC_RULES,
|
|
749
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
750
|
-
)
|
|
751
|
-
NETWORK =
|
|
752
|
-
T.let(
|
|
753
|
-
:NETWORK,
|
|
754
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
755
|
-
)
|
|
756
|
-
UNKNOWN =
|
|
757
|
-
T.let(
|
|
758
|
-
:UNKNOWN,
|
|
759
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
760
|
-
)
|
|
761
|
-
|
|
762
|
-
sig do
|
|
763
|
-
override.returns(
|
|
764
|
-
T::Array[
|
|
765
|
-
Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
766
|
-
]
|
|
767
|
-
)
|
|
768
|
-
end
|
|
769
|
-
def self.values
|
|
770
|
-
end
|
|
771
|
-
end
|
|
772
|
-
|
|
773
|
-
# Indicates whether chargeback liability shift applies to the transaction.
|
|
774
|
-
# Possible enum values:
|
|
775
|
-
#
|
|
776
|
-
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
777
|
-
# Secure flow, chargeback liability shift applies.
|
|
778
|
-
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
779
|
-
# merchant is liable.
|
|
780
|
-
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
781
|
-
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
782
|
-
# applies.
|
|
783
|
-
module LiabilityShift
|
|
784
|
-
extend Lithic::Internal::Type::Enum
|
|
785
|
-
|
|
786
|
-
TaggedSymbol =
|
|
787
|
-
T.type_alias do
|
|
788
|
-
T.all(
|
|
789
|
-
Symbol,
|
|
790
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift
|
|
791
|
-
)
|
|
792
|
-
end
|
|
793
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
794
|
-
|
|
795
|
-
LIABILITY_SHIFT_3DS_AUTHENTICATED =
|
|
796
|
-
T.let(
|
|
797
|
-
:"3DS_AUTHENTICATED",
|
|
798
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
799
|
-
)
|
|
800
|
-
TOKEN_AUTHENTICATED =
|
|
801
|
-
T.let(
|
|
802
|
-
:TOKEN_AUTHENTICATED,
|
|
803
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
804
|
-
)
|
|
805
|
-
NONE =
|
|
806
|
-
T.let(
|
|
807
|
-
:NONE,
|
|
808
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
809
|
-
)
|
|
810
|
-
|
|
811
|
-
sig do
|
|
812
|
-
override.returns(
|
|
813
|
-
T::Array[
|
|
814
|
-
Lithic::Transaction::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
815
|
-
]
|
|
816
|
-
)
|
|
817
|
-
end
|
|
818
|
-
def self.values
|
|
819
|
-
end
|
|
820
|
-
end
|
|
821
|
-
end
|
|
822
|
-
|
|
823
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
|
824
|
-
OrHash =
|
|
825
|
-
T.type_alias do
|
|
826
|
-
T.any(Lithic::Transaction::Merchant, Lithic::Internal::AnyHash)
|
|
827
|
-
end
|
|
828
|
-
|
|
829
|
-
# Unique alphanumeric identifier for the payment card acceptor (merchant).
|
|
830
|
-
sig { returns(String) }
|
|
831
|
-
attr_accessor :acceptor_id
|
|
832
|
-
|
|
833
|
-
# Unique numeric identifier of the acquiring institution.
|
|
834
|
-
sig { returns(String) }
|
|
835
|
-
attr_accessor :acquiring_institution_id
|
|
836
|
-
|
|
837
|
-
# City of card acceptor. Note that in many cases, particularly in card-not-present
|
|
838
|
-
# transactions, merchants may send through a phone number or URL in this field.
|
|
839
|
-
sig { returns(String) }
|
|
840
|
-
attr_accessor :city
|
|
841
|
-
|
|
842
|
-
# Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1
|
|
843
|
-
# alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
|
|
844
|
-
sig { returns(String) }
|
|
845
|
-
attr_accessor :country
|
|
846
|
-
|
|
847
|
-
# Short description of card acceptor.
|
|
848
|
-
sig { returns(String) }
|
|
849
|
-
attr_accessor :descriptor
|
|
850
|
-
|
|
851
|
-
# Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
|
|
852
|
-
# used to classify a business by the types of goods or services it provides.
|
|
853
|
-
sig { returns(String) }
|
|
854
|
-
attr_accessor :mcc
|
|
855
|
-
|
|
856
|
-
# Geographic state of card acceptor.
|
|
857
|
-
sig { returns(String) }
|
|
858
|
-
attr_accessor :state
|
|
859
|
-
|
|
860
|
-
sig do
|
|
861
|
-
params(
|
|
862
|
-
acceptor_id: String,
|
|
863
|
-
acquiring_institution_id: String,
|
|
864
|
-
city: String,
|
|
865
|
-
country: String,
|
|
866
|
-
descriptor: String,
|
|
867
|
-
mcc: String,
|
|
868
|
-
state: String
|
|
869
|
-
).returns(T.attached_class)
|
|
870
|
-
end
|
|
871
|
-
def self.new(
|
|
872
|
-
# Unique alphanumeric identifier for the payment card acceptor (merchant).
|
|
873
|
-
acceptor_id:,
|
|
874
|
-
# Unique numeric identifier of the acquiring institution.
|
|
875
|
-
acquiring_institution_id:,
|
|
876
|
-
# City of card acceptor. Note that in many cases, particularly in card-not-present
|
|
877
|
-
# transactions, merchants may send through a phone number or URL in this field.
|
|
878
|
-
city:,
|
|
879
|
-
# Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1
|
|
880
|
-
# alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
|
|
881
|
-
country:,
|
|
882
|
-
# Short description of card acceptor.
|
|
883
|
-
descriptor:,
|
|
884
|
-
# Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
|
|
885
|
-
# used to classify a business by the types of goods or services it provides.
|
|
886
|
-
mcc:,
|
|
887
|
-
# Geographic state of card acceptor.
|
|
888
|
-
state:
|
|
889
|
-
)
|
|
890
|
-
end
|
|
891
|
-
|
|
892
|
-
sig do
|
|
893
|
-
override.returns(
|
|
894
|
-
{
|
|
895
|
-
acceptor_id: String,
|
|
896
|
-
acquiring_institution_id: String,
|
|
897
|
-
city: String,
|
|
898
|
-
country: String,
|
|
899
|
-
descriptor: String,
|
|
900
|
-
mcc: String,
|
|
901
|
-
state: String
|
|
902
|
-
}
|
|
903
|
-
)
|
|
904
|
-
end
|
|
905
|
-
def to_hash
|
|
906
|
-
end
|
|
907
|
-
end
|
|
908
|
-
|
|
909
515
|
# Card network of the authorization. Value is `UNKNOWN` when Lithic cannot
|
|
910
516
|
# determine the network code from the upstream provider.
|
|
911
517
|
module Network
|
|
@@ -1702,100 +1308,6 @@ module Lithic
|
|
|
1702
1308
|
end
|
|
1703
1309
|
end
|
|
1704
1310
|
|
|
1705
|
-
class TokenInfo < Lithic::Internal::Type::BaseModel
|
|
1706
|
-
OrHash =
|
|
1707
|
-
T.type_alias do
|
|
1708
|
-
T.any(Lithic::Transaction::TokenInfo, Lithic::Internal::AnyHash)
|
|
1709
|
-
end
|
|
1710
|
-
|
|
1711
|
-
# The wallet_type field will indicate the source of the token. Possible token
|
|
1712
|
-
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
|
1713
|
-
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
|
1714
|
-
# currently supported and is included for future use.
|
|
1715
|
-
sig do
|
|
1716
|
-
returns(Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol)
|
|
1717
|
-
end
|
|
1718
|
-
attr_accessor :wallet_type
|
|
1719
|
-
|
|
1720
|
-
sig do
|
|
1721
|
-
params(
|
|
1722
|
-
wallet_type: Lithic::Transaction::TokenInfo::WalletType::OrSymbol
|
|
1723
|
-
).returns(T.attached_class)
|
|
1724
|
-
end
|
|
1725
|
-
def self.new(
|
|
1726
|
-
# The wallet_type field will indicate the source of the token. Possible token
|
|
1727
|
-
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
|
1728
|
-
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
|
1729
|
-
# currently supported and is included for future use.
|
|
1730
|
-
wallet_type:
|
|
1731
|
-
)
|
|
1732
|
-
end
|
|
1733
|
-
|
|
1734
|
-
sig do
|
|
1735
|
-
override.returns(
|
|
1736
|
-
{
|
|
1737
|
-
wallet_type:
|
|
1738
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1739
|
-
}
|
|
1740
|
-
)
|
|
1741
|
-
end
|
|
1742
|
-
def to_hash
|
|
1743
|
-
end
|
|
1744
|
-
|
|
1745
|
-
# The wallet_type field will indicate the source of the token. Possible token
|
|
1746
|
-
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
|
1747
|
-
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
|
1748
|
-
# currently supported and is included for future use.
|
|
1749
|
-
module WalletType
|
|
1750
|
-
extend Lithic::Internal::Type::Enum
|
|
1751
|
-
|
|
1752
|
-
TaggedSymbol =
|
|
1753
|
-
T.type_alias do
|
|
1754
|
-
T.all(Symbol, Lithic::Transaction::TokenInfo::WalletType)
|
|
1755
|
-
end
|
|
1756
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1757
|
-
|
|
1758
|
-
APPLE_PAY =
|
|
1759
|
-
T.let(
|
|
1760
|
-
:APPLE_PAY,
|
|
1761
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1762
|
-
)
|
|
1763
|
-
GOOGLE_PAY =
|
|
1764
|
-
T.let(
|
|
1765
|
-
:GOOGLE_PAY,
|
|
1766
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1767
|
-
)
|
|
1768
|
-
MASTERPASS =
|
|
1769
|
-
T.let(
|
|
1770
|
-
:MASTERPASS,
|
|
1771
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1772
|
-
)
|
|
1773
|
-
MERCHANT =
|
|
1774
|
-
T.let(
|
|
1775
|
-
:MERCHANT,
|
|
1776
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1777
|
-
)
|
|
1778
|
-
OTHER =
|
|
1779
|
-
T.let(
|
|
1780
|
-
:OTHER,
|
|
1781
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1782
|
-
)
|
|
1783
|
-
SAMSUNG_PAY =
|
|
1784
|
-
T.let(
|
|
1785
|
-
:SAMSUNG_PAY,
|
|
1786
|
-
Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol
|
|
1787
|
-
)
|
|
1788
|
-
|
|
1789
|
-
sig do
|
|
1790
|
-
override.returns(
|
|
1791
|
-
T::Array[Lithic::Transaction::TokenInfo::WalletType::TaggedSymbol]
|
|
1792
|
-
)
|
|
1793
|
-
end
|
|
1794
|
-
def self.values
|
|
1795
|
-
end
|
|
1796
|
-
end
|
|
1797
|
-
end
|
|
1798
|
-
|
|
1799
1311
|
class Event < Lithic::Internal::Type::BaseModel
|
|
1800
1312
|
OrHash =
|
|
1801
1313
|
T.type_alias do
|