lithic 0.14.0 → 0.15.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.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/internal/transport/base_client.rb +2 -0
  6. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
  7. data/lib/lithic/models/auth_rules/auth_rule.rb +10 -6
  8. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
  9. data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
  10. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
  11. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +52 -34
  13. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +533 -0
  14. data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +18 -14
  15. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
  16. data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
  17. data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -9
  18. data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
  19. data/lib/lithic/models/balance.rb +8 -6
  20. data/lib/lithic/models/card_authorization.rb +1266 -0
  21. data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
  22. data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
  23. data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
  24. data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
  25. data/lib/lithic/models/card_program.rb +2 -2
  26. data/lib/lithic/models/event.rb +13 -4
  27. data/lib/lithic/models/event_list_params.rb +7 -2
  28. data/lib/lithic/models/event_subscription.rb +7 -2
  29. data/lib/lithic/models/events/subscription_create_params.rb +7 -2
  30. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  31. data/lib/lithic/models/events/subscription_update_params.rb +7 -2
  32. data/lib/lithic/models/external_bank_account.rb +1 -1
  33. data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
  34. data/lib/lithic/models/financial_accounts/statement.rb +4 -4
  35. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
  36. data/lib/lithic/models/financial_event.rb +1 -0
  37. data/lib/lithic/models/kyb_business_entity.rb +2 -2
  38. data/lib/lithic/models/parsed_webhook_event.rb +4 -1
  39. data/lib/lithic/models/settlement_detail.rb +14 -14
  40. data/lib/lithic/models/statement_totals.rb +6 -6
  41. data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
  42. data/lib/lithic/models/transaction.rb +2 -2
  43. data/lib/lithic/models/transfer_limits_response.rb +12 -12
  44. data/lib/lithic/models.rb +8 -0
  45. data/lib/lithic/resources/auth_rules/v2.rb +1 -1
  46. data/lib/lithic/resources/card_authorizations.rb +45 -0
  47. data/lib/lithic/resources/external_bank_accounts.rb +19 -0
  48. data/lib/lithic/resources/webhooks.rb +1 -1
  49. data/lib/lithic/version.rb +1 -1
  50. data/lib/lithic.rb +6 -0
  51. data/rbi/lithic/client.rbi +3 -0
  52. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
  53. data/rbi/lithic/models/auth_rules/auth_rule.rbi +8 -4
  54. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
  55. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
  56. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
  57. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +75 -48
  58. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
  59. data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +24 -18
  60. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
  61. data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
  62. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +24 -12
  63. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
  64. data/rbi/lithic/models/balance.rbi +12 -6
  65. data/rbi/lithic/models/card_authorization.rbi +2540 -0
  66. data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
  67. data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
  68. data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
  69. data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
  70. data/rbi/lithic/models/card_program.rbi +3 -6
  71. data/rbi/lithic/models/event.rbi +23 -6
  72. data/rbi/lithic/models/event_list_params.rbi +11 -2
  73. data/rbi/lithic/models/event_subscription.rbi +11 -2
  74. data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
  75. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  76. data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
  77. data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
  78. data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
  79. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
  80. data/rbi/lithic/models/financial_event.rbi +2 -0
  81. data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
  82. data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
  83. data/rbi/lithic/models/settlement_detail.rbi +15 -15
  84. data/rbi/lithic/models/statement_totals.rbi +9 -18
  85. data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
  86. data/rbi/lithic/models/transaction.rbi +3 -3
  87. data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
  88. data/rbi/lithic/models.rbi +11 -0
  89. data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
  90. data/rbi/lithic/resources/card_authorizations.rbi +35 -0
  91. data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
  92. data/rbi/lithic/resources/webhooks.rbi +4 -1
  93. data/sig/lithic/client.rbs +2 -0
  94. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
  95. data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
  96. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
  97. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
  98. data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
  99. data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
  100. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
  101. data/sig/lithic/models/balance.rbs +17 -9
  102. data/sig/lithic/models/card_authorization.rbs +1038 -0
  103. data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
  104. data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
  105. data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
  106. data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
  107. data/sig/lithic/models/card_program.rbs +4 -6
  108. data/sig/lithic/models/event.rbs +2 -0
  109. data/sig/lithic/models/event_list_params.rbs +2 -0
  110. data/sig/lithic/models/event_subscription.rbs +2 -0
  111. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  112. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  113. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  114. data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
  115. data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
  116. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
  117. data/sig/lithic/models/financial_event.rbs +2 -0
  118. data/sig/lithic/models/kyb_business_entity.rbs +4 -6
  119. data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
  120. data/sig/lithic/models/settlement_detail.rbs +18 -18
  121. data/sig/lithic/models/statement_totals.rbs +12 -18
  122. data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
  123. data/sig/lithic/models/transaction.rbs +4 -8
  124. data/sig/lithic/models/transfer_limits_response.rbs +24 -36
  125. data/sig/lithic/models.rbs +8 -0
  126. data/sig/lithic/resources/card_authorizations.rbs +13 -0
  127. data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
  128. data/sig/lithic/resources/webhooks.rbs +1 -0
  129. metadata +20 -2
@@ -0,0 +1,1038 @@
1
+ module Lithic
2
+ module Models
3
+ type card_authorization =
4
+ {
5
+ token: String,
6
+ acquirer_fee: Integer,
7
+ amount: Integer,
8
+ amounts: Lithic::CardAuthorization::Amounts,
9
+ authorization_amount: Integer,
10
+ avs: Lithic::CardAuthorization::Avs,
11
+ card: Lithic::CardAuthorization::Card,
12
+ cardholder_currency: String,
13
+ cash_amount: Integer,
14
+ created: Time,
15
+ merchant: Lithic::CardAuthorization::Merchant,
16
+ merchant_amount: Integer,
17
+ merchant_currency: String,
18
+ service_location: Lithic::CardAuthorization::ServiceLocation?,
19
+ settled_amount: Integer,
20
+ status: Lithic::Models::CardAuthorization::status,
21
+ transaction_initiator: Lithic::Models::CardAuthorization::transaction_initiator,
22
+ account_type: Lithic::Models::CardAuthorization::account_type,
23
+ cardholder_authentication: Lithic::CardholderAuthentication,
24
+ cashback: Integer,
25
+ conversion_rate: Float,
26
+ event_token: String,
27
+ fleet_info: Lithic::CardAuthorization::FleetInfo?,
28
+ latest_challenge: Lithic::CardAuthorization::LatestChallenge,
29
+ network: Lithic::Models::CardAuthorization::network,
30
+ network_risk_score: Integer?,
31
+ network_specific_data: Lithic::CardAuthorization::NetworkSpecificData?,
32
+ pos: Lithic::CardAuthorization::Pos,
33
+ token_info: Lithic::TokenInfo?,
34
+ ttl: Time
35
+ }
36
+
37
+ class CardAuthorization < Lithic::Internal::Type::BaseModel
38
+ attr_accessor token: String
39
+
40
+ attr_accessor acquirer_fee: Integer
41
+
42
+ attr_accessor amount: Integer
43
+
44
+ attr_accessor amounts: Lithic::CardAuthorization::Amounts
45
+
46
+ attr_accessor authorization_amount: Integer
47
+
48
+ attr_accessor avs: Lithic::CardAuthorization::Avs
49
+
50
+ attr_accessor card: Lithic::CardAuthorization::Card
51
+
52
+ attr_accessor cardholder_currency: String
53
+
54
+ attr_accessor cash_amount: Integer
55
+
56
+ attr_accessor created: Time
57
+
58
+ attr_accessor merchant: Lithic::CardAuthorization::Merchant
59
+
60
+ attr_accessor merchant_amount: Integer
61
+
62
+ attr_accessor merchant_currency: String
63
+
64
+ attr_accessor service_location: Lithic::CardAuthorization::ServiceLocation?
65
+
66
+ attr_accessor settled_amount: Integer
67
+
68
+ attr_accessor status: Lithic::Models::CardAuthorization::status
69
+
70
+ attr_accessor transaction_initiator: Lithic::Models::CardAuthorization::transaction_initiator
71
+
72
+ attr_reader account_type: Lithic::Models::CardAuthorization::account_type?
73
+
74
+ def account_type=: (
75
+ Lithic::Models::CardAuthorization::account_type
76
+ ) -> Lithic::Models::CardAuthorization::account_type
77
+
78
+ attr_reader cardholder_authentication: Lithic::CardholderAuthentication?
79
+
80
+ def cardholder_authentication=: (
81
+ Lithic::CardholderAuthentication
82
+ ) -> Lithic::CardholderAuthentication
83
+
84
+ attr_reader cashback: Integer?
85
+
86
+ def cashback=: (Integer) -> Integer
87
+
88
+ attr_reader conversion_rate: Float?
89
+
90
+ def conversion_rate=: (Float) -> Float
91
+
92
+ attr_reader event_token: String?
93
+
94
+ def event_token=: (String) -> String
95
+
96
+ attr_accessor fleet_info: Lithic::CardAuthorization::FleetInfo?
97
+
98
+ attr_reader latest_challenge: Lithic::CardAuthorization::LatestChallenge?
99
+
100
+ def latest_challenge=: (
101
+ Lithic::CardAuthorization::LatestChallenge
102
+ ) -> Lithic::CardAuthorization::LatestChallenge
103
+
104
+ attr_reader network: Lithic::Models::CardAuthorization::network?
105
+
106
+ def network=: (
107
+ Lithic::Models::CardAuthorization::network
108
+ ) -> Lithic::Models::CardAuthorization::network
109
+
110
+ attr_accessor network_risk_score: Integer?
111
+
112
+ attr_accessor network_specific_data: Lithic::CardAuthorization::NetworkSpecificData?
113
+
114
+ attr_reader pos: Lithic::CardAuthorization::Pos?
115
+
116
+ def pos=: (
117
+ Lithic::CardAuthorization::Pos
118
+ ) -> Lithic::CardAuthorization::Pos
119
+
120
+ attr_accessor token_info: Lithic::TokenInfo?
121
+
122
+ attr_reader ttl: Time?
123
+
124
+ def ttl=: (Time) -> Time
125
+
126
+ def initialize: (
127
+ token: String,
128
+ acquirer_fee: Integer,
129
+ amount: Integer,
130
+ amounts: Lithic::CardAuthorization::Amounts,
131
+ authorization_amount: Integer,
132
+ avs: Lithic::CardAuthorization::Avs,
133
+ card: Lithic::CardAuthorization::Card,
134
+ cardholder_currency: String,
135
+ cash_amount: Integer,
136
+ created: Time,
137
+ merchant: Lithic::CardAuthorization::Merchant,
138
+ merchant_amount: Integer,
139
+ merchant_currency: String,
140
+ service_location: Lithic::CardAuthorization::ServiceLocation?,
141
+ settled_amount: Integer,
142
+ status: Lithic::Models::CardAuthorization::status,
143
+ transaction_initiator: Lithic::Models::CardAuthorization::transaction_initiator,
144
+ ?account_type: Lithic::Models::CardAuthorization::account_type,
145
+ ?cardholder_authentication: Lithic::CardholderAuthentication,
146
+ ?cashback: Integer,
147
+ ?conversion_rate: Float,
148
+ ?event_token: String,
149
+ ?fleet_info: Lithic::CardAuthorization::FleetInfo?,
150
+ ?latest_challenge: Lithic::CardAuthorization::LatestChallenge,
151
+ ?network: Lithic::Models::CardAuthorization::network,
152
+ ?network_risk_score: Integer?,
153
+ ?network_specific_data: Lithic::CardAuthorization::NetworkSpecificData?,
154
+ ?pos: Lithic::CardAuthorization::Pos,
155
+ ?token_info: Lithic::TokenInfo?,
156
+ ?ttl: Time
157
+ ) -> void
158
+
159
+ def to_hash: -> {
160
+ token: String,
161
+ acquirer_fee: Integer,
162
+ amount: Integer,
163
+ amounts: Lithic::CardAuthorization::Amounts,
164
+ authorization_amount: Integer,
165
+ avs: Lithic::CardAuthorization::Avs,
166
+ card: Lithic::CardAuthorization::Card,
167
+ cardholder_currency: String,
168
+ cash_amount: Integer,
169
+ created: Time,
170
+ merchant: Lithic::CardAuthorization::Merchant,
171
+ merchant_amount: Integer,
172
+ merchant_currency: String,
173
+ service_location: Lithic::CardAuthorization::ServiceLocation?,
174
+ settled_amount: Integer,
175
+ status: Lithic::Models::CardAuthorization::status,
176
+ transaction_initiator: Lithic::Models::CardAuthorization::transaction_initiator,
177
+ account_type: Lithic::Models::CardAuthorization::account_type,
178
+ cardholder_authentication: Lithic::CardholderAuthentication,
179
+ cashback: Integer,
180
+ conversion_rate: Float,
181
+ event_token: String,
182
+ fleet_info: Lithic::CardAuthorization::FleetInfo?,
183
+ latest_challenge: Lithic::CardAuthorization::LatestChallenge,
184
+ network: Lithic::Models::CardAuthorization::network,
185
+ network_risk_score: Integer?,
186
+ network_specific_data: Lithic::CardAuthorization::NetworkSpecificData?,
187
+ pos: Lithic::CardAuthorization::Pos,
188
+ token_info: Lithic::TokenInfo?,
189
+ ttl: Time
190
+ }
191
+
192
+ type amounts =
193
+ {
194
+ cardholder: Lithic::CardAuthorization::Amounts::Cardholder,
195
+ hold: Lithic::CardAuthorization::Amounts::Hold?,
196
+ merchant: Lithic::CardAuthorization::Amounts::Merchant,
197
+ settlement: Lithic::CardAuthorization::Amounts::Settlement?
198
+ }
199
+
200
+ class Amounts < Lithic::Internal::Type::BaseModel
201
+ attr_accessor cardholder: Lithic::CardAuthorization::Amounts::Cardholder
202
+
203
+ attr_accessor hold: Lithic::CardAuthorization::Amounts::Hold?
204
+
205
+ attr_accessor merchant: Lithic::CardAuthorization::Amounts::Merchant
206
+
207
+ attr_accessor settlement: Lithic::CardAuthorization::Amounts::Settlement?
208
+
209
+ def initialize: (
210
+ cardholder: Lithic::CardAuthorization::Amounts::Cardholder,
211
+ hold: Lithic::CardAuthorization::Amounts::Hold?,
212
+ merchant: Lithic::CardAuthorization::Amounts::Merchant,
213
+ settlement: Lithic::CardAuthorization::Amounts::Settlement?
214
+ ) -> void
215
+
216
+ def to_hash: -> {
217
+ cardholder: Lithic::CardAuthorization::Amounts::Cardholder,
218
+ hold: Lithic::CardAuthorization::Amounts::Hold?,
219
+ merchant: Lithic::CardAuthorization::Amounts::Merchant,
220
+ settlement: Lithic::CardAuthorization::Amounts::Settlement?
221
+ }
222
+
223
+ type cardholder =
224
+ { amount: Integer, conversion_rate: String, currency: String }
225
+
226
+ class Cardholder < Lithic::Internal::Type::BaseModel
227
+ attr_accessor amount: Integer
228
+
229
+ attr_accessor conversion_rate: String
230
+
231
+ attr_accessor currency: String
232
+
233
+ def initialize: (
234
+ amount: Integer,
235
+ conversion_rate: String,
236
+ currency: String
237
+ ) -> void
238
+
239
+ def to_hash: -> {
240
+ amount: Integer,
241
+ conversion_rate: String,
242
+ currency: String
243
+ }
244
+ end
245
+
246
+ type hold = { amount: Integer, currency: String }
247
+
248
+ class Hold < Lithic::Internal::Type::BaseModel
249
+ attr_accessor amount: Integer
250
+
251
+ attr_accessor currency: String
252
+
253
+ def initialize: (amount: Integer, currency: String) -> void
254
+
255
+ def to_hash: -> { amount: Integer, currency: String }
256
+ end
257
+
258
+ type merchant = { amount: Integer, currency: String }
259
+
260
+ class Merchant < Lithic::Internal::Type::BaseModel
261
+ attr_accessor amount: Integer
262
+
263
+ attr_accessor currency: String
264
+
265
+ def initialize: (amount: Integer, currency: String) -> void
266
+
267
+ def to_hash: -> { amount: Integer, currency: String }
268
+ end
269
+
270
+ type settlement = { amount: Integer, currency: String }
271
+
272
+ class Settlement < Lithic::Internal::Type::BaseModel
273
+ attr_accessor amount: Integer
274
+
275
+ attr_accessor currency: String
276
+
277
+ def initialize: (amount: Integer, currency: String) -> void
278
+
279
+ def to_hash: -> { amount: Integer, currency: String }
280
+ end
281
+ end
282
+
283
+ type avs =
284
+ {
285
+ address: String,
286
+ address_on_file_match: Lithic::Models::CardAuthorization::Avs::address_on_file_match,
287
+ zipcode: String
288
+ }
289
+
290
+ class Avs < Lithic::Internal::Type::BaseModel
291
+ attr_accessor address: String
292
+
293
+ attr_accessor address_on_file_match: Lithic::Models::CardAuthorization::Avs::address_on_file_match
294
+
295
+ attr_accessor zipcode: String
296
+
297
+ def initialize: (
298
+ address: String,
299
+ address_on_file_match: Lithic::Models::CardAuthorization::Avs::address_on_file_match,
300
+ zipcode: String
301
+ ) -> void
302
+
303
+ def to_hash: -> {
304
+ address: String,
305
+ address_on_file_match: Lithic::Models::CardAuthorization::Avs::address_on_file_match,
306
+ zipcode: String
307
+ }
308
+
309
+ type address_on_file_match =
310
+ :MATCH
311
+ | :MATCH_ADDRESS_ONLY
312
+ | :MATCH_ZIP_ONLY
313
+ | :MISMATCH
314
+ | :NOT_PRESENT
315
+
316
+ module AddressOnFileMatch
317
+ extend Lithic::Internal::Type::Enum
318
+
319
+ MATCH: :MATCH
320
+ MATCH_ADDRESS_ONLY: :MATCH_ADDRESS_ONLY
321
+ MATCH_ZIP_ONLY: :MATCH_ZIP_ONLY
322
+ MISMATCH: :MISMATCH
323
+ NOT_PRESENT: :NOT_PRESENT
324
+
325
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Avs::address_on_file_match]
326
+ end
327
+ end
328
+
329
+ type card =
330
+ {
331
+ token: String,
332
+ last_four: String,
333
+ memo: String,
334
+ spend_limit: Integer,
335
+ spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
336
+ state: Lithic::Models::CardAuthorization::Card::state,
337
+ type: Lithic::Models::CardAuthorization::Card::type_
338
+ }
339
+
340
+ class Card < Lithic::Internal::Type::BaseModel
341
+ attr_accessor token: String
342
+
343
+ attr_accessor last_four: String
344
+
345
+ attr_accessor memo: String
346
+
347
+ attr_accessor spend_limit: Integer
348
+
349
+ attr_accessor spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration
350
+
351
+ attr_accessor state: Lithic::Models::CardAuthorization::Card::state
352
+
353
+ attr_accessor type: Lithic::Models::CardAuthorization::Card::type_
354
+
355
+ def initialize: (
356
+ token: String,
357
+ last_four: String,
358
+ memo: String,
359
+ spend_limit: Integer,
360
+ spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
361
+ state: Lithic::Models::CardAuthorization::Card::state,
362
+ type: Lithic::Models::CardAuthorization::Card::type_
363
+ ) -> void
364
+
365
+ def to_hash: -> {
366
+ token: String,
367
+ last_four: String,
368
+ memo: String,
369
+ spend_limit: Integer,
370
+ spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
371
+ state: Lithic::Models::CardAuthorization::Card::state,
372
+ type: Lithic::Models::CardAuthorization::Card::type_
373
+ }
374
+
375
+ type spend_limit_duration =
376
+ :ANNUALLY | :FOREVER | :MONTHLY | :TRANSACTION
377
+
378
+ module SpendLimitDuration
379
+ extend Lithic::Internal::Type::Enum
380
+
381
+ ANNUALLY: :ANNUALLY
382
+ FOREVER: :FOREVER
383
+ MONTHLY: :MONTHLY
384
+ TRANSACTION: :TRANSACTION
385
+
386
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Card::spend_limit_duration]
387
+ end
388
+
389
+ type state =
390
+ :CLOSED | :OPEN | :PAUSED | :PENDING_ACTIVATION | :PENDING_FULFILLMENT
391
+
392
+ module State
393
+ extend Lithic::Internal::Type::Enum
394
+
395
+ CLOSED: :CLOSED
396
+ OPEN: :OPEN
397
+ PAUSED: :PAUSED
398
+ PENDING_ACTIVATION: :PENDING_ACTIVATION
399
+ PENDING_FULFILLMENT: :PENDING_FULFILLMENT
400
+
401
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Card::state]
402
+ end
403
+
404
+ type type_ =
405
+ :SINGLE_USE
406
+ | :MERCHANT_LOCKED
407
+ | :UNLOCKED
408
+ | :PHYSICAL
409
+ | :DIGITAL_WALLET
410
+ | :VIRTUAL
411
+
412
+ module Type
413
+ extend Lithic::Internal::Type::Enum
414
+
415
+ SINGLE_USE: :SINGLE_USE
416
+ MERCHANT_LOCKED: :MERCHANT_LOCKED
417
+ UNLOCKED: :UNLOCKED
418
+ PHYSICAL: :PHYSICAL
419
+ DIGITAL_WALLET: :DIGITAL_WALLET
420
+ VIRTUAL: :VIRTUAL
421
+
422
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Card::type_]
423
+ end
424
+ end
425
+
426
+ type merchant =
427
+ { phone_number: String?, postal_code: String?, street_address: String? }
428
+
429
+ class Merchant < Lithic::Models::Merchant
430
+ def phone_number: -> String?
431
+
432
+ def phone_number=: (String? _) -> String?
433
+
434
+ def postal_code: -> String?
435
+
436
+ def postal_code=: (String? _) -> String?
437
+
438
+ def street_address: -> String?
439
+
440
+ def street_address=: (String? _) -> String?
441
+
442
+ def initialize: (
443
+ phone_number: String?,
444
+ postal_code: String?,
445
+ street_address: String?
446
+ ) -> void
447
+
448
+ def to_hash: -> {
449
+ phone_number: String?,
450
+ postal_code: String?,
451
+ street_address: String?
452
+ }
453
+ end
454
+
455
+ type service_location =
456
+ {
457
+ city: String?,
458
+ country: String?,
459
+ postal_code: String?,
460
+ state: String?,
461
+ street_address: String?
462
+ }
463
+
464
+ class ServiceLocation < Lithic::Internal::Type::BaseModel
465
+ attr_accessor city: String?
466
+
467
+ attr_accessor country: String?
468
+
469
+ attr_accessor postal_code: String?
470
+
471
+ attr_accessor state: String?
472
+
473
+ attr_accessor street_address: String?
474
+
475
+ def initialize: (
476
+ city: String?,
477
+ country: String?,
478
+ postal_code: String?,
479
+ state: String?,
480
+ street_address: String?
481
+ ) -> void
482
+
483
+ def to_hash: -> {
484
+ city: String?,
485
+ country: String?,
486
+ postal_code: String?,
487
+ state: String?,
488
+ street_address: String?
489
+ }
490
+ end
491
+
492
+ type status =
493
+ :AUTHORIZATION
494
+ | :CREDIT_AUTHORIZATION
495
+ | :FINANCIAL_AUTHORIZATION
496
+ | :FINANCIAL_CREDIT_AUTHORIZATION
497
+ | :BALANCE_INQUIRY
498
+
499
+ module Status
500
+ extend Lithic::Internal::Type::Enum
501
+
502
+ AUTHORIZATION: :AUTHORIZATION
503
+ CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
504
+ FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
505
+ FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
506
+ BALANCE_INQUIRY: :BALANCE_INQUIRY
507
+
508
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::status]
509
+ end
510
+
511
+ type transaction_initiator = :CARDHOLDER | :MERCHANT | :UNKNOWN
512
+
513
+ module TransactionInitiator
514
+ extend Lithic::Internal::Type::Enum
515
+
516
+ CARDHOLDER: :CARDHOLDER
517
+ MERCHANT: :MERCHANT
518
+ UNKNOWN: :UNKNOWN
519
+
520
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::transaction_initiator]
521
+ end
522
+
523
+ type account_type = :CHECKING | :SAVINGS
524
+
525
+ module AccountType
526
+ extend Lithic::Internal::Type::Enum
527
+
528
+ CHECKING: :CHECKING
529
+ SAVINGS: :SAVINGS
530
+
531
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::account_type]
532
+ end
533
+
534
+ type fleet_info =
535
+ {
536
+ fleet_prompt_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_prompt_code,
537
+ fleet_restriction_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_restriction_code,
538
+ driver_number: String?,
539
+ vehicle_number: String?
540
+ }
541
+
542
+ class FleetInfo < Lithic::Internal::Type::BaseModel
543
+ attr_accessor fleet_prompt_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_prompt_code
544
+
545
+ attr_accessor fleet_restriction_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_restriction_code
546
+
547
+ attr_accessor driver_number: String?
548
+
549
+ attr_accessor vehicle_number: String?
550
+
551
+ def initialize: (
552
+ fleet_prompt_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_prompt_code,
553
+ fleet_restriction_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_restriction_code,
554
+ ?driver_number: String?,
555
+ ?vehicle_number: String?
556
+ ) -> void
557
+
558
+ def to_hash: -> {
559
+ fleet_prompt_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_prompt_code,
560
+ fleet_restriction_code: Lithic::Models::CardAuthorization::FleetInfo::fleet_restriction_code,
561
+ driver_number: String?,
562
+ vehicle_number: String?
563
+ }
564
+
565
+ type fleet_prompt_code = :NO_PROMPT | :VEHICLE_NUMBER | :DRIVER_NUMBER
566
+
567
+ module FleetPromptCode
568
+ extend Lithic::Internal::Type::Enum
569
+
570
+ NO_PROMPT: :NO_PROMPT
571
+ VEHICLE_NUMBER: :VEHICLE_NUMBER
572
+ DRIVER_NUMBER: :DRIVER_NUMBER
573
+
574
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::FleetInfo::fleet_prompt_code]
575
+ end
576
+
577
+ type fleet_restriction_code = :NO_RESTRICTIONS | :FUEL_ONLY
578
+
579
+ module FleetRestrictionCode
580
+ extend Lithic::Internal::Type::Enum
581
+
582
+ NO_RESTRICTIONS: :NO_RESTRICTIONS
583
+ FUEL_ONLY: :FUEL_ONLY
584
+
585
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::FleetInfo::fleet_restriction_code]
586
+ end
587
+ end
588
+
589
+ type latest_challenge =
590
+ {
591
+ method_: Lithic::Models::CardAuthorization::LatestChallenge::method_,
592
+ phone_number: String?,
593
+ status: Lithic::Models::CardAuthorization::LatestChallenge::status,
594
+ completed_at: Time
595
+ }
596
+
597
+ class LatestChallenge < Lithic::Internal::Type::BaseModel
598
+ attr_accessor method_: Lithic::Models::CardAuthorization::LatestChallenge::method_
599
+
600
+ attr_accessor phone_number: String?
601
+
602
+ attr_accessor status: Lithic::Models::CardAuthorization::LatestChallenge::status
603
+
604
+ attr_reader completed_at: Time?
605
+
606
+ def completed_at=: (Time) -> Time
607
+
608
+ def initialize: (
609
+ method_: Lithic::Models::CardAuthorization::LatestChallenge::method_,
610
+ phone_number: String?,
611
+ status: Lithic::Models::CardAuthorization::LatestChallenge::status,
612
+ ?completed_at: Time
613
+ ) -> void
614
+
615
+ def to_hash: -> {
616
+ method_: Lithic::Models::CardAuthorization::LatestChallenge::method_,
617
+ phone_number: String?,
618
+ status: Lithic::Models::CardAuthorization::LatestChallenge::status,
619
+ completed_at: Time
620
+ }
621
+
622
+ type method_ = :SMS | :OUT_OF_BAND
623
+
624
+ module Method
625
+ extend Lithic::Internal::Type::Enum
626
+
627
+ SMS: :SMS
628
+ OUT_OF_BAND: :OUT_OF_BAND
629
+
630
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::LatestChallenge::method_]
631
+ end
632
+
633
+ type status = :COMPLETED | :DECLINED | :PENDING | :EXPIRED | :ERROR
634
+
635
+ module Status
636
+ extend Lithic::Internal::Type::Enum
637
+
638
+ COMPLETED: :COMPLETED
639
+ DECLINED: :DECLINED
640
+ PENDING: :PENDING
641
+ EXPIRED: :EXPIRED
642
+ ERROR: :ERROR
643
+
644
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::LatestChallenge::status]
645
+ end
646
+ end
647
+
648
+ type network =
649
+ :AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
650
+
651
+ module Network
652
+ extend Lithic::Internal::Type::Enum
653
+
654
+ AMEX: :AMEX
655
+ INTERLINK: :INTERLINK
656
+ MAESTRO: :MAESTRO
657
+ MASTERCARD: :MASTERCARD
658
+ UNKNOWN: :UNKNOWN
659
+ VISA: :VISA
660
+
661
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::network]
662
+ end
663
+
664
+ type network_specific_data =
665
+ {
666
+ mastercard: Lithic::CardAuthorization::NetworkSpecificData::Mastercard?,
667
+ visa: Lithic::CardAuthorization::NetworkSpecificData::Visa?
668
+ }
669
+
670
+ class NetworkSpecificData < Lithic::Internal::Type::BaseModel
671
+ attr_accessor mastercard: Lithic::CardAuthorization::NetworkSpecificData::Mastercard?
672
+
673
+ attr_accessor visa: Lithic::CardAuthorization::NetworkSpecificData::Visa?
674
+
675
+ def initialize: (
676
+ ?mastercard: Lithic::CardAuthorization::NetworkSpecificData::Mastercard?,
677
+ ?visa: Lithic::CardAuthorization::NetworkSpecificData::Visa?
678
+ ) -> void
679
+
680
+ def to_hash: -> {
681
+ mastercard: Lithic::CardAuthorization::NetworkSpecificData::Mastercard?,
682
+ visa: Lithic::CardAuthorization::NetworkSpecificData::Visa?
683
+ }
684
+
685
+ type mastercard =
686
+ {
687
+ ecommerce_security_level_indicator: String?,
688
+ on_behalf_service_result: ::Array[Lithic::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
689
+ transaction_type_identifier: String?
690
+ }
691
+
692
+ class Mastercard < Lithic::Internal::Type::BaseModel
693
+ attr_accessor ecommerce_security_level_indicator: String?
694
+
695
+ attr_accessor on_behalf_service_result: ::Array[Lithic::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?
696
+
697
+ attr_accessor transaction_type_identifier: String?
698
+
699
+ def initialize: (
700
+ ?ecommerce_security_level_indicator: String?,
701
+ ?on_behalf_service_result: ::Array[Lithic::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
702
+ ?transaction_type_identifier: String?
703
+ ) -> void
704
+
705
+ def to_hash: -> {
706
+ ecommerce_security_level_indicator: String?,
707
+ on_behalf_service_result: ::Array[Lithic::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
708
+ transaction_type_identifier: String?
709
+ }
710
+
711
+ type on_behalf_service_result =
712
+ { :result_1 => String, :result_2 => String, service: String }
713
+
714
+ class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
715
+ attr_accessor result_1: String
716
+
717
+ attr_accessor result_2: String
718
+
719
+ attr_accessor service: String
720
+
721
+ def initialize: (
722
+ result_1: String,
723
+ result_2: String,
724
+ service: String
725
+ ) -> void
726
+
727
+ def to_hash: -> {
728
+ :result_1 => String,
729
+ :result_2 => String,
730
+ service: String
731
+ }
732
+ end
733
+ end
734
+
735
+ type visa = { business_application_identifier: String? }
736
+
737
+ class Visa < Lithic::Internal::Type::BaseModel
738
+ attr_accessor business_application_identifier: String?
739
+
740
+ def initialize: (?business_application_identifier: String?) -> void
741
+
742
+ def to_hash: -> { business_application_identifier: String? }
743
+ end
744
+ end
745
+
746
+ type pos =
747
+ {
748
+ entry_mode: Lithic::CardAuthorization::Pos::EntryMode,
749
+ terminal: Lithic::CardAuthorization::Pos::Terminal
750
+ }
751
+
752
+ class Pos < Lithic::Internal::Type::BaseModel
753
+ attr_reader entry_mode: Lithic::CardAuthorization::Pos::EntryMode?
754
+
755
+ def entry_mode=: (
756
+ Lithic::CardAuthorization::Pos::EntryMode
757
+ ) -> Lithic::CardAuthorization::Pos::EntryMode
758
+
759
+ attr_reader terminal: Lithic::CardAuthorization::Pos::Terminal?
760
+
761
+ def terminal=: (
762
+ Lithic::CardAuthorization::Pos::Terminal
763
+ ) -> Lithic::CardAuthorization::Pos::Terminal
764
+
765
+ def initialize: (
766
+ ?entry_mode: Lithic::CardAuthorization::Pos::EntryMode,
767
+ ?terminal: Lithic::CardAuthorization::Pos::Terminal
768
+ ) -> void
769
+
770
+ def to_hash: -> {
771
+ entry_mode: Lithic::CardAuthorization::Pos::EntryMode,
772
+ terminal: Lithic::CardAuthorization::Pos::Terminal
773
+ }
774
+
775
+ type entry_mode =
776
+ {
777
+ card: Lithic::Models::CardAuthorization::Pos::EntryMode::card,
778
+ cardholder: Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder,
779
+ pan: Lithic::Models::CardAuthorization::Pos::EntryMode::pan,
780
+ pin_entered: bool
781
+ }
782
+
783
+ class EntryMode < Lithic::Internal::Type::BaseModel
784
+ attr_reader card: Lithic::Models::CardAuthorization::Pos::EntryMode::card?
785
+
786
+ def card=: (
787
+ Lithic::Models::CardAuthorization::Pos::EntryMode::card
788
+ ) -> Lithic::Models::CardAuthorization::Pos::EntryMode::card
789
+
790
+ attr_reader cardholder: Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder?
791
+
792
+ def cardholder=: (
793
+ Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder
794
+ ) -> Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder
795
+
796
+ attr_reader pan: Lithic::Models::CardAuthorization::Pos::EntryMode::pan?
797
+
798
+ def pan=: (
799
+ Lithic::Models::CardAuthorization::Pos::EntryMode::pan
800
+ ) -> Lithic::Models::CardAuthorization::Pos::EntryMode::pan
801
+
802
+ attr_reader pin_entered: bool?
803
+
804
+ def pin_entered=: (bool) -> bool
805
+
806
+ def initialize: (
807
+ ?card: Lithic::Models::CardAuthorization::Pos::EntryMode::card,
808
+ ?cardholder: Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder,
809
+ ?pan: Lithic::Models::CardAuthorization::Pos::EntryMode::pan,
810
+ ?pin_entered: bool
811
+ ) -> void
812
+
813
+ def to_hash: -> {
814
+ card: Lithic::Models::CardAuthorization::Pos::EntryMode::card,
815
+ cardholder: Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder,
816
+ pan: Lithic::Models::CardAuthorization::Pos::EntryMode::pan,
817
+ pin_entered: bool
818
+ }
819
+
820
+ type card = :PRESENT | :NOT_PRESENT | :UNKNOWN
821
+
822
+ module Card
823
+ extend Lithic::Internal::Type::Enum
824
+
825
+ PRESENT: :PRESENT
826
+ NOT_PRESENT: :NOT_PRESENT
827
+ UNKNOWN: :UNKNOWN
828
+
829
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::EntryMode::card]
830
+ end
831
+
832
+ type cardholder =
833
+ :DEFERRED_BILLING
834
+ | :ELECTRONIC_ORDER
835
+ | :INSTALLMENT
836
+ | :MAIL_ORDER
837
+ | :NOT_PRESENT
838
+ | :PRESENT
839
+ | :REOCCURRING
840
+ | :TELEPHONE_ORDER
841
+ | :UNKNOWN
842
+
843
+ module Cardholder
844
+ extend Lithic::Internal::Type::Enum
845
+
846
+ DEFERRED_BILLING: :DEFERRED_BILLING
847
+ ELECTRONIC_ORDER: :ELECTRONIC_ORDER
848
+ INSTALLMENT: :INSTALLMENT
849
+ MAIL_ORDER: :MAIL_ORDER
850
+ NOT_PRESENT: :NOT_PRESENT
851
+ PRESENT: :PRESENT
852
+ REOCCURRING: :REOCCURRING
853
+ TELEPHONE_ORDER: :TELEPHONE_ORDER
854
+ UNKNOWN: :UNKNOWN
855
+
856
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::EntryMode::cardholder]
857
+ end
858
+
859
+ type pan =
860
+ :AUTO_ENTRY
861
+ | :BAR_CODE
862
+ | :CONTACTLESS
863
+ | :ECOMMERCE
864
+ | :ERROR_KEYED
865
+ | :ERROR_MAGNETIC_STRIPE
866
+ | :ICC
867
+ | :KEY_ENTERED
868
+ | :MAGNETIC_STRIPE
869
+ | :MANUAL
870
+ | :OCR
871
+ | :SECURE_CARDLESS
872
+ | :UNSPECIFIED
873
+ | :UNKNOWN
874
+ | :CREDENTIAL_ON_FILE
875
+
876
+ module Pan
877
+ extend Lithic::Internal::Type::Enum
878
+
879
+ AUTO_ENTRY: :AUTO_ENTRY
880
+ BAR_CODE: :BAR_CODE
881
+ CONTACTLESS: :CONTACTLESS
882
+ ECOMMERCE: :ECOMMERCE
883
+ ERROR_KEYED: :ERROR_KEYED
884
+ ERROR_MAGNETIC_STRIPE: :ERROR_MAGNETIC_STRIPE
885
+ ICC: :ICC
886
+ KEY_ENTERED: :KEY_ENTERED
887
+ MAGNETIC_STRIPE: :MAGNETIC_STRIPE
888
+ MANUAL: :MANUAL
889
+ OCR: :OCR
890
+ SECURE_CARDLESS: :SECURE_CARDLESS
891
+ UNSPECIFIED: :UNSPECIFIED
892
+ UNKNOWN: :UNKNOWN
893
+ CREDENTIAL_ON_FILE: :CREDENTIAL_ON_FILE
894
+
895
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::EntryMode::pan]
896
+ end
897
+ end
898
+
899
+ type terminal =
900
+ {
901
+ attended: bool,
902
+ card_retention_capable: bool,
903
+ on_premise: bool,
904
+ operator: Lithic::Models::CardAuthorization::Pos::Terminal::operator,
905
+ partial_approval_capable: bool,
906
+ pin_capability: Lithic::Models::CardAuthorization::Pos::Terminal::pin_capability,
907
+ type: Lithic::Models::CardAuthorization::Pos::Terminal::type_,
908
+ acceptor_terminal_id: String?
909
+ }
910
+
911
+ class Terminal < Lithic::Internal::Type::BaseModel
912
+ attr_accessor attended: bool
913
+
914
+ attr_accessor card_retention_capable: bool
915
+
916
+ attr_accessor on_premise: bool
917
+
918
+ attr_accessor operator: Lithic::Models::CardAuthorization::Pos::Terminal::operator
919
+
920
+ attr_accessor partial_approval_capable: bool
921
+
922
+ attr_accessor pin_capability: Lithic::Models::CardAuthorization::Pos::Terminal::pin_capability
923
+
924
+ attr_accessor type: Lithic::Models::CardAuthorization::Pos::Terminal::type_
925
+
926
+ attr_accessor acceptor_terminal_id: String?
927
+
928
+ def initialize: (
929
+ attended: bool,
930
+ card_retention_capable: bool,
931
+ on_premise: bool,
932
+ operator: Lithic::Models::CardAuthorization::Pos::Terminal::operator,
933
+ partial_approval_capable: bool,
934
+ pin_capability: Lithic::Models::CardAuthorization::Pos::Terminal::pin_capability,
935
+ type: Lithic::Models::CardAuthorization::Pos::Terminal::type_,
936
+ ?acceptor_terminal_id: String?
937
+ ) -> void
938
+
939
+ def to_hash: -> {
940
+ attended: bool,
941
+ card_retention_capable: bool,
942
+ on_premise: bool,
943
+ operator: Lithic::Models::CardAuthorization::Pos::Terminal::operator,
944
+ partial_approval_capable: bool,
945
+ pin_capability: Lithic::Models::CardAuthorization::Pos::Terminal::pin_capability,
946
+ type: Lithic::Models::CardAuthorization::Pos::Terminal::type_,
947
+ acceptor_terminal_id: String?
948
+ }
949
+
950
+ type operator =
951
+ :ADMINISTRATIVE | :CARDHOLDER | :CARD_ACCEPTOR | :UNKNOWN
952
+
953
+ module Operator
954
+ extend Lithic::Internal::Type::Enum
955
+
956
+ ADMINISTRATIVE: :ADMINISTRATIVE
957
+ CARDHOLDER: :CARDHOLDER
958
+ CARD_ACCEPTOR: :CARD_ACCEPTOR
959
+ UNKNOWN: :UNKNOWN
960
+
961
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::Terminal::operator]
962
+ end
963
+
964
+ type pin_capability =
965
+ :CAPABLE | :INOPERATIVE | :NOT_CAPABLE | :UNSPECIFIED
966
+
967
+ module PinCapability
968
+ extend Lithic::Internal::Type::Enum
969
+
970
+ CAPABLE: :CAPABLE
971
+ INOPERATIVE: :INOPERATIVE
972
+ NOT_CAPABLE: :NOT_CAPABLE
973
+ UNSPECIFIED: :UNSPECIFIED
974
+
975
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::Terminal::pin_capability]
976
+ end
977
+
978
+ type type_ =
979
+ :ADMINISTRATIVE
980
+ | :ATM
981
+ | :AUTHORIZATION
982
+ | :COUPON_MACHINE
983
+ | :DIAL_TERMINAL
984
+ | :ECOMMERCE
985
+ | :ECR
986
+ | :FUEL_MACHINE
987
+ | :HOME_TERMINAL
988
+ | :MICR
989
+ | :OFF_PREMISE
990
+ | :PAYMENT
991
+ | :PDA
992
+ | :PHONE
993
+ | :POINT
994
+ | :POS_TERMINAL
995
+ | :PUBLIC_UTILITY
996
+ | :SELF_SERVICE
997
+ | :TELEVISION
998
+ | :TELLER
999
+ | :TRAVELERS_CHECK_MACHINE
1000
+ | :VENDING
1001
+ | :VOICE
1002
+ | :UNKNOWN
1003
+
1004
+ module Type
1005
+ extend Lithic::Internal::Type::Enum
1006
+
1007
+ ADMINISTRATIVE: :ADMINISTRATIVE
1008
+ ATM: :ATM
1009
+ AUTHORIZATION: :AUTHORIZATION
1010
+ COUPON_MACHINE: :COUPON_MACHINE
1011
+ DIAL_TERMINAL: :DIAL_TERMINAL
1012
+ ECOMMERCE: :ECOMMERCE
1013
+ ECR: :ECR
1014
+ FUEL_MACHINE: :FUEL_MACHINE
1015
+ HOME_TERMINAL: :HOME_TERMINAL
1016
+ MICR: :MICR
1017
+ OFF_PREMISE: :OFF_PREMISE
1018
+ PAYMENT: :PAYMENT
1019
+ PDA: :PDA
1020
+ PHONE: :PHONE
1021
+ POINT: :POINT
1022
+ POS_TERMINAL: :POS_TERMINAL
1023
+ PUBLIC_UTILITY: :PUBLIC_UTILITY
1024
+ SELF_SERVICE: :SELF_SERVICE
1025
+ TELEVISION: :TELEVISION
1026
+ TELLER: :TELLER
1027
+ TRAVELERS_CHECK_MACHINE: :TRAVELERS_CHECK_MACHINE
1028
+ VENDING: :VENDING
1029
+ VOICE: :VOICE
1030
+ UNKNOWN: :UNKNOWN
1031
+
1032
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorization::Pos::Terminal::type_]
1033
+ end
1034
+ end
1035
+ end
1036
+ end
1037
+ end
1038
+ end