lithic 0.10.0 → 0.12.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 +49 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +22 -7
- data/lib/lithic/models/auth_rules/backtest_stats.rb +9 -1
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +158 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +46 -81
- data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +36 -4
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +4 -531
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +17 -26
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
- data/lib/lithic/models/card_bulk_order.rb +8 -3
- data/lib/lithic/models/card_bulk_order_create_params.rb +8 -3
- data/lib/lithic/models/card_convert_physical_params.rb +5 -3
- data/lib/lithic/models/card_create_params.rb +5 -3
- data/lib/lithic/models/card_reissue_params.rb +5 -3
- data/lib/lithic/models/card_renew_params.rb +5 -3
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statement.rb +11 -4
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment_create_params.rb +13 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/card_bulk_orders.rb +10 -11
- data/lib/lithic/resources/external_bank_accounts.rb +31 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/internal/util.rbi +8 -0
- data/rbi/lithic/models/auth_rules/backtest_stats.rbi +11 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +370 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +73 -177
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +38 -6
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +3 -1721
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +23 -78
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
- data/rbi/lithic/models/card_bulk_order.rbi +21 -3
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +21 -3
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -5
- data/rbi/lithic/models/card_create_params.rbi +8 -8
- data/rbi/lithic/models/card_reissue_params.rbi +8 -8
- data/rbi/lithic/models/card_renew_params.rbi +8 -8
- data/rbi/lithic/models/event.rbi +11 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +15 -6
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment_create_params.rbi +13 -3
- data/rbi/lithic/models.rbi +6 -0
- data/rbi/lithic/resources/card_bulk_orders.rbi +11 -11
- data/rbi/lithic/resources/cards.rbi +8 -4
- data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/internal/util.rbs +4 -0
- data/sig/lithic/models/auth_rules/backtest_stats.rbs +8 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +93 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +34 -70
- data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +29 -9
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +4 -667
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +14 -41
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
- data/sig/lithic/models/card_bulk_order.rbs +5 -1
- data/sig/lithic/models/card_bulk_order_create_params.rbs +5 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_create_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_set_verification_method_params.rbs +51 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +16 -7
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment_create_params.rbs +8 -3
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +8 -2
|
@@ -40,554 +40,27 @@ module Lithic
|
|
|
40
40
|
# @param end_ [Date] The end date (UTC) of the report.
|
|
41
41
|
|
|
42
42
|
class DailyStatistic < Lithic::Internal::Type::BaseModel
|
|
43
|
-
# @!attribute current_version_statistics
|
|
44
|
-
# Detailed statistics for the current version of the rule.
|
|
45
|
-
#
|
|
46
|
-
# @return [Lithic::Models::AuthRules::ReportStats, nil]
|
|
47
|
-
required :current_version_statistics, -> { Lithic::AuthRules::ReportStats }, nil?: true
|
|
48
|
-
|
|
49
43
|
# @!attribute date
|
|
50
44
|
# The date (UTC) for which the statistics are reported.
|
|
51
45
|
#
|
|
52
46
|
# @return [Date]
|
|
53
47
|
required :date, Date
|
|
54
48
|
|
|
55
|
-
# @!attribute draft_version_statistics
|
|
56
|
-
# Detailed statistics for the draft version of the rule.
|
|
57
|
-
#
|
|
58
|
-
# @return [Lithic::Models::AuthRules::ReportStats, nil]
|
|
59
|
-
required :draft_version_statistics, -> { Lithic::AuthRules::ReportStats }, nil?: true
|
|
60
|
-
|
|
61
49
|
# @!attribute versions
|
|
62
50
|
# Statistics for each version of the rule that was evaluated during the reported
|
|
63
51
|
# day.
|
|
64
52
|
#
|
|
65
|
-
# @return [Array<Lithic::Models::AuthRules::
|
|
66
|
-
required :versions,
|
|
67
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version] }
|
|
53
|
+
# @return [Array<Lithic::Models::AuthRules::ReportStats>]
|
|
54
|
+
required :versions, -> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ReportStats] }
|
|
68
55
|
|
|
69
|
-
# @!method initialize(
|
|
56
|
+
# @!method initialize(date:, versions:)
|
|
70
57
|
# Some parameter documentations has been truncated, see
|
|
71
58
|
# {Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic} for more
|
|
72
59
|
# details.
|
|
73
60
|
#
|
|
74
|
-
# @param current_version_statistics [Lithic::Models::AuthRules::ReportStats, nil] Detailed statistics for the current version of the rule.
|
|
75
|
-
#
|
|
76
61
|
# @param date [Date] The date (UTC) for which the statistics are reported.
|
|
77
62
|
#
|
|
78
|
-
# @param
|
|
79
|
-
#
|
|
80
|
-
# @param versions [Array<Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version>] Statistics for each version of the rule that was evaluated during the reported d
|
|
81
|
-
|
|
82
|
-
class Version < Lithic::Internal::Type::BaseModel
|
|
83
|
-
# @!attribute action_counts
|
|
84
|
-
# A mapping of action types to the number of times that action was returned by
|
|
85
|
-
# this version during the relevant period. Actions are the possible outcomes of a
|
|
86
|
-
# rule evaluation, such as DECLINE, CHALLENGE, REQUIRE_TFA, etc. In case rule
|
|
87
|
-
# didn't trigger any action, it's counted under NO_ACTION key.
|
|
88
|
-
#
|
|
89
|
-
# @return [Hash{Symbol=>Integer}]
|
|
90
|
-
required :action_counts, Lithic::Internal::Type::HashOf[Integer]
|
|
91
|
-
|
|
92
|
-
# @!attribute examples
|
|
93
|
-
# Example events and their outcomes for this version.
|
|
94
|
-
#
|
|
95
|
-
# @return [Array<Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example>]
|
|
96
|
-
required :examples,
|
|
97
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example] }
|
|
98
|
-
|
|
99
|
-
# @!attribute state
|
|
100
|
-
# The evaluation mode of this version during the reported period.
|
|
101
|
-
#
|
|
102
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::State]
|
|
103
|
-
required :state,
|
|
104
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::State }
|
|
105
|
-
|
|
106
|
-
# @!attribute version
|
|
107
|
-
# The rule version number.
|
|
108
|
-
#
|
|
109
|
-
# @return [Integer]
|
|
110
|
-
required :version, Integer
|
|
111
|
-
|
|
112
|
-
# @!method initialize(action_counts:, examples:, state:, version:)
|
|
113
|
-
# Some parameter documentations has been truncated, see
|
|
114
|
-
# {Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version}
|
|
115
|
-
# for more details.
|
|
116
|
-
#
|
|
117
|
-
# @param action_counts [Hash{Symbol=>Integer}] A mapping of action types to the number of times that action was returned by thi
|
|
118
|
-
#
|
|
119
|
-
# @param examples [Array<Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example>] Example events and their outcomes for this version.
|
|
120
|
-
#
|
|
121
|
-
# @param state [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::State] The evaluation mode of this version during the reported period.
|
|
122
|
-
#
|
|
123
|
-
# @param version [Integer] The rule version number.
|
|
124
|
-
|
|
125
|
-
class Example < Lithic::Internal::Type::BaseModel
|
|
126
|
-
# @!attribute actions
|
|
127
|
-
# The actions taken by this version for this event.
|
|
128
|
-
#
|
|
129
|
-
# @return [Array<Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction>]
|
|
130
|
-
required :actions,
|
|
131
|
-
-> { Lithic::Internal::Type::ArrayOf[union: Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action] }
|
|
132
|
-
|
|
133
|
-
# @!attribute event_token
|
|
134
|
-
# The event token.
|
|
135
|
-
#
|
|
136
|
-
# @return [String]
|
|
137
|
-
required :event_token, String
|
|
138
|
-
|
|
139
|
-
# @!attribute timestamp
|
|
140
|
-
# The timestamp of the event.
|
|
141
|
-
#
|
|
142
|
-
# @return [Time]
|
|
143
|
-
required :timestamp, Time
|
|
144
|
-
|
|
145
|
-
# @!method initialize(actions:, event_token:, timestamp:)
|
|
146
|
-
# @param actions [Array<Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction>] The actions taken by this version for this event.
|
|
147
|
-
#
|
|
148
|
-
# @param event_token [String] The event token.
|
|
149
|
-
#
|
|
150
|
-
# @param timestamp [Time] The timestamp of the event.
|
|
151
|
-
|
|
152
|
-
module Action
|
|
153
|
-
extend Lithic::Internal::Type::Union
|
|
154
|
-
|
|
155
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization }
|
|
156
|
-
|
|
157
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization }
|
|
158
|
-
|
|
159
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction }
|
|
160
|
-
|
|
161
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization }
|
|
162
|
-
|
|
163
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction }
|
|
164
|
-
|
|
165
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH }
|
|
166
|
-
|
|
167
|
-
variant -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction }
|
|
168
|
-
|
|
169
|
-
class DeclineActionAuthorization < Lithic::Internal::Type::BaseModel
|
|
170
|
-
# @!attribute code
|
|
171
|
-
# The detailed result code explaining the specific reason for the decline
|
|
172
|
-
#
|
|
173
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Code]
|
|
174
|
-
required :code,
|
|
175
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Code }
|
|
176
|
-
|
|
177
|
-
# @!attribute type
|
|
178
|
-
#
|
|
179
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Type]
|
|
180
|
-
required :type,
|
|
181
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Type }
|
|
182
|
-
|
|
183
|
-
# @!method initialize(code:, type:)
|
|
184
|
-
# @param code [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Code] The detailed result code explaining the specific reason for the decline
|
|
185
|
-
#
|
|
186
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization::Type]
|
|
187
|
-
|
|
188
|
-
# The detailed result code explaining the specific reason for the decline
|
|
189
|
-
#
|
|
190
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization#code
|
|
191
|
-
module Code
|
|
192
|
-
extend Lithic::Internal::Type::Enum
|
|
193
|
-
|
|
194
|
-
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED
|
|
195
|
-
ACCOUNT_DELINQUENT = :ACCOUNT_DELINQUENT
|
|
196
|
-
ACCOUNT_INACTIVE = :ACCOUNT_INACTIVE
|
|
197
|
-
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED = :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
|
|
198
|
-
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
|
|
199
|
-
ACCOUNT_PAUSED = :ACCOUNT_PAUSED
|
|
200
|
-
ACCOUNT_UNDER_REVIEW = :ACCOUNT_UNDER_REVIEW
|
|
201
|
-
ADDRESS_INCORRECT = :ADDRESS_INCORRECT
|
|
202
|
-
APPROVED = :APPROVED
|
|
203
|
-
AUTH_RULE_ALLOWED_COUNTRY = :AUTH_RULE_ALLOWED_COUNTRY
|
|
204
|
-
AUTH_RULE_ALLOWED_MCC = :AUTH_RULE_ALLOWED_MCC
|
|
205
|
-
AUTH_RULE_BLOCKED_COUNTRY = :AUTH_RULE_BLOCKED_COUNTRY
|
|
206
|
-
AUTH_RULE_BLOCKED_MCC = :AUTH_RULE_BLOCKED_MCC
|
|
207
|
-
AUTH_RULE = :AUTH_RULE
|
|
208
|
-
CARD_CLOSED = :CARD_CLOSED
|
|
209
|
-
CARD_CRYPTOGRAM_VALIDATION_FAILURE = :CARD_CRYPTOGRAM_VALIDATION_FAILURE
|
|
210
|
-
CARD_EXPIRED = :CARD_EXPIRED
|
|
211
|
-
CARD_EXPIRY_DATE_INCORRECT = :CARD_EXPIRY_DATE_INCORRECT
|
|
212
|
-
CARD_INVALID = :CARD_INVALID
|
|
213
|
-
CARD_NOT_ACTIVATED = :CARD_NOT_ACTIVATED
|
|
214
|
-
CARD_PAUSED = :CARD_PAUSED
|
|
215
|
-
CARD_PIN_INCORRECT = :CARD_PIN_INCORRECT
|
|
216
|
-
CARD_RESTRICTED = :CARD_RESTRICTED
|
|
217
|
-
CARD_SECURITY_CODE_INCORRECT = :CARD_SECURITY_CODE_INCORRECT
|
|
218
|
-
CARD_SPEND_LIMIT_EXCEEDED = :CARD_SPEND_LIMIT_EXCEEDED
|
|
219
|
-
CONTACT_CARD_ISSUER = :CONTACT_CARD_ISSUER
|
|
220
|
-
CUSTOMER_ASA_TIMEOUT = :CUSTOMER_ASA_TIMEOUT
|
|
221
|
-
CUSTOM_ASA_RESULT = :CUSTOM_ASA_RESULT
|
|
222
|
-
DECLINED = :DECLINED
|
|
223
|
-
DO_NOT_HONOR = :DO_NOT_HONOR
|
|
224
|
-
DRIVER_NUMBER_INVALID = :DRIVER_NUMBER_INVALID
|
|
225
|
-
FORMAT_ERROR = :FORMAT_ERROR
|
|
226
|
-
INSUFFICIENT_FUNDING_SOURCE_BALANCE = :INSUFFICIENT_FUNDING_SOURCE_BALANCE
|
|
227
|
-
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
|
228
|
-
LITHIC_SYSTEM_ERROR = :LITHIC_SYSTEM_ERROR
|
|
229
|
-
LITHIC_SYSTEM_RATE_LIMIT = :LITHIC_SYSTEM_RATE_LIMIT
|
|
230
|
-
MALFORMED_ASA_RESPONSE = :MALFORMED_ASA_RESPONSE
|
|
231
|
-
MERCHANT_INVALID = :MERCHANT_INVALID
|
|
232
|
-
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE = :MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE
|
|
233
|
-
MERCHANT_NOT_PERMITTED = :MERCHANT_NOT_PERMITTED
|
|
234
|
-
OVER_REVERSAL_ATTEMPTED = :OVER_REVERSAL_ATTEMPTED
|
|
235
|
-
PIN_BLOCKED = :PIN_BLOCKED
|
|
236
|
-
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED = :PROGRAM_CARD_SPEND_LIMIT_EXCEEDED
|
|
237
|
-
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
|
238
|
-
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
|
239
|
-
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
|
240
|
-
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
|
241
|
-
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
|
242
|
-
SUSPECTED_FRAUD = :SUSPECTED_FRAUD
|
|
243
|
-
TRANSACTION_INVALID = :TRANSACTION_INVALID
|
|
244
|
-
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
|
|
245
|
-
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
|
|
246
|
-
TRANSACTION_PREVIOUSLY_COMPLETED = :TRANSACTION_PREVIOUSLY_COMPLETED
|
|
247
|
-
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
|
248
|
-
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
|
249
|
-
CARDHOLDER_CHALLENGED = :CARDHOLDER_CHALLENGED
|
|
250
|
-
CARDHOLDER_CHALLENGE_FAILED = :CARDHOLDER_CHALLENGE_FAILED
|
|
251
|
-
|
|
252
|
-
# @!method self.values
|
|
253
|
-
# @return [Array<Symbol>]
|
|
254
|
-
end
|
|
255
|
-
|
|
256
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization#type
|
|
257
|
-
module Type
|
|
258
|
-
extend Lithic::Internal::Type::Enum
|
|
259
|
-
|
|
260
|
-
DECLINE = :DECLINE
|
|
261
|
-
|
|
262
|
-
# @!method self.values
|
|
263
|
-
# @return [Array<Symbol>]
|
|
264
|
-
end
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
class ChallengeActionAuthorization < Lithic::Internal::Type::BaseModel
|
|
268
|
-
# @!attribute type
|
|
269
|
-
#
|
|
270
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization::Type]
|
|
271
|
-
required :type,
|
|
272
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization::Type }
|
|
273
|
-
|
|
274
|
-
# @!method initialize(type:)
|
|
275
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization::Type]
|
|
276
|
-
|
|
277
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization#type
|
|
278
|
-
module Type
|
|
279
|
-
extend Lithic::Internal::Type::Enum
|
|
280
|
-
|
|
281
|
-
CHALLENGE = :CHALLENGE
|
|
282
|
-
|
|
283
|
-
# @!method self.values
|
|
284
|
-
# @return [Array<Symbol>]
|
|
285
|
-
end
|
|
286
|
-
end
|
|
287
|
-
|
|
288
|
-
class ResultAuthentication3DSAction < Lithic::Internal::Type::BaseModel
|
|
289
|
-
# @!attribute type
|
|
290
|
-
#
|
|
291
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction::Type]
|
|
292
|
-
required :type,
|
|
293
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction::Type }
|
|
294
|
-
|
|
295
|
-
# @!method initialize(type:)
|
|
296
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction::Type]
|
|
297
|
-
|
|
298
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction#type
|
|
299
|
-
module Type
|
|
300
|
-
extend Lithic::Internal::Type::Enum
|
|
301
|
-
|
|
302
|
-
DECLINE = :DECLINE
|
|
303
|
-
CHALLENGE = :CHALLENGE
|
|
304
|
-
|
|
305
|
-
# @!method self.values
|
|
306
|
-
# @return [Array<Symbol>]
|
|
307
|
-
end
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
class DeclineActionTokenization < Lithic::Internal::Type::BaseModel
|
|
311
|
-
# @!attribute type
|
|
312
|
-
# Decline the tokenization request
|
|
313
|
-
#
|
|
314
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Type]
|
|
315
|
-
required :type,
|
|
316
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Type }
|
|
317
|
-
|
|
318
|
-
# @!attribute reason
|
|
319
|
-
# Reason code for declining the tokenization request
|
|
320
|
-
#
|
|
321
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Reason, nil]
|
|
322
|
-
optional :reason,
|
|
323
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Reason }
|
|
324
|
-
|
|
325
|
-
# @!method initialize(type:, reason: nil)
|
|
326
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Type] Decline the tokenization request
|
|
327
|
-
#
|
|
328
|
-
# @param reason [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization::Reason] Reason code for declining the tokenization request
|
|
329
|
-
|
|
330
|
-
# Decline the tokenization request
|
|
331
|
-
#
|
|
332
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization#type
|
|
333
|
-
module Type
|
|
334
|
-
extend Lithic::Internal::Type::Enum
|
|
335
|
-
|
|
336
|
-
DECLINE = :DECLINE
|
|
337
|
-
|
|
338
|
-
# @!method self.values
|
|
339
|
-
# @return [Array<Symbol>]
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
# Reason code for declining the tokenization request
|
|
343
|
-
#
|
|
344
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization#reason
|
|
345
|
-
module Reason
|
|
346
|
-
extend Lithic::Internal::Type::Enum
|
|
347
|
-
|
|
348
|
-
ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
|
|
349
|
-
DEVICE_SCORE_1 = :DEVICE_SCORE_1
|
|
350
|
-
ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
351
|
-
WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
|
|
352
|
-
CVC_MISMATCH = :CVC_MISMATCH
|
|
353
|
-
CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
|
|
354
|
-
CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
|
|
355
|
-
CARD_INVALID_STATE = :CARD_INVALID_STATE
|
|
356
|
-
CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
|
|
357
|
-
INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
|
|
358
|
-
NETWORK_FAILURE = :NETWORK_FAILURE
|
|
359
|
-
GENERIC_DECLINE = :GENERIC_DECLINE
|
|
360
|
-
DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
|
|
361
|
-
|
|
362
|
-
# @!method self.values
|
|
363
|
-
# @return [Array<Symbol>]
|
|
364
|
-
end
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
368
|
-
# @!attribute type
|
|
369
|
-
# Require two-factor authentication for the tokenization request
|
|
370
|
-
#
|
|
371
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Type]
|
|
372
|
-
required :type,
|
|
373
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Type }
|
|
374
|
-
|
|
375
|
-
# @!attribute reason
|
|
376
|
-
# Reason code for requiring two-factor authentication
|
|
377
|
-
#
|
|
378
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Reason, nil]
|
|
379
|
-
optional :reason,
|
|
380
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Reason }
|
|
381
|
-
|
|
382
|
-
# @!method initialize(type:, reason: nil)
|
|
383
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Type] Require two-factor authentication for the tokenization request
|
|
384
|
-
#
|
|
385
|
-
# @param reason [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction::Reason] Reason code for requiring two-factor authentication
|
|
386
|
-
|
|
387
|
-
# Require two-factor authentication for the tokenization request
|
|
388
|
-
#
|
|
389
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction#type
|
|
390
|
-
module Type
|
|
391
|
-
extend Lithic::Internal::Type::Enum
|
|
392
|
-
|
|
393
|
-
REQUIRE_TFA = :REQUIRE_TFA
|
|
394
|
-
|
|
395
|
-
# @!method self.values
|
|
396
|
-
# @return [Array<Symbol>]
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
# Reason code for requiring two-factor authentication
|
|
400
|
-
#
|
|
401
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction#reason
|
|
402
|
-
module Reason
|
|
403
|
-
extend Lithic::Internal::Type::Enum
|
|
404
|
-
|
|
405
|
-
WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
|
|
406
|
-
SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
|
|
407
|
-
DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
|
|
408
|
-
TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
|
|
409
|
-
TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
|
|
410
|
-
TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
411
|
-
OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
|
|
412
|
-
HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
|
|
413
|
-
HIGH_RISK = :HIGH_RISK
|
|
414
|
-
ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
|
|
415
|
-
DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
|
|
416
|
-
CARD_STATE_TFA = :CARD_STATE_TFA
|
|
417
|
-
HARDCODED_TFA = :HARDCODED_TFA
|
|
418
|
-
CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
|
|
419
|
-
DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
|
|
420
|
-
|
|
421
|
-
# @!method self.values
|
|
422
|
-
# @return [Array<Symbol>]
|
|
423
|
-
end
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
class ApproveActionACH < Lithic::Internal::Type::BaseModel
|
|
427
|
-
# @!attribute type
|
|
428
|
-
# Approve the ACH transaction
|
|
429
|
-
#
|
|
430
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH::Type]
|
|
431
|
-
required :type,
|
|
432
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH::Type }
|
|
433
|
-
|
|
434
|
-
# @!method initialize(type:)
|
|
435
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH::Type] Approve the ACH transaction
|
|
436
|
-
|
|
437
|
-
# Approve the ACH transaction
|
|
438
|
-
#
|
|
439
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH#type
|
|
440
|
-
module Type
|
|
441
|
-
extend Lithic::Internal::Type::Enum
|
|
442
|
-
|
|
443
|
-
APPROVE = :APPROVE
|
|
444
|
-
|
|
445
|
-
# @!method self.values
|
|
446
|
-
# @return [Array<Symbol>]
|
|
447
|
-
end
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
class ReturnAction < Lithic::Internal::Type::BaseModel
|
|
451
|
-
# @!attribute code
|
|
452
|
-
# NACHA return code to use when returning the transaction. Note that the list of
|
|
453
|
-
# available return codes is subject to an allowlist configured at the program
|
|
454
|
-
# level
|
|
455
|
-
#
|
|
456
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Code]
|
|
457
|
-
required :code,
|
|
458
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Code }
|
|
459
|
-
|
|
460
|
-
# @!attribute type
|
|
461
|
-
# Return the ACH transaction
|
|
462
|
-
#
|
|
463
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Type]
|
|
464
|
-
required :type,
|
|
465
|
-
enum: -> { Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Type }
|
|
466
|
-
|
|
467
|
-
# @!method initialize(code:, type:)
|
|
468
|
-
# Some parameter documentations has been truncated, see
|
|
469
|
-
# {Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction}
|
|
470
|
-
# for more details.
|
|
471
|
-
#
|
|
472
|
-
# @param code [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Code] NACHA return code to use when returning the transaction. Note that the list of a
|
|
473
|
-
#
|
|
474
|
-
# @param type [Symbol, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction::Type] Return the ACH transaction
|
|
475
|
-
|
|
476
|
-
# NACHA return code to use when returning the transaction. Note that the list of
|
|
477
|
-
# available return codes is subject to an allowlist configured at the program
|
|
478
|
-
# level
|
|
479
|
-
#
|
|
480
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction#code
|
|
481
|
-
module Code
|
|
482
|
-
extend Lithic::Internal::Type::Enum
|
|
483
|
-
|
|
484
|
-
R01 = :R01
|
|
485
|
-
R02 = :R02
|
|
486
|
-
R03 = :R03
|
|
487
|
-
R04 = :R04
|
|
488
|
-
R05 = :R05
|
|
489
|
-
R06 = :R06
|
|
490
|
-
R07 = :R07
|
|
491
|
-
R08 = :R08
|
|
492
|
-
R09 = :R09
|
|
493
|
-
R10 = :R10
|
|
494
|
-
R11 = :R11
|
|
495
|
-
R12 = :R12
|
|
496
|
-
R13 = :R13
|
|
497
|
-
R14 = :R14
|
|
498
|
-
R15 = :R15
|
|
499
|
-
R16 = :R16
|
|
500
|
-
R17 = :R17
|
|
501
|
-
R18 = :R18
|
|
502
|
-
R19 = :R19
|
|
503
|
-
R20 = :R20
|
|
504
|
-
R21 = :R21
|
|
505
|
-
R22 = :R22
|
|
506
|
-
R23 = :R23
|
|
507
|
-
R24 = :R24
|
|
508
|
-
R25 = :R25
|
|
509
|
-
R26 = :R26
|
|
510
|
-
R27 = :R27
|
|
511
|
-
R28 = :R28
|
|
512
|
-
R29 = :R29
|
|
513
|
-
R30 = :R30
|
|
514
|
-
R31 = :R31
|
|
515
|
-
R32 = :R32
|
|
516
|
-
R33 = :R33
|
|
517
|
-
R34 = :R34
|
|
518
|
-
R35 = :R35
|
|
519
|
-
R36 = :R36
|
|
520
|
-
R37 = :R37
|
|
521
|
-
R38 = :R38
|
|
522
|
-
R39 = :R39
|
|
523
|
-
R40 = :R40
|
|
524
|
-
R41 = :R41
|
|
525
|
-
R42 = :R42
|
|
526
|
-
R43 = :R43
|
|
527
|
-
R44 = :R44
|
|
528
|
-
R45 = :R45
|
|
529
|
-
R46 = :R46
|
|
530
|
-
R47 = :R47
|
|
531
|
-
R50 = :R50
|
|
532
|
-
R51 = :R51
|
|
533
|
-
R52 = :R52
|
|
534
|
-
R53 = :R53
|
|
535
|
-
R61 = :R61
|
|
536
|
-
R62 = :R62
|
|
537
|
-
R67 = :R67
|
|
538
|
-
R68 = :R68
|
|
539
|
-
R69 = :R69
|
|
540
|
-
R70 = :R70
|
|
541
|
-
R71 = :R71
|
|
542
|
-
R72 = :R72
|
|
543
|
-
R73 = :R73
|
|
544
|
-
R74 = :R74
|
|
545
|
-
R75 = :R75
|
|
546
|
-
R76 = :R76
|
|
547
|
-
R77 = :R77
|
|
548
|
-
R80 = :R80
|
|
549
|
-
R81 = :R81
|
|
550
|
-
R82 = :R82
|
|
551
|
-
R83 = :R83
|
|
552
|
-
R84 = :R84
|
|
553
|
-
R85 = :R85
|
|
554
|
-
|
|
555
|
-
# @!method self.values
|
|
556
|
-
# @return [Array<Symbol>]
|
|
557
|
-
end
|
|
558
|
-
|
|
559
|
-
# Return the ACH transaction
|
|
560
|
-
#
|
|
561
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction#type
|
|
562
|
-
module Type
|
|
563
|
-
extend Lithic::Internal::Type::Enum
|
|
564
|
-
|
|
565
|
-
RETURN = :RETURN
|
|
566
|
-
|
|
567
|
-
# @!method self.values
|
|
568
|
-
# @return [Array<Symbol>]
|
|
569
|
-
end
|
|
570
|
-
end
|
|
571
|
-
|
|
572
|
-
# @!method self.variants
|
|
573
|
-
# @return [Array(Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version::Example::Action::ReturnAction)]
|
|
574
|
-
end
|
|
575
|
-
end
|
|
576
|
-
|
|
577
|
-
# The evaluation mode of this version during the reported period.
|
|
578
|
-
#
|
|
579
|
-
# @see Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic::Version#state
|
|
580
|
-
module State
|
|
581
|
-
extend Lithic::Internal::Type::Enum
|
|
582
|
-
|
|
583
|
-
ACTIVE = :ACTIVE
|
|
584
|
-
SHADOW = :SHADOW
|
|
585
|
-
INACTIVE = :INACTIVE
|
|
586
|
-
|
|
587
|
-
# @!method self.values
|
|
588
|
-
# @return [Array<Symbol>]
|
|
589
|
-
end
|
|
590
|
-
end
|
|
63
|
+
# @param versions [Array<Lithic::Models::AuthRules::ReportStats>] Statistics for each version of the rule that was evaluated during the reported d
|
|
591
64
|
end
|
|
592
65
|
end
|
|
593
66
|
end
|
|
@@ -494,27 +494,20 @@ module Lithic
|
|
|
494
494
|
# @!attribute token
|
|
495
495
|
# Globally unique identifier for the card.
|
|
496
496
|
#
|
|
497
|
-
# @return [String
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
# @!attribute hostname
|
|
501
|
-
# Hostname of card’s locked merchant (will be empty if not applicable)
|
|
502
|
-
#
|
|
503
|
-
# @return [String, nil]
|
|
504
|
-
optional :hostname, String
|
|
497
|
+
# @return [String]
|
|
498
|
+
required :token, String
|
|
505
499
|
|
|
506
500
|
# @!attribute last_four
|
|
507
501
|
# Last four digits of the card number
|
|
508
502
|
#
|
|
509
|
-
# @return [String
|
|
510
|
-
|
|
503
|
+
# @return [String]
|
|
504
|
+
required :last_four, String
|
|
511
505
|
|
|
512
506
|
# @!attribute memo
|
|
513
|
-
# Customizable name to identify the card
|
|
514
|
-
# store JSON data as it can cause unexpected behavior.
|
|
507
|
+
# Customizable name to identify the card
|
|
515
508
|
#
|
|
516
|
-
# @return [String
|
|
517
|
-
|
|
509
|
+
# @return [String]
|
|
510
|
+
required :memo, String
|
|
518
511
|
|
|
519
512
|
# @!attribute spend_limit
|
|
520
513
|
# Amount (in cents) to limit approved authorizations. Purchase requests above the
|
|
@@ -526,29 +519,29 @@ module Lithic
|
|
|
526
519
|
# charges (i.e., when a merchant sends a clearing message without a prior
|
|
527
520
|
# authorization).
|
|
528
521
|
#
|
|
529
|
-
# @return [Integer
|
|
530
|
-
|
|
522
|
+
# @return [Integer]
|
|
523
|
+
required :spend_limit, Integer
|
|
531
524
|
|
|
532
525
|
# @!attribute spend_limit_duration
|
|
533
526
|
# Note that to support recurring monthly payments, which can occur on different
|
|
534
527
|
# day every month, the time window we consider for MONTHLY velocity starts 6 days
|
|
535
528
|
# after the current calendar date one month prior.
|
|
536
529
|
#
|
|
537
|
-
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration
|
|
538
|
-
|
|
530
|
+
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration]
|
|
531
|
+
required :spend_limit_duration,
|
|
539
532
|
enum: -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration }
|
|
540
533
|
|
|
541
534
|
# @!attribute state
|
|
542
535
|
#
|
|
543
|
-
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::State
|
|
544
|
-
|
|
536
|
+
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::State]
|
|
537
|
+
required :state, enum: -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State }
|
|
545
538
|
|
|
546
539
|
# @!attribute type
|
|
547
540
|
#
|
|
548
|
-
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::Type
|
|
549
|
-
|
|
541
|
+
# @return [Symbol, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::Type]
|
|
542
|
+
required :type, enum: -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type }
|
|
550
543
|
|
|
551
|
-
# @!method initialize(token
|
|
544
|
+
# @!method initialize(token:, last_four:, memo:, spend_limit:, spend_limit_duration:, state:, type:)
|
|
552
545
|
# Some parameter documentations has been truncated, see
|
|
553
546
|
# {Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card} for more
|
|
554
547
|
# details.
|
|
@@ -557,11 +550,9 @@ module Lithic
|
|
|
557
550
|
#
|
|
558
551
|
# @param token [String] Globally unique identifier for the card.
|
|
559
552
|
#
|
|
560
|
-
# @param hostname [String] Hostname of card’s locked merchant (will be empty if not applicable)
|
|
561
|
-
#
|
|
562
553
|
# @param last_four [String] Last four digits of the card number
|
|
563
554
|
#
|
|
564
|
-
# @param memo [String] Customizable name to identify the card
|
|
555
|
+
# @param memo [String] Customizable name to identify the card
|
|
565
556
|
#
|
|
566
557
|
# @param spend_limit [Integer] Amount (in cents) to limit approved authorizations. Purchase requests above the
|
|
567
558
|
#
|