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
|
@@ -2,168 +2,248 @@
|
|
|
2
2
|
|
|
3
3
|
module Lithic
|
|
4
4
|
module Models
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
module CardWebProvisionResponse
|
|
6
|
+
extend Lithic::Internal::Type::Union
|
|
7
|
+
|
|
8
|
+
Variants =
|
|
7
9
|
T.type_alias do
|
|
8
10
|
T.any(
|
|
9
|
-
Lithic::Models::CardWebProvisionResponse,
|
|
10
|
-
Lithic::
|
|
11
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse,
|
|
12
|
+
Lithic::Models::CardWebProvisionResponse::GoogleWebPushProvisioningResponse
|
|
11
13
|
)
|
|
12
14
|
end
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
sig { returns(T.nilable(Lithic::Models::CardWebProvisionResponse::Jws)) }
|
|
16
|
-
attr_reader :jws
|
|
17
|
-
|
|
18
|
-
sig do
|
|
19
|
-
params(jws: Lithic::Models::CardWebProvisionResponse::Jws::OrHash).void
|
|
20
|
-
end
|
|
21
|
-
attr_writer :jws
|
|
22
|
-
|
|
23
|
-
# A unique identifier for the JWS object.
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
attr_reader :state
|
|
26
|
-
|
|
27
|
-
sig { params(state: String).void }
|
|
28
|
-
attr_writer :state
|
|
29
|
-
|
|
30
|
-
sig do
|
|
31
|
-
params(
|
|
32
|
-
jws: Lithic::Models::CardWebProvisionResponse::Jws::OrHash,
|
|
33
|
-
state: String
|
|
34
|
-
).returns(T.attached_class)
|
|
35
|
-
end
|
|
36
|
-
def self.new(
|
|
37
|
-
# JWS object required for handoff to Apple's script.
|
|
38
|
-
jws: nil,
|
|
39
|
-
# A unique identifier for the JWS object.
|
|
40
|
-
state: nil
|
|
41
|
-
)
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
sig do
|
|
45
|
-
override.returns(
|
|
46
|
-
{ jws: Lithic::Models::CardWebProvisionResponse::Jws, state: String }
|
|
47
|
-
)
|
|
48
|
-
end
|
|
49
|
-
def to_hash
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
class Jws < Lithic::Internal::Type::BaseModel
|
|
16
|
+
class AppleWebPushProvisioningResponse < Lithic::Internal::Type::BaseModel
|
|
53
17
|
OrHash =
|
|
54
18
|
T.type_alias do
|
|
55
19
|
T.any(
|
|
56
|
-
Lithic::Models::CardWebProvisionResponse::
|
|
20
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse,
|
|
57
21
|
Lithic::Internal::AnyHash
|
|
58
22
|
)
|
|
59
23
|
end
|
|
60
24
|
|
|
61
|
-
# JWS
|
|
62
|
-
# integrity-protected by the JWS signature.
|
|
25
|
+
# JWS object required for handoff to Apple's script.
|
|
63
26
|
sig do
|
|
64
27
|
returns(
|
|
65
|
-
T.nilable(
|
|
28
|
+
T.nilable(
|
|
29
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws
|
|
30
|
+
)
|
|
66
31
|
)
|
|
67
32
|
end
|
|
68
|
-
attr_reader :
|
|
33
|
+
attr_reader :jws
|
|
69
34
|
|
|
70
35
|
sig do
|
|
71
36
|
params(
|
|
72
|
-
|
|
73
|
-
Lithic::Models::CardWebProvisionResponse::Jws::
|
|
37
|
+
jws:
|
|
38
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::OrHash
|
|
74
39
|
).void
|
|
75
40
|
end
|
|
76
|
-
attr_writer :
|
|
77
|
-
|
|
78
|
-
# Base64url encoded JSON object containing the provisioning payload.
|
|
79
|
-
sig { returns(T.nilable(String)) }
|
|
80
|
-
attr_reader :payload
|
|
81
|
-
|
|
82
|
-
sig { params(payload: String).void }
|
|
83
|
-
attr_writer :payload
|
|
84
|
-
|
|
85
|
-
# Base64url encoded JWS protected headers containing the header parameters that
|
|
86
|
-
# are integrity-protected by the JWS signature.
|
|
87
|
-
sig { returns(T.nilable(String)) }
|
|
88
|
-
attr_reader :protected
|
|
41
|
+
attr_writer :jws
|
|
89
42
|
|
|
90
|
-
|
|
91
|
-
attr_writer :protected
|
|
92
|
-
|
|
93
|
-
# Base64url encoded signature of the JWS object.
|
|
43
|
+
# A unique identifier for the JWS object.
|
|
94
44
|
sig { returns(T.nilable(String)) }
|
|
95
|
-
attr_reader :
|
|
45
|
+
attr_reader :state
|
|
96
46
|
|
|
97
|
-
sig { params(
|
|
98
|
-
attr_writer :
|
|
47
|
+
sig { params(state: String).void }
|
|
48
|
+
attr_writer :state
|
|
99
49
|
|
|
100
|
-
# JWS object required for handoff to Apple's script.
|
|
101
50
|
sig do
|
|
102
51
|
params(
|
|
103
|
-
|
|
104
|
-
Lithic::Models::CardWebProvisionResponse::Jws::
|
|
105
|
-
|
|
106
|
-
protected: String,
|
|
107
|
-
signature: String
|
|
52
|
+
jws:
|
|
53
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::OrHash,
|
|
54
|
+
state: String
|
|
108
55
|
).returns(T.attached_class)
|
|
109
56
|
end
|
|
110
57
|
def self.new(
|
|
111
|
-
# JWS
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
payload: nil,
|
|
116
|
-
# Base64url encoded JWS protected headers containing the header parameters that
|
|
117
|
-
# are integrity-protected by the JWS signature.
|
|
118
|
-
protected: nil,
|
|
119
|
-
# Base64url encoded signature of the JWS object.
|
|
120
|
-
signature: nil
|
|
58
|
+
# JWS object required for handoff to Apple's script.
|
|
59
|
+
jws: nil,
|
|
60
|
+
# A unique identifier for the JWS object.
|
|
61
|
+
state: nil
|
|
121
62
|
)
|
|
122
63
|
end
|
|
123
64
|
|
|
124
65
|
sig do
|
|
125
66
|
override.returns(
|
|
126
67
|
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
signature: String
|
|
68
|
+
jws:
|
|
69
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws,
|
|
70
|
+
state: String
|
|
131
71
|
}
|
|
132
72
|
)
|
|
133
73
|
end
|
|
134
74
|
def to_hash
|
|
135
75
|
end
|
|
136
76
|
|
|
137
|
-
class
|
|
77
|
+
class Jws < Lithic::Internal::Type::BaseModel
|
|
138
78
|
OrHash =
|
|
139
79
|
T.type_alias do
|
|
140
80
|
T.any(
|
|
141
|
-
Lithic::Models::CardWebProvisionResponse::Jws
|
|
81
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws,
|
|
142
82
|
Lithic::Internal::AnyHash
|
|
143
83
|
)
|
|
144
84
|
end
|
|
145
85
|
|
|
146
|
-
#
|
|
86
|
+
# JWS unprotected headers containing header parameters that aren't
|
|
87
|
+
# integrity-protected by the JWS signature.
|
|
88
|
+
sig do
|
|
89
|
+
returns(
|
|
90
|
+
T.nilable(
|
|
91
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header
|
|
92
|
+
)
|
|
93
|
+
)
|
|
94
|
+
end
|
|
95
|
+
attr_reader :header
|
|
96
|
+
|
|
97
|
+
sig do
|
|
98
|
+
params(
|
|
99
|
+
header:
|
|
100
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header::OrHash
|
|
101
|
+
).void
|
|
102
|
+
end
|
|
103
|
+
attr_writer :header
|
|
104
|
+
|
|
105
|
+
# Base64url encoded JSON object containing the provisioning payload.
|
|
147
106
|
sig { returns(T.nilable(String)) }
|
|
148
|
-
attr_reader :
|
|
107
|
+
attr_reader :payload
|
|
149
108
|
|
|
150
|
-
sig { params(
|
|
151
|
-
attr_writer :
|
|
109
|
+
sig { params(payload: String).void }
|
|
110
|
+
attr_writer :payload
|
|
152
111
|
|
|
153
|
-
# JWS
|
|
154
|
-
# integrity-protected by the JWS signature.
|
|
155
|
-
sig {
|
|
112
|
+
# Base64url encoded JWS protected headers containing the header parameters that
|
|
113
|
+
# are integrity-protected by the JWS signature.
|
|
114
|
+
sig { returns(T.nilable(String)) }
|
|
115
|
+
attr_reader :protected
|
|
116
|
+
|
|
117
|
+
sig { params(protected: String).void }
|
|
118
|
+
attr_writer :protected
|
|
119
|
+
|
|
120
|
+
# Base64url encoded signature of the JWS object.
|
|
121
|
+
sig { returns(T.nilable(String)) }
|
|
122
|
+
attr_reader :signature
|
|
123
|
+
|
|
124
|
+
sig { params(signature: String).void }
|
|
125
|
+
attr_writer :signature
|
|
126
|
+
|
|
127
|
+
# JWS object required for handoff to Apple's script.
|
|
128
|
+
sig do
|
|
129
|
+
params(
|
|
130
|
+
header:
|
|
131
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header::OrHash,
|
|
132
|
+
payload: String,
|
|
133
|
+
protected: String,
|
|
134
|
+
signature: String
|
|
135
|
+
).returns(T.attached_class)
|
|
136
|
+
end
|
|
156
137
|
def self.new(
|
|
157
|
-
#
|
|
158
|
-
|
|
138
|
+
# JWS unprotected headers containing header parameters that aren't
|
|
139
|
+
# integrity-protected by the JWS signature.
|
|
140
|
+
header: nil,
|
|
141
|
+
# Base64url encoded JSON object containing the provisioning payload.
|
|
142
|
+
payload: nil,
|
|
143
|
+
# Base64url encoded JWS protected headers containing the header parameters that
|
|
144
|
+
# are integrity-protected by the JWS signature.
|
|
145
|
+
protected: nil,
|
|
146
|
+
# Base64url encoded signature of the JWS object.
|
|
147
|
+
signature: nil
|
|
159
148
|
)
|
|
160
149
|
end
|
|
161
150
|
|
|
162
|
-
sig
|
|
151
|
+
sig do
|
|
152
|
+
override.returns(
|
|
153
|
+
{
|
|
154
|
+
header:
|
|
155
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header,
|
|
156
|
+
payload: String,
|
|
157
|
+
protected: String,
|
|
158
|
+
signature: String
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
end
|
|
163
162
|
def to_hash
|
|
164
163
|
end
|
|
164
|
+
|
|
165
|
+
class Header < Lithic::Internal::Type::BaseModel
|
|
166
|
+
OrHash =
|
|
167
|
+
T.type_alias do
|
|
168
|
+
T.any(
|
|
169
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header,
|
|
170
|
+
Lithic::Internal::AnyHash
|
|
171
|
+
)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# The ID for the JWS Public Key of the key pair used to generate the signature.
|
|
175
|
+
sig { returns(T.nilable(String)) }
|
|
176
|
+
attr_reader :kid
|
|
177
|
+
|
|
178
|
+
sig { params(kid: String).void }
|
|
179
|
+
attr_writer :kid
|
|
180
|
+
|
|
181
|
+
# JWS unprotected headers containing header parameters that aren't
|
|
182
|
+
# integrity-protected by the JWS signature.
|
|
183
|
+
sig { params(kid: String).returns(T.attached_class) }
|
|
184
|
+
def self.new(
|
|
185
|
+
# The ID for the JWS Public Key of the key pair used to generate the signature.
|
|
186
|
+
kid: nil
|
|
187
|
+
)
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
sig { override.returns({ kid: String }) }
|
|
191
|
+
def to_hash
|
|
192
|
+
end
|
|
193
|
+
end
|
|
165
194
|
end
|
|
166
195
|
end
|
|
196
|
+
|
|
197
|
+
class GoogleWebPushProvisioningResponse < Lithic::Internal::Type::BaseModel
|
|
198
|
+
OrHash =
|
|
199
|
+
T.type_alias do
|
|
200
|
+
T.any(
|
|
201
|
+
Lithic::Models::CardWebProvisionResponse::GoogleWebPushProvisioningResponse,
|
|
202
|
+
Lithic::Internal::AnyHash
|
|
203
|
+
)
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# A base64 encoded and encrypted payload representing card data for the Google Pay
|
|
207
|
+
# UWPP FPAN flow.
|
|
208
|
+
sig { returns(T.nilable(String)) }
|
|
209
|
+
attr_reader :google_opc
|
|
210
|
+
|
|
211
|
+
sig { params(google_opc: String).void }
|
|
212
|
+
attr_writer :google_opc
|
|
213
|
+
|
|
214
|
+
# A base64 encoded and encrypted payload representing card data for the Google Pay
|
|
215
|
+
# UWPP tokenization flow.
|
|
216
|
+
sig { returns(T.nilable(String)) }
|
|
217
|
+
attr_reader :tsp_opc
|
|
218
|
+
|
|
219
|
+
sig { params(tsp_opc: String).void }
|
|
220
|
+
attr_writer :tsp_opc
|
|
221
|
+
|
|
222
|
+
sig do
|
|
223
|
+
params(google_opc: String, tsp_opc: String).returns(T.attached_class)
|
|
224
|
+
end
|
|
225
|
+
def self.new(
|
|
226
|
+
# A base64 encoded and encrypted payload representing card data for the Google Pay
|
|
227
|
+
# UWPP FPAN flow.
|
|
228
|
+
google_opc: nil,
|
|
229
|
+
# A base64 encoded and encrypted payload representing card data for the Google Pay
|
|
230
|
+
# UWPP tokenization flow.
|
|
231
|
+
tsp_opc: nil
|
|
232
|
+
)
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
sig { override.returns({ google_opc: String, tsp_opc: String }) }
|
|
236
|
+
def to_hash
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
sig do
|
|
241
|
+
override.returns(
|
|
242
|
+
T::Array[Lithic::Models::CardWebProvisionResponse::Variants]
|
|
243
|
+
)
|
|
244
|
+
end
|
|
245
|
+
def self.variants
|
|
246
|
+
end
|
|
167
247
|
end
|
|
168
248
|
end
|
|
169
249
|
end
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::CardholderAuthentication, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Indicates the method used to authenticate the cardholder.
|
|
12
|
+
sig do
|
|
13
|
+
returns(
|
|
14
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
attr_accessor :authentication_method
|
|
18
|
+
|
|
19
|
+
# Indicates the outcome of the 3DS authentication process.
|
|
20
|
+
sig do
|
|
21
|
+
returns(
|
|
22
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
attr_accessor :authentication_result
|
|
26
|
+
|
|
27
|
+
# Indicates which party made the 3DS authentication decision.
|
|
28
|
+
sig do
|
|
29
|
+
returns(Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol)
|
|
30
|
+
end
|
|
31
|
+
attr_accessor :decision_made_by
|
|
32
|
+
|
|
33
|
+
# Indicates whether chargeback liability shift applies to the transaction.
|
|
34
|
+
# Possible enum values:
|
|
35
|
+
#
|
|
36
|
+
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
37
|
+
# Secure flow, chargeback liability shift applies.
|
|
38
|
+
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
39
|
+
# merchant is liable.
|
|
40
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
41
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
42
|
+
# applies.
|
|
43
|
+
sig do
|
|
44
|
+
returns(Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol)
|
|
45
|
+
end
|
|
46
|
+
attr_accessor :liability_shift
|
|
47
|
+
|
|
48
|
+
# Unique identifier you can use to match a given 3DS authentication (available via
|
|
49
|
+
# the three_ds_authentication.created event webhook) and the transaction. Note
|
|
50
|
+
# that in cases where liability shift does not occur, this token is matched to the
|
|
51
|
+
# transaction on a best-effort basis.
|
|
52
|
+
sig { returns(T.nilable(String)) }
|
|
53
|
+
attr_accessor :three_ds_authentication_token
|
|
54
|
+
|
|
55
|
+
sig do
|
|
56
|
+
params(
|
|
57
|
+
authentication_method:
|
|
58
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::OrSymbol,
|
|
59
|
+
authentication_result:
|
|
60
|
+
Lithic::CardholderAuthentication::AuthenticationResult::OrSymbol,
|
|
61
|
+
decision_made_by:
|
|
62
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::OrSymbol,
|
|
63
|
+
liability_shift:
|
|
64
|
+
Lithic::CardholderAuthentication::LiabilityShift::OrSymbol,
|
|
65
|
+
three_ds_authentication_token: T.nilable(String)
|
|
66
|
+
).returns(T.attached_class)
|
|
67
|
+
end
|
|
68
|
+
def self.new(
|
|
69
|
+
# Indicates the method used to authenticate the cardholder.
|
|
70
|
+
authentication_method:,
|
|
71
|
+
# Indicates the outcome of the 3DS authentication process.
|
|
72
|
+
authentication_result:,
|
|
73
|
+
# Indicates which party made the 3DS authentication decision.
|
|
74
|
+
decision_made_by:,
|
|
75
|
+
# Indicates whether chargeback liability shift applies to the transaction.
|
|
76
|
+
# Possible enum values:
|
|
77
|
+
#
|
|
78
|
+
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
79
|
+
# Secure flow, chargeback liability shift applies.
|
|
80
|
+
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
81
|
+
# merchant is liable.
|
|
82
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
83
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
84
|
+
# applies.
|
|
85
|
+
liability_shift:,
|
|
86
|
+
# Unique identifier you can use to match a given 3DS authentication (available via
|
|
87
|
+
# the three_ds_authentication.created event webhook) and the transaction. Note
|
|
88
|
+
# that in cases where liability shift does not occur, this token is matched to the
|
|
89
|
+
# transaction on a best-effort basis.
|
|
90
|
+
three_ds_authentication_token:
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
sig do
|
|
95
|
+
override.returns(
|
|
96
|
+
{
|
|
97
|
+
authentication_method:
|
|
98
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol,
|
|
99
|
+
authentication_result:
|
|
100
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol,
|
|
101
|
+
decision_made_by:
|
|
102
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol,
|
|
103
|
+
liability_shift:
|
|
104
|
+
Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol,
|
|
105
|
+
three_ds_authentication_token: T.nilable(String)
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
def to_hash
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Indicates the method used to authenticate the cardholder.
|
|
113
|
+
module AuthenticationMethod
|
|
114
|
+
extend Lithic::Internal::Type::Enum
|
|
115
|
+
|
|
116
|
+
TaggedSymbol =
|
|
117
|
+
T.type_alias do
|
|
118
|
+
T.all(
|
|
119
|
+
Symbol,
|
|
120
|
+
Lithic::CardholderAuthentication::AuthenticationMethod
|
|
121
|
+
)
|
|
122
|
+
end
|
|
123
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
124
|
+
|
|
125
|
+
FRICTIONLESS =
|
|
126
|
+
T.let(
|
|
127
|
+
:FRICTIONLESS,
|
|
128
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
129
|
+
)
|
|
130
|
+
CHALLENGE =
|
|
131
|
+
T.let(
|
|
132
|
+
:CHALLENGE,
|
|
133
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
134
|
+
)
|
|
135
|
+
NONE =
|
|
136
|
+
T.let(
|
|
137
|
+
:NONE,
|
|
138
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
sig do
|
|
142
|
+
override.returns(
|
|
143
|
+
T::Array[
|
|
144
|
+
Lithic::CardholderAuthentication::AuthenticationMethod::TaggedSymbol
|
|
145
|
+
]
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
def self.values
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Indicates the outcome of the 3DS authentication process.
|
|
153
|
+
module AuthenticationResult
|
|
154
|
+
extend Lithic::Internal::Type::Enum
|
|
155
|
+
|
|
156
|
+
TaggedSymbol =
|
|
157
|
+
T.type_alias do
|
|
158
|
+
T.all(
|
|
159
|
+
Symbol,
|
|
160
|
+
Lithic::CardholderAuthentication::AuthenticationResult
|
|
161
|
+
)
|
|
162
|
+
end
|
|
163
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
164
|
+
|
|
165
|
+
ATTEMPTS =
|
|
166
|
+
T.let(
|
|
167
|
+
:ATTEMPTS,
|
|
168
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
169
|
+
)
|
|
170
|
+
DECLINE =
|
|
171
|
+
T.let(
|
|
172
|
+
:DECLINE,
|
|
173
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
174
|
+
)
|
|
175
|
+
NONE =
|
|
176
|
+
T.let(
|
|
177
|
+
:NONE,
|
|
178
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
179
|
+
)
|
|
180
|
+
SUCCESS =
|
|
181
|
+
T.let(
|
|
182
|
+
:SUCCESS,
|
|
183
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
sig do
|
|
187
|
+
override.returns(
|
|
188
|
+
T::Array[
|
|
189
|
+
Lithic::CardholderAuthentication::AuthenticationResult::TaggedSymbol
|
|
190
|
+
]
|
|
191
|
+
)
|
|
192
|
+
end
|
|
193
|
+
def self.values
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Indicates which party made the 3DS authentication decision.
|
|
198
|
+
module DecisionMadeBy
|
|
199
|
+
extend Lithic::Internal::Type::Enum
|
|
200
|
+
|
|
201
|
+
TaggedSymbol =
|
|
202
|
+
T.type_alias do
|
|
203
|
+
T.all(Symbol, Lithic::CardholderAuthentication::DecisionMadeBy)
|
|
204
|
+
end
|
|
205
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
206
|
+
|
|
207
|
+
CUSTOMER_RULES =
|
|
208
|
+
T.let(
|
|
209
|
+
:CUSTOMER_RULES,
|
|
210
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
211
|
+
)
|
|
212
|
+
CUSTOMER_ENDPOINT =
|
|
213
|
+
T.let(
|
|
214
|
+
:CUSTOMER_ENDPOINT,
|
|
215
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
216
|
+
)
|
|
217
|
+
LITHIC_DEFAULT =
|
|
218
|
+
T.let(
|
|
219
|
+
:LITHIC_DEFAULT,
|
|
220
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
221
|
+
)
|
|
222
|
+
LITHIC_RULES =
|
|
223
|
+
T.let(
|
|
224
|
+
:LITHIC_RULES,
|
|
225
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
226
|
+
)
|
|
227
|
+
NETWORK =
|
|
228
|
+
T.let(
|
|
229
|
+
:NETWORK,
|
|
230
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
231
|
+
)
|
|
232
|
+
UNKNOWN =
|
|
233
|
+
T.let(
|
|
234
|
+
:UNKNOWN,
|
|
235
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
sig do
|
|
239
|
+
override.returns(
|
|
240
|
+
T::Array[
|
|
241
|
+
Lithic::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
|
|
242
|
+
]
|
|
243
|
+
)
|
|
244
|
+
end
|
|
245
|
+
def self.values
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Indicates whether chargeback liability shift applies to the transaction.
|
|
250
|
+
# Possible enum values:
|
|
251
|
+
#
|
|
252
|
+
# - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
|
|
253
|
+
# Secure flow, chargeback liability shift applies.
|
|
254
|
+
# - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
|
|
255
|
+
# merchant is liable.
|
|
256
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
|
257
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
|
258
|
+
# applies.
|
|
259
|
+
module LiabilityShift
|
|
260
|
+
extend Lithic::Internal::Type::Enum
|
|
261
|
+
|
|
262
|
+
TaggedSymbol =
|
|
263
|
+
T.type_alias do
|
|
264
|
+
T.all(Symbol, Lithic::CardholderAuthentication::LiabilityShift)
|
|
265
|
+
end
|
|
266
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
267
|
+
|
|
268
|
+
LIABILITY_SHIFT_3DS_AUTHENTICATED =
|
|
269
|
+
T.let(
|
|
270
|
+
:"3DS_AUTHENTICATED",
|
|
271
|
+
Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
272
|
+
)
|
|
273
|
+
TOKEN_AUTHENTICATED =
|
|
274
|
+
T.let(
|
|
275
|
+
:TOKEN_AUTHENTICATED,
|
|
276
|
+
Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
277
|
+
)
|
|
278
|
+
NONE =
|
|
279
|
+
T.let(
|
|
280
|
+
:NONE,
|
|
281
|
+
Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
sig do
|
|
285
|
+
override.returns(
|
|
286
|
+
T::Array[
|
|
287
|
+
Lithic::CardholderAuthentication::LiabilityShift::TaggedSymbol
|
|
288
|
+
]
|
|
289
|
+
)
|
|
290
|
+
end
|
|
291
|
+
def self.values
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CategoryDetails < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::CategoryDetails, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
sig { returns(String) }
|
|
12
|
+
attr_accessor :balance_transfers
|
|
13
|
+
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :cash_advances
|
|
16
|
+
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :purchases
|
|
19
|
+
|
|
20
|
+
sig do
|
|
21
|
+
params(
|
|
22
|
+
balance_transfers: String,
|
|
23
|
+
cash_advances: String,
|
|
24
|
+
purchases: String
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(balance_transfers:, cash_advances:, purchases:)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
override.returns(
|
|
32
|
+
{
|
|
33
|
+
balance_transfers: String,
|
|
34
|
+
cash_advances: String,
|
|
35
|
+
purchases: String
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
def to_hash
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|