lithic 0.1.0.pre.alpha.56 → 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 +33 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
- data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
- data/lib/lithic/models/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/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/{external_bank_account_unpause_response.rb → external_bank_account.rb} +15 -16
- data/lib/lithic/models/external_payment.rb +12 -0
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +2 -0
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/statement.rb +9 -9
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +16 -0
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_transaction.rb +6 -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 +11 -1
- data/lib/lithic/models/payment_create_params.rb +10 -1
- 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 +6 -174
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +38 -0
- data/lib/lithic/resources/auth_rules/v2.rb +17 -15
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +23 -17
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
- data/rbi/lithic/models/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/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/{external_bank_account_unpause_response.rbi → external_bank_account.rbi} +26 -75
- data/rbi/lithic/models/external_payment.rbi +57 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +60 -0
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +30 -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 +12 -0
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- 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 +8 -410
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +38 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
- data/sig/lithic/models/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/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/{external_bank_account_unpause_response.rbs → external_bank_account.rbs} +17 -17
- data/sig/lithic/models/external_payment.rbs +28 -1
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +8 -1
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +32 -0
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_transaction.rbs +12 -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 +9 -0
- data/sig/lithic/models/payment_create_params.rbs +7 -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 +8 -140
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +38 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +70 -55
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type token_info = { wallet_type: Lithic::Models::TokenInfo::wallet_type }
|
|
4
|
+
|
|
5
|
+
class TokenInfo < Lithic::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor wallet_type: Lithic::Models::TokenInfo::wallet_type
|
|
7
|
+
|
|
8
|
+
def initialize: (
|
|
9
|
+
wallet_type: Lithic::Models::TokenInfo::wallet_type
|
|
10
|
+
) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { wallet_type: Lithic::Models::TokenInfo::wallet_type }
|
|
13
|
+
|
|
14
|
+
type wallet_type =
|
|
15
|
+
:APPLE_PAY
|
|
16
|
+
| :GOOGLE_PAY
|
|
17
|
+
| :MASTERPASS
|
|
18
|
+
| :MERCHANT
|
|
19
|
+
| :OTHER
|
|
20
|
+
| :SAMSUNG_PAY
|
|
21
|
+
|
|
22
|
+
module WalletType
|
|
23
|
+
extend Lithic::Internal::Type::Enum
|
|
24
|
+
|
|
25
|
+
APPLE_PAY: :APPLE_PAY
|
|
26
|
+
GOOGLE_PAY: :GOOGLE_PAY
|
|
27
|
+
MASTERPASS: :MASTERPASS
|
|
28
|
+
MERCHANT: :MERCHANT
|
|
29
|
+
OTHER: :OTHER
|
|
30
|
+
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
31
|
+
|
|
32
|
+
def self?.values: -> ::Array[Lithic::Models::TokenInfo::wallet_type]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -158,9 +158,9 @@ module Lithic
|
|
|
158
158
|
token: String,
|
|
159
159
|
created_at: Time,
|
|
160
160
|
result: Lithic::Models::Tokenization::Event::result,
|
|
161
|
-
rule_results: ::Array[Lithic::
|
|
162
|
-
tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
163
|
-
tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
161
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
162
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
163
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
164
164
|
type: Lithic::Models::Tokenization::Event::type_
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -179,23 +179,23 @@ module Lithic
|
|
|
179
179
|
Lithic::Models::Tokenization::Event::result
|
|
180
180
|
) -> Lithic::Models::Tokenization::Event::result
|
|
181
181
|
|
|
182
|
-
attr_reader rule_results: ::Array[Lithic::
|
|
182
|
+
attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
|
|
183
183
|
|
|
184
184
|
def rule_results=: (
|
|
185
|
-
::Array[Lithic::
|
|
186
|
-
) -> ::Array[Lithic::
|
|
185
|
+
::Array[Lithic::TokenizationRuleResult]
|
|
186
|
+
) -> ::Array[Lithic::TokenizationRuleResult]
|
|
187
187
|
|
|
188
|
-
attr_reader tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
188
|
+
attr_reader tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason]?
|
|
189
189
|
|
|
190
190
|
def tokenization_decline_reasons=: (
|
|
191
|
-
::Array[Lithic::Models::
|
|
192
|
-
) -> ::Array[Lithic::Models::
|
|
191
|
+
::Array[Lithic::Models::tokenization_decline_reason]
|
|
192
|
+
) -> ::Array[Lithic::Models::tokenization_decline_reason]
|
|
193
193
|
|
|
194
|
-
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
194
|
+
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]?
|
|
195
195
|
|
|
196
196
|
def tokenization_tfa_reasons=: (
|
|
197
|
-
::Array[Lithic::Models::
|
|
198
|
-
) -> ::Array[Lithic::Models::
|
|
197
|
+
::Array[Lithic::Models::tokenization_tfa_reason]
|
|
198
|
+
) -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
199
199
|
|
|
200
200
|
attr_reader type: Lithic::Models::Tokenization::Event::type_?
|
|
201
201
|
|
|
@@ -207,9 +207,9 @@ module Lithic
|
|
|
207
207
|
?token: String,
|
|
208
208
|
?created_at: Time,
|
|
209
209
|
?result: Lithic::Models::Tokenization::Event::result,
|
|
210
|
-
?rule_results: ::Array[Lithic::
|
|
211
|
-
?tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
212
|
-
?tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
210
|
+
?rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
211
|
+
?tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
212
|
+
?tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
213
213
|
?type: Lithic::Models::Tokenization::Event::type_
|
|
214
214
|
) -> void
|
|
215
215
|
|
|
@@ -217,9 +217,9 @@ module Lithic
|
|
|
217
217
|
token: String,
|
|
218
218
|
created_at: Time,
|
|
219
219
|
result: Lithic::Models::Tokenization::Event::result,
|
|
220
|
-
rule_results: ::Array[Lithic::
|
|
221
|
-
tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
222
|
-
tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
220
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
221
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
222
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
223
223
|
type: Lithic::Models::Tokenization::Event::type_
|
|
224
224
|
}
|
|
225
225
|
|
|
@@ -256,125 +256,6 @@ module Lithic
|
|
|
256
256
|
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::result]
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
-
type rule_result =
|
|
260
|
-
{
|
|
261
|
-
auth_rule_token: String?,
|
|
262
|
-
explanation: String?,
|
|
263
|
-
name: String?,
|
|
264
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
class RuleResult < Lithic::Internal::Type::BaseModel
|
|
268
|
-
attr_accessor auth_rule_token: String?
|
|
269
|
-
|
|
270
|
-
attr_accessor explanation: String?
|
|
271
|
-
|
|
272
|
-
attr_accessor name: String?
|
|
273
|
-
|
|
274
|
-
attr_accessor result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
275
|
-
|
|
276
|
-
def initialize: (
|
|
277
|
-
auth_rule_token: String?,
|
|
278
|
-
explanation: String?,
|
|
279
|
-
name: String?,
|
|
280
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
281
|
-
) -> void
|
|
282
|
-
|
|
283
|
-
def to_hash: -> {
|
|
284
|
-
auth_rule_token: String?,
|
|
285
|
-
explanation: String?,
|
|
286
|
-
name: String?,
|
|
287
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
type result = :APPROVED | :DECLINED | :REQUIRE_TFA | :ERROR
|
|
291
|
-
|
|
292
|
-
module Result
|
|
293
|
-
extend Lithic::Internal::Type::Enum
|
|
294
|
-
|
|
295
|
-
APPROVED: :APPROVED
|
|
296
|
-
DECLINED: :DECLINED
|
|
297
|
-
REQUIRE_TFA: :REQUIRE_TFA
|
|
298
|
-
ERROR: :ERROR
|
|
299
|
-
|
|
300
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::RuleResult::result]
|
|
301
|
-
end
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
type tokenization_decline_reason =
|
|
305
|
-
:ACCOUNT_SCORE_1
|
|
306
|
-
| :DEVICE_SCORE_1
|
|
307
|
-
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
308
|
-
| :WALLET_RECOMMENDED_DECISION_RED
|
|
309
|
-
| :CVC_MISMATCH
|
|
310
|
-
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
311
|
-
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
312
|
-
| :CARD_INVALID_STATE
|
|
313
|
-
| :CUSTOMER_RED_PATH
|
|
314
|
-
| :INVALID_CUSTOMER_RESPONSE
|
|
315
|
-
| :NETWORK_FAILURE
|
|
316
|
-
| :GENERIC_DECLINE
|
|
317
|
-
| :DIGITAL_CARD_ART_REQUIRED
|
|
318
|
-
|
|
319
|
-
module TokenizationDeclineReason
|
|
320
|
-
extend Lithic::Internal::Type::Enum
|
|
321
|
-
|
|
322
|
-
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
323
|
-
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
324
|
-
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
325
|
-
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
326
|
-
CVC_MISMATCH: :CVC_MISMATCH
|
|
327
|
-
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
328
|
-
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
329
|
-
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
330
|
-
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
331
|
-
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
332
|
-
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
333
|
-
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
334
|
-
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
|
|
335
|
-
|
|
336
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::tokenization_decline_reason]
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
type tokenization_tfa_reason =
|
|
340
|
-
:WALLET_RECOMMENDED_TFA
|
|
341
|
-
| :SUSPICIOUS_ACTIVITY
|
|
342
|
-
| :DEVICE_RECENTLY_LOST
|
|
343
|
-
| :TOO_MANY_RECENT_ATTEMPTS
|
|
344
|
-
| :TOO_MANY_RECENT_TOKENS
|
|
345
|
-
| :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
346
|
-
| :OUTSIDE_HOME_TERRITORY
|
|
347
|
-
| :HAS_SUSPENDED_TOKENS
|
|
348
|
-
| :HIGH_RISK
|
|
349
|
-
| :ACCOUNT_SCORE_LOW
|
|
350
|
-
| :DEVICE_SCORE_LOW
|
|
351
|
-
| :CARD_STATE_TFA
|
|
352
|
-
| :HARDCODED_TFA
|
|
353
|
-
| :CUSTOMER_RULE_TFA
|
|
354
|
-
| :DEVICE_HOST_CARD_EMULATION
|
|
355
|
-
|
|
356
|
-
module TokenizationTfaReason
|
|
357
|
-
extend Lithic::Internal::Type::Enum
|
|
358
|
-
|
|
359
|
-
WALLET_RECOMMENDED_TFA: :WALLET_RECOMMENDED_TFA
|
|
360
|
-
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
|
361
|
-
DEVICE_RECENTLY_LOST: :DEVICE_RECENTLY_LOST
|
|
362
|
-
TOO_MANY_RECENT_ATTEMPTS: :TOO_MANY_RECENT_ATTEMPTS
|
|
363
|
-
TOO_MANY_RECENT_TOKENS: :TOO_MANY_RECENT_TOKENS
|
|
364
|
-
TOO_MANY_DIFFERENT_CARDHOLDERS: :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
365
|
-
OUTSIDE_HOME_TERRITORY: :OUTSIDE_HOME_TERRITORY
|
|
366
|
-
HAS_SUSPENDED_TOKENS: :HAS_SUSPENDED_TOKENS
|
|
367
|
-
HIGH_RISK: :HIGH_RISK
|
|
368
|
-
ACCOUNT_SCORE_LOW: :ACCOUNT_SCORE_LOW
|
|
369
|
-
DEVICE_SCORE_LOW: :DEVICE_SCORE_LOW
|
|
370
|
-
CARD_STATE_TFA: :CARD_STATE_TFA
|
|
371
|
-
HARDCODED_TFA: :HARDCODED_TFA
|
|
372
|
-
CUSTOMER_RULE_TFA: :CUSTOMER_RULE_TFA
|
|
373
|
-
DEVICE_HOST_CARD_EMULATION: :DEVICE_HOST_CARD_EMULATION
|
|
374
|
-
|
|
375
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::tokenization_tfa_reason]
|
|
376
|
-
end
|
|
377
|
-
|
|
378
259
|
type type_ =
|
|
379
260
|
:TOKENIZATION_2FA
|
|
380
261
|
| :TOKENIZATION_AUTHORIZATION
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_decline_reason =
|
|
4
|
+
:ACCOUNT_SCORE_1
|
|
5
|
+
| :DEVICE_SCORE_1
|
|
6
|
+
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
7
|
+
| :WALLET_RECOMMENDED_DECISION_RED
|
|
8
|
+
| :CVC_MISMATCH
|
|
9
|
+
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
10
|
+
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
11
|
+
| :CARD_INVALID_STATE
|
|
12
|
+
| :CUSTOMER_RED_PATH
|
|
13
|
+
| :INVALID_CUSTOMER_RESPONSE
|
|
14
|
+
| :NETWORK_FAILURE
|
|
15
|
+
| :GENERIC_DECLINE
|
|
16
|
+
| :DIGITAL_CARD_ART_REQUIRED
|
|
17
|
+
|
|
18
|
+
module TokenizationDeclineReason
|
|
19
|
+
extend Lithic::Internal::Type::Enum
|
|
20
|
+
|
|
21
|
+
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
22
|
+
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
23
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
24
|
+
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
25
|
+
CVC_MISMATCH: :CVC_MISMATCH
|
|
26
|
+
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
27
|
+
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
28
|
+
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
29
|
+
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
30
|
+
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
31
|
+
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
32
|
+
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
33
|
+
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
|
|
34
|
+
|
|
35
|
+
def self?.values: -> ::Array[Lithic::Models::tokenization_decline_reason]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_rule_result =
|
|
4
|
+
{
|
|
5
|
+
auth_rule_token: String?,
|
|
6
|
+
explanation: String?,
|
|
7
|
+
name: String?,
|
|
8
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class TokenizationRuleResult < Lithic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor auth_rule_token: String?
|
|
13
|
+
|
|
14
|
+
attr_accessor explanation: String?
|
|
15
|
+
|
|
16
|
+
attr_accessor name: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor result: Lithic::Models::TokenizationRuleResult::result
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
auth_rule_token: String?,
|
|
22
|
+
explanation: String?,
|
|
23
|
+
name: String?,
|
|
24
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
auth_rule_token: String?,
|
|
29
|
+
explanation: String?,
|
|
30
|
+
name: String?,
|
|
31
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type result = :APPROVED | :DECLINED | :REQUIRE_TFA | :ERROR
|
|
35
|
+
|
|
36
|
+
module Result
|
|
37
|
+
extend Lithic::Internal::Type::Enum
|
|
38
|
+
|
|
39
|
+
APPROVED: :APPROVED
|
|
40
|
+
DECLINED: :DECLINED
|
|
41
|
+
REQUIRE_TFA: :REQUIRE_TFA
|
|
42
|
+
ERROR: :ERROR
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationRuleResult::result]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_tfa_reason =
|
|
4
|
+
:WALLET_RECOMMENDED_TFA
|
|
5
|
+
| :SUSPICIOUS_ACTIVITY
|
|
6
|
+
| :DEVICE_RECENTLY_LOST
|
|
7
|
+
| :TOO_MANY_RECENT_ATTEMPTS
|
|
8
|
+
| :TOO_MANY_RECENT_TOKENS
|
|
9
|
+
| :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
10
|
+
| :OUTSIDE_HOME_TERRITORY
|
|
11
|
+
| :HAS_SUSPENDED_TOKENS
|
|
12
|
+
| :HIGH_RISK
|
|
13
|
+
| :ACCOUNT_SCORE_LOW
|
|
14
|
+
| :DEVICE_SCORE_LOW
|
|
15
|
+
| :CARD_STATE_TFA
|
|
16
|
+
| :HARDCODED_TFA
|
|
17
|
+
| :CUSTOMER_RULE_TFA
|
|
18
|
+
| :DEVICE_HOST_CARD_EMULATION
|
|
19
|
+
|
|
20
|
+
module TokenizationTfaReason
|
|
21
|
+
extend Lithic::Internal::Type::Enum
|
|
22
|
+
|
|
23
|
+
WALLET_RECOMMENDED_TFA: :WALLET_RECOMMENDED_TFA
|
|
24
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
|
25
|
+
DEVICE_RECENTLY_LOST: :DEVICE_RECENTLY_LOST
|
|
26
|
+
TOO_MANY_RECENT_ATTEMPTS: :TOO_MANY_RECENT_ATTEMPTS
|
|
27
|
+
TOO_MANY_RECENT_TOKENS: :TOO_MANY_RECENT_TOKENS
|
|
28
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS: :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
29
|
+
OUTSIDE_HOME_TERRITORY: :OUTSIDE_HOME_TERRITORY
|
|
30
|
+
HAS_SUSPENDED_TOKENS: :HAS_SUSPENDED_TOKENS
|
|
31
|
+
HIGH_RISK: :HIGH_RISK
|
|
32
|
+
ACCOUNT_SCORE_LOW: :ACCOUNT_SCORE_LOW
|
|
33
|
+
DEVICE_SCORE_LOW: :DEVICE_SCORE_LOW
|
|
34
|
+
CARD_STATE_TFA: :CARD_STATE_TFA
|
|
35
|
+
HARDCODED_TFA: :HARDCODED_TFA
|
|
36
|
+
CUSTOMER_RULE_TFA: :CUSTOMER_RULE_TFA
|
|
37
|
+
DEVICE_HOST_CARD_EMULATION: :DEVICE_HOST_CARD_EMULATION
|
|
38
|
+
|
|
39
|
+
def self?.values: -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -12,7 +12,7 @@ module Lithic
|
|
|
12
12
|
authorization_code: String?,
|
|
13
13
|
avs: Lithic::Transaction::Avs?,
|
|
14
14
|
card_token: String,
|
|
15
|
-
cardholder_authentication: Lithic::
|
|
15
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
16
16
|
created: Time,
|
|
17
17
|
financial_account_token: String?,
|
|
18
18
|
merchant: Lithic::Merchant,
|
|
@@ -25,7 +25,7 @@ module Lithic
|
|
|
25
25
|
result: Lithic::Models::Transaction::result,
|
|
26
26
|
settled_amount: Integer,
|
|
27
27
|
status: Lithic::Models::Transaction::status,
|
|
28
|
-
token_info: Lithic::
|
|
28
|
+
token_info: Lithic::TokenInfo?,
|
|
29
29
|
updated: Time,
|
|
30
30
|
events: ::Array[Lithic::Transaction::Event]
|
|
31
31
|
}
|
|
@@ -51,7 +51,7 @@ module Lithic
|
|
|
51
51
|
|
|
52
52
|
attr_accessor card_token: String
|
|
53
53
|
|
|
54
|
-
attr_accessor cardholder_authentication: Lithic::
|
|
54
|
+
attr_accessor cardholder_authentication: Lithic::CardholderAuthentication?
|
|
55
55
|
|
|
56
56
|
attr_accessor created: Time
|
|
57
57
|
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
|
|
78
78
|
attr_accessor status: Lithic::Models::Transaction::status
|
|
79
79
|
|
|
80
|
-
attr_accessor token_info: Lithic::
|
|
80
|
+
attr_accessor token_info: Lithic::TokenInfo?
|
|
81
81
|
|
|
82
82
|
attr_accessor updated: Time
|
|
83
83
|
|
|
@@ -98,7 +98,7 @@ module Lithic
|
|
|
98
98
|
authorization_code: String?,
|
|
99
99
|
avs: Lithic::Transaction::Avs?,
|
|
100
100
|
card_token: String,
|
|
101
|
-
cardholder_authentication: Lithic::
|
|
101
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
102
102
|
created: Time,
|
|
103
103
|
financial_account_token: String?,
|
|
104
104
|
merchant: Lithic::Merchant,
|
|
@@ -111,7 +111,7 @@ module Lithic
|
|
|
111
111
|
result: Lithic::Models::Transaction::result,
|
|
112
112
|
settled_amount: Integer,
|
|
113
113
|
status: Lithic::Models::Transaction::status,
|
|
114
|
-
token_info: Lithic::
|
|
114
|
+
token_info: Lithic::TokenInfo?,
|
|
115
115
|
updated: Time,
|
|
116
116
|
?events: ::Array[Lithic::Transaction::Event]
|
|
117
117
|
) -> void
|
|
@@ -127,7 +127,7 @@ module Lithic
|
|
|
127
127
|
authorization_code: String?,
|
|
128
128
|
avs: Lithic::Transaction::Avs?,
|
|
129
129
|
card_token: String,
|
|
130
|
-
cardholder_authentication: Lithic::
|
|
130
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
131
131
|
created: Time,
|
|
132
132
|
financial_account_token: String?,
|
|
133
133
|
merchant: Lithic::Merchant,
|
|
@@ -140,7 +140,7 @@ module Lithic
|
|
|
140
140
|
result: Lithic::Models::Transaction::result,
|
|
141
141
|
settled_amount: Integer,
|
|
142
142
|
status: Lithic::Models::Transaction::status,
|
|
143
|
-
token_info: Lithic::
|
|
143
|
+
token_info: Lithic::TokenInfo?,
|
|
144
144
|
updated: Time,
|
|
145
145
|
events: ::Array[Lithic::Transaction::Event]
|
|
146
146
|
}
|
|
@@ -248,102 +248,6 @@ module Lithic
|
|
|
248
248
|
def to_hash: -> { address: String, zipcode: String }
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
type cardholder_authentication =
|
|
252
|
-
{
|
|
253
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
254
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
255
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
256
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
257
|
-
three_ds_authentication_token: String?
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
|
261
|
-
attr_accessor authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method
|
|
262
|
-
|
|
263
|
-
attr_accessor authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result
|
|
264
|
-
|
|
265
|
-
attr_accessor decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by
|
|
266
|
-
|
|
267
|
-
attr_accessor liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift
|
|
268
|
-
|
|
269
|
-
attr_accessor three_ds_authentication_token: String?
|
|
270
|
-
|
|
271
|
-
def initialize: (
|
|
272
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
273
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
274
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
275
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
276
|
-
three_ds_authentication_token: String?
|
|
277
|
-
) -> void
|
|
278
|
-
|
|
279
|
-
def to_hash: -> {
|
|
280
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
281
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
282
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
283
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
284
|
-
three_ds_authentication_token: String?
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
type authentication_method = :FRICTIONLESS | :CHALLENGE | :NONE
|
|
288
|
-
|
|
289
|
-
module AuthenticationMethod
|
|
290
|
-
extend Lithic::Internal::Type::Enum
|
|
291
|
-
|
|
292
|
-
FRICTIONLESS: :FRICTIONLESS
|
|
293
|
-
CHALLENGE: :CHALLENGE
|
|
294
|
-
NONE: :NONE
|
|
295
|
-
|
|
296
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::authentication_method]
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
type authentication_result = :ATTEMPTS | :DECLINE | :NONE | :SUCCESS
|
|
300
|
-
|
|
301
|
-
module AuthenticationResult
|
|
302
|
-
extend Lithic::Internal::Type::Enum
|
|
303
|
-
|
|
304
|
-
ATTEMPTS: :ATTEMPTS
|
|
305
|
-
DECLINE: :DECLINE
|
|
306
|
-
NONE: :NONE
|
|
307
|
-
SUCCESS: :SUCCESS
|
|
308
|
-
|
|
309
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::authentication_result]
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
type decision_made_by =
|
|
313
|
-
:CUSTOMER_RULES
|
|
314
|
-
| :CUSTOMER_ENDPOINT
|
|
315
|
-
| :LITHIC_DEFAULT
|
|
316
|
-
| :LITHIC_RULES
|
|
317
|
-
| :NETWORK
|
|
318
|
-
| :UNKNOWN
|
|
319
|
-
|
|
320
|
-
module DecisionMadeBy
|
|
321
|
-
extend Lithic::Internal::Type::Enum
|
|
322
|
-
|
|
323
|
-
CUSTOMER_RULES: :CUSTOMER_RULES
|
|
324
|
-
CUSTOMER_ENDPOINT: :CUSTOMER_ENDPOINT
|
|
325
|
-
LITHIC_DEFAULT: :LITHIC_DEFAULT
|
|
326
|
-
LITHIC_RULES: :LITHIC_RULES
|
|
327
|
-
NETWORK: :NETWORK
|
|
328
|
-
UNKNOWN: :UNKNOWN
|
|
329
|
-
|
|
330
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::decision_made_by]
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
type liability_shift =
|
|
334
|
-
:"3DS_AUTHENTICATED" | :TOKEN_AUTHENTICATED | :NONE
|
|
335
|
-
|
|
336
|
-
module LiabilityShift
|
|
337
|
-
extend Lithic::Internal::Type::Enum
|
|
338
|
-
|
|
339
|
-
LIABILITY_SHIFT_3DS_AUTHENTICATED: :"3DS_AUTHENTICATED"
|
|
340
|
-
TOKEN_AUTHENTICATED: :TOKEN_AUTHENTICATED
|
|
341
|
-
NONE: :NONE
|
|
342
|
-
|
|
343
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::liability_shift]
|
|
344
|
-
end
|
|
345
|
-
end
|
|
346
|
-
|
|
347
251
|
type network =
|
|
348
252
|
:AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
|
|
349
253
|
|
|
@@ -705,42 +609,6 @@ module Lithic
|
|
|
705
609
|
def self?.values: -> ::Array[Lithic::Models::Transaction::status]
|
|
706
610
|
end
|
|
707
611
|
|
|
708
|
-
type token_info =
|
|
709
|
-
{ wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type }
|
|
710
|
-
|
|
711
|
-
class TokenInfo < Lithic::Internal::Type::BaseModel
|
|
712
|
-
attr_accessor wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
713
|
-
|
|
714
|
-
def initialize: (
|
|
715
|
-
wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
716
|
-
) -> void
|
|
717
|
-
|
|
718
|
-
def to_hash: -> {
|
|
719
|
-
wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
type wallet_type =
|
|
723
|
-
:APPLE_PAY
|
|
724
|
-
| :GOOGLE_PAY
|
|
725
|
-
| :MASTERPASS
|
|
726
|
-
| :MERCHANT
|
|
727
|
-
| :OTHER
|
|
728
|
-
| :SAMSUNG_PAY
|
|
729
|
-
|
|
730
|
-
module WalletType
|
|
731
|
-
extend Lithic::Internal::Type::Enum
|
|
732
|
-
|
|
733
|
-
APPLE_PAY: :APPLE_PAY
|
|
734
|
-
GOOGLE_PAY: :GOOGLE_PAY
|
|
735
|
-
MASTERPASS: :MASTERPASS
|
|
736
|
-
MERCHANT: :MERCHANT
|
|
737
|
-
OTHER: :OTHER
|
|
738
|
-
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
739
|
-
|
|
740
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::TokenInfo::wallet_type]
|
|
741
|
-
end
|
|
742
|
-
end
|
|
743
|
-
|
|
744
612
|
type event =
|
|
745
613
|
{
|
|
746
614
|
token: String,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type wallet_decisioning_info =
|
|
4
|
+
{
|
|
5
|
+
account_score: String?,
|
|
6
|
+
device_score: String?,
|
|
7
|
+
recommended_decision: String?,
|
|
8
|
+
recommendation_reasons: ::Array[String]?
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class WalletDecisioningInfo < Lithic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor account_score: String?
|
|
13
|
+
|
|
14
|
+
attr_accessor device_score: String?
|
|
15
|
+
|
|
16
|
+
attr_accessor recommended_decision: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor recommendation_reasons: ::Array[String]?
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
account_score: String?,
|
|
22
|
+
device_score: String?,
|
|
23
|
+
recommended_decision: String?,
|
|
24
|
+
?recommendation_reasons: ::Array[String]?
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
account_score: String?,
|
|
29
|
+
device_score: String?,
|
|
30
|
+
recommended_decision: String?,
|
|
31
|
+
recommendation_reasons: ::Array[String]?
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|