lithic 0.1.0.pre.alpha.15 → 0.1.0.pre.alpha.17

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/README.md +61 -52
  4. data/lib/lithic/client.rb +4 -4
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
  6. data/lib/lithic/internal/type/array_of.rb +9 -0
  7. data/lib/lithic/internal/type/base_model.rb +29 -13
  8. data/lib/lithic/internal/type/base_page.rb +8 -0
  9. data/lib/lithic/internal/type/boolean.rb +4 -0
  10. data/lib/lithic/internal/type/enum.rb +9 -0
  11. data/lib/lithic/internal/type/hash_of.rb +9 -0
  12. data/lib/lithic/internal/type/io_like.rb +4 -0
  13. data/lib/lithic/internal/type/union.rb +10 -1
  14. data/lib/lithic/internal/type/unknown.rb +4 -0
  15. data/lib/lithic/internal.rb +0 -1
  16. data/lib/lithic/models/account.rb +3 -0
  17. data/lib/lithic/models/account_holder.rb +2 -0
  18. data/lib/lithic/models/account_holder_create_params.rb +2 -0
  19. data/lib/lithic/models/account_holder_update_params.rb +2 -0
  20. data/lib/lithic/models/account_update_params.rb +2 -0
  21. data/lib/lithic/models/card.rb +28 -0
  22. data/lib/lithic/models/kyb.rb +2 -0
  23. data/lib/lithic/models/{card_list_response.rb → non_pci_card.rb} +31 -29
  24. data/lib/lithic/models/settlement_report.rb +12 -0
  25. data/lib/lithic/models/transaction.rb +16 -0
  26. data/lib/lithic/resources/cards.rb +16 -16
  27. data/lib/lithic/version.rb +1 -1
  28. data/lib/lithic.rb +2 -17
  29. data/rbi/lib/lithic/client.rbi +4 -4
  30. data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
  31. data/rbi/lib/lithic/internal/type/base_model.rbi +6 -1
  32. data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
  33. data/rbi/lib/lithic/internal/type/enum.rbi +3 -0
  34. data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
  35. data/rbi/lib/lithic/internal/type/union.rbi +3 -0
  36. data/rbi/lib/lithic/internal.rbi +0 -1
  37. data/rbi/lib/lithic/models/card.rbi +30 -0
  38. data/rbi/lib/lithic/models/{card_list_response.rbi → non_pci_card.rbi} +59 -60
  39. data/rbi/lib/lithic/resources/cards.rbi +8 -8
  40. data/sig/lithic/internal/type/array_of.rbs +2 -0
  41. data/sig/lithic/internal/type/base_model.rbs +4 -0
  42. data/sig/lithic/internal/type/enum.rbs +2 -0
  43. data/sig/lithic/internal/type/hash_of.rbs +2 -0
  44. data/sig/lithic/internal/type/union.rbs +2 -0
  45. data/sig/lithic/models/card.rbs +19 -0
  46. data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
  47. data/sig/lithic/resources/cards.rbs +8 -8
  48. metadata +8 -26
  49. data/lib/lithic/models/card_convert_physical_response.rb +0 -391
  50. data/lib/lithic/models/card_create_response.rb +0 -390
  51. data/lib/lithic/models/card_reissue_response.rb +0 -390
  52. data/lib/lithic/models/card_renew_response.rb +0 -390
  53. data/lib/lithic/models/card_retrieve_response.rb +0 -390
  54. data/lib/lithic/models/card_search_by_pan_response.rb +0 -390
  55. data/lib/lithic/models/card_update_response.rb +0 -390
  56. data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
  57. data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
  58. data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
  59. data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
  60. data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
  61. data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
  62. data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
  63. data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
  64. data/sig/lithic/models/card_create_response.rbs +0 -257
  65. data/sig/lithic/models/card_reissue_response.rbs +0 -257
  66. data/sig/lithic/models/card_renew_response.rbs +0 -257
  67. data/sig/lithic/models/card_retrieve_response.rbs +0 -257
  68. data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
  69. data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -1,458 +0,0 @@
1
- # typed: strong
2
-
3
- module Lithic
4
- module Models
5
- class CardReissueResponse < Lithic::Internal::Type::BaseModel
6
- # Globally unique identifier.
7
- sig { returns(String) }
8
- attr_accessor :token
9
-
10
- # Globally unique identifier for the account to which the card belongs.
11
- sig { returns(String) }
12
- attr_accessor :account_token
13
-
14
- # Globally unique identifier for the card program on which the card exists.
15
- sig { returns(String) }
16
- attr_accessor :card_program_token
17
-
18
- # An RFC 3339 timestamp for when the card was created. UTC time zone.
19
- sig { returns(Time) }
20
- attr_accessor :created
21
-
22
- # Deprecated: Funding account for the card.
23
- sig { returns(Lithic::Models::CardReissueResponse::Funding) }
24
- attr_reader :funding
25
-
26
- sig { params(funding: T.any(Lithic::Models::CardReissueResponse::Funding, Lithic::Internal::AnyHash)).void }
27
- attr_writer :funding
28
-
29
- # Last four digits of the card number.
30
- sig { returns(String) }
31
- attr_accessor :last_four
32
-
33
- # Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
34
- # attempts).
35
- sig { returns(Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol) }
36
- attr_accessor :pin_status
37
-
38
- # Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
39
- # $1,000 limit). Transaction requests above the spend limit will be declined.
40
- sig { returns(Integer) }
41
- attr_accessor :spend_limit
42
-
43
- # Spend limit duration
44
- sig { returns(Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol) }
45
- attr_accessor :spend_limit_duration
46
-
47
- # Card state values: _ `CLOSED` - Card will no longer approve authorizations.
48
- # Closing a card cannot be undone. _ `OPEN` - Card will approve authorizations (if
49
- # they match card and account parameters). _ `PAUSED` - Card will decline
50
- # authorizations, but can be resumed at a later time. _ `PENDING_FULFILLMENT` -
51
- # The initial state for cards of type `PHYSICAL`. The card is provisioned pending
52
- # manufacturing and fulfillment. Cards in this state can accept authorizations for
53
- # e-commerce purchases, but not for "Card Present" purchases where the physical
54
- # card itself is present. \* `PENDING_ACTIVATION` - At regular intervals, cards of
55
- # type `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production
56
- # warehouse and updated to state `PENDING_ACTIVATION`. Similar to
57
- # `PENDING_FULFILLMENT`, cards in this state can be used for e-commerce
58
- # transactions or can be added to mobile wallets. API clients should update the
59
- # card's state to `OPEN` only after the cardholder confirms receipt of the card.
60
- # In sandbox, the same daily batch fulfillment occurs, but no cards are actually
61
- # manufactured.
62
- sig { returns(Lithic::Models::CardReissueResponse::State::TaggedSymbol) }
63
- attr_accessor :state
64
-
65
- # Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added
66
- # to a digital wallet like Apple Pay or Google Pay (if the card program is digital
67
- # wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
68
- # offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
69
- # functionality. _ `SINGLE_USE` - Card is closed upon first successful
70
- # authorization. _ `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first
71
- # merchant that successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_
72
- # Similar behavior to VIRTUAL cards, please use VIRTUAL instead. _
73
- # `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
74
- # VIRTUAL instead.
75
- sig { returns(Lithic::Models::CardReissueResponse::Type::TaggedSymbol) }
76
- attr_accessor :type
77
-
78
- # List of identifiers for the Auth Rule(s) that are applied on the card. This
79
- # field is deprecated and will no longer be populated in the `Card` object. The
80
- # key will be removed from the schema in a future release. Use the `/auth_rules`
81
- # endpoints to fetch Auth Rule information instead.
82
- sig { returns(T.nilable(T::Array[String])) }
83
- attr_reader :auth_rule_tokens
84
-
85
- sig { params(auth_rule_tokens: T::Array[String]).void }
86
- attr_writer :auth_rule_tokens
87
-
88
- # 3-character alphabetic ISO 4217 code for the currency of the cardholder.
89
- sig { returns(T.nilable(String)) }
90
- attr_reader :cardholder_currency
91
-
92
- sig { params(cardholder_currency: String).void }
93
- attr_writer :cardholder_currency
94
-
95
- # Three digit cvv printed on the back of the card.
96
- sig { returns(T.nilable(String)) }
97
- attr_reader :cvv
98
-
99
- sig { params(cvv: String).void }
100
- attr_writer :cvv
101
-
102
- # Specifies the digital card art to be displayed in the user's digital wallet
103
- # after tokenization. This artwork must be approved by Mastercard and configured
104
- # by Lithic to use.
105
- sig { returns(T.nilable(String)) }
106
- attr_reader :digital_card_art_token
107
-
108
- sig { params(digital_card_art_token: String).void }
109
- attr_writer :digital_card_art_token
110
-
111
- # Two digit (MM) expiry month.
112
- sig { returns(T.nilable(String)) }
113
- attr_reader :exp_month
114
-
115
- sig { params(exp_month: String).void }
116
- attr_writer :exp_month
117
-
118
- # Four digit (yyyy) expiry year.
119
- sig { returns(T.nilable(String)) }
120
- attr_reader :exp_year
121
-
122
- sig { params(exp_year: String).void }
123
- attr_writer :exp_year
124
-
125
- # Hostname of card's locked merchant (will be empty if not applicable).
126
- sig { returns(T.nilable(String)) }
127
- attr_reader :hostname
128
-
129
- sig { params(hostname: String).void }
130
- attr_writer :hostname
131
-
132
- # Friendly name to identify the card.
133
- sig { returns(T.nilable(String)) }
134
- attr_reader :memo
135
-
136
- sig { params(memo: String).void }
137
- attr_writer :memo
138
-
139
- # Primary Account Number (PAN) (i.e. the card number). Customers must be PCI
140
- # compliant to have PAN returned as a field in production. Please contact
141
- # support@lithic.com for questions.
142
- sig { returns(T.nilable(String)) }
143
- attr_reader :pan
144
-
145
- sig { params(pan: String).void }
146
- attr_writer :pan
147
-
148
- # Indicates if there are offline PIN changes pending card interaction with an
149
- # offline PIN terminal. Possible commands are: CHANGE_PIN, UNBLOCK_PIN. Applicable
150
- # only to cards issued in markets supporting offline PINs.
151
- sig { returns(T.nilable(T::Array[String])) }
152
- attr_reader :pending_commands
153
-
154
- sig { params(pending_commands: T::Array[String]).void }
155
- attr_writer :pending_commands
156
-
157
- # Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
158
- # before use. Specifies the configuration (i.e., physical card art) that the card
159
- # should be manufactured with.
160
- sig { returns(T.nilable(String)) }
161
- attr_reader :product_id
162
-
163
- sig { params(product_id: String).void }
164
- attr_writer :product_id
165
-
166
- # If the card is a replacement for another card, the globally unique identifier
167
- # for the card that was replaced.
168
- sig { returns(T.nilable(String)) }
169
- attr_accessor :replacement_for
170
-
171
- # Card details with potentially PCI sensitive information for Enterprise customers
172
- sig do
173
- params(
174
- token: String,
175
- account_token: String,
176
- card_program_token: String,
177
- created: Time,
178
- funding: T.any(Lithic::Models::CardReissueResponse::Funding, Lithic::Internal::AnyHash),
179
- last_four: String,
180
- pin_status: Lithic::Models::CardReissueResponse::PinStatus::OrSymbol,
181
- spend_limit: Integer,
182
- spend_limit_duration: Lithic::Models::CardReissueResponse::SpendLimitDuration::OrSymbol,
183
- state: Lithic::Models::CardReissueResponse::State::OrSymbol,
184
- type: Lithic::Models::CardReissueResponse::Type::OrSymbol,
185
- auth_rule_tokens: T::Array[String],
186
- cardholder_currency: String,
187
- cvv: String,
188
- digital_card_art_token: String,
189
- exp_month: String,
190
- exp_year: String,
191
- hostname: String,
192
- memo: String,
193
- pan: String,
194
- pending_commands: T::Array[String],
195
- product_id: String,
196
- replacement_for: T.nilable(String)
197
- )
198
- .returns(T.attached_class)
199
- end
200
- def self.new(
201
- token:,
202
- account_token:,
203
- card_program_token:,
204
- created:,
205
- funding:,
206
- last_four:,
207
- pin_status:,
208
- spend_limit:,
209
- spend_limit_duration:,
210
- state:,
211
- type:,
212
- auth_rule_tokens: nil,
213
- cardholder_currency: nil,
214
- cvv: nil,
215
- digital_card_art_token: nil,
216
- exp_month: nil,
217
- exp_year: nil,
218
- hostname: nil,
219
- memo: nil,
220
- pan: nil,
221
- pending_commands: nil,
222
- product_id: nil,
223
- replacement_for: nil
224
- ); end
225
- sig do
226
- override
227
- .returns(
228
- {
229
- token: String,
230
- account_token: String,
231
- card_program_token: String,
232
- created: Time,
233
- funding: Lithic::Models::CardReissueResponse::Funding,
234
- last_four: String,
235
- pin_status: Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol,
236
- spend_limit: Integer,
237
- spend_limit_duration: Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol,
238
- state: Lithic::Models::CardReissueResponse::State::TaggedSymbol,
239
- type: Lithic::Models::CardReissueResponse::Type::TaggedSymbol,
240
- auth_rule_tokens: T::Array[String],
241
- cardholder_currency: String,
242
- cvv: String,
243
- digital_card_art_token: String,
244
- exp_month: String,
245
- exp_year: String,
246
- hostname: String,
247
- memo: String,
248
- pan: String,
249
- pending_commands: T::Array[String],
250
- product_id: String,
251
- replacement_for: T.nilable(String)
252
- }
253
- )
254
- end
255
- def to_hash; end
256
-
257
- class Funding < Lithic::Internal::Type::BaseModel
258
- # A globally unique identifier for this FundingAccount.
259
- sig { returns(String) }
260
- attr_accessor :token
261
-
262
- # An RFC 3339 string representing when this funding source was added to the Lithic
263
- # account. This may be `null`. UTC time zone.
264
- sig { returns(Time) }
265
- attr_accessor :created
266
-
267
- # The last 4 digits of the account (e.g. bank account, debit card) associated with
268
- # this FundingAccount. This may be null.
269
- sig { returns(String) }
270
- attr_accessor :last_four
271
-
272
- # State of funding source. Funding source states: _ `ENABLED` - The funding
273
- # account is available to use for card creation and transactions. _ `PENDING` -
274
- # The funding account is still being verified e.g. bank micro-deposits
275
- # verification. \* `DELETED` - The founding account has been deleted.
276
- sig { returns(Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol) }
277
- attr_accessor :state
278
-
279
- # Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
280
- # `DEPOSITORY_SAVINGS` - Bank savings account.
281
- sig { returns(Lithic::Models::CardReissueResponse::Funding::Type::TaggedSymbol) }
282
- attr_accessor :type
283
-
284
- # Account name identifying the funding source. This may be `null`.
285
- sig { returns(T.nilable(String)) }
286
- attr_reader :account_name
287
-
288
- sig { params(account_name: String).void }
289
- attr_writer :account_name
290
-
291
- # The nickname given to the `FundingAccount` or `null` if it has no nickname.
292
- sig { returns(T.nilable(String)) }
293
- attr_reader :nickname
294
-
295
- sig { params(nickname: String).void }
296
- attr_writer :nickname
297
-
298
- # Deprecated: Funding account for the card.
299
- sig do
300
- params(
301
- token: String,
302
- created: Time,
303
- last_four: String,
304
- state: Lithic::Models::CardReissueResponse::Funding::State::OrSymbol,
305
- type: Lithic::Models::CardReissueResponse::Funding::Type::OrSymbol,
306
- account_name: String,
307
- nickname: String
308
- )
309
- .returns(T.attached_class)
310
- end
311
- def self.new(token:, created:, last_four:, state:, type:, account_name: nil, nickname: nil); end
312
-
313
- sig do
314
- override
315
- .returns(
316
- {
317
- token: String,
318
- created: Time,
319
- last_four: String,
320
- state: Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol,
321
- type: Lithic::Models::CardReissueResponse::Funding::Type::TaggedSymbol,
322
- account_name: String,
323
- nickname: String
324
- }
325
- )
326
- end
327
- def to_hash; end
328
-
329
- # State of funding source. Funding source states: _ `ENABLED` - The funding
330
- # account is available to use for card creation and transactions. _ `PENDING` -
331
- # The funding account is still being verified e.g. bank micro-deposits
332
- # verification. \* `DELETED` - The founding account has been deleted.
333
- module State
334
- extend Lithic::Internal::Type::Enum
335
-
336
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::Funding::State) }
337
- OrSymbol = T.type_alias { T.any(Symbol, String) }
338
-
339
- DELETED = T.let(:DELETED, Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol)
340
- ENABLED = T.let(:ENABLED, Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol)
341
- PENDING = T.let(:PENDING, Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol)
342
-
343
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::Funding::State::TaggedSymbol]) }
344
- def self.values; end
345
- end
346
-
347
- # Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
348
- # `DEPOSITORY_SAVINGS` - Bank savings account.
349
- module Type
350
- extend Lithic::Internal::Type::Enum
351
-
352
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::Funding::Type) }
353
- OrSymbol = T.type_alias { T.any(Symbol, String) }
354
-
355
- DEPOSITORY_CHECKING =
356
- T.let(:DEPOSITORY_CHECKING, Lithic::Models::CardReissueResponse::Funding::Type::TaggedSymbol)
357
- DEPOSITORY_SAVINGS =
358
- T.let(:DEPOSITORY_SAVINGS, Lithic::Models::CardReissueResponse::Funding::Type::TaggedSymbol)
359
-
360
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::Funding::Type::TaggedSymbol]) }
361
- def self.values; end
362
- end
363
- end
364
-
365
- # Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
366
- # attempts).
367
- module PinStatus
368
- extend Lithic::Internal::Type::Enum
369
-
370
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::PinStatus) }
371
- OrSymbol = T.type_alias { T.any(Symbol, String) }
372
-
373
- OK = T.let(:OK, Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol)
374
- BLOCKED = T.let(:BLOCKED, Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol)
375
- NOT_SET = T.let(:NOT_SET, Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol)
376
-
377
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::PinStatus::TaggedSymbol]) }
378
- def self.values; end
379
- end
380
-
381
- # Spend limit duration
382
- module SpendLimitDuration
383
- extend Lithic::Internal::Type::Enum
384
-
385
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::SpendLimitDuration) }
386
- OrSymbol = T.type_alias { T.any(Symbol, String) }
387
-
388
- ANNUALLY = T.let(:ANNUALLY, Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol)
389
- FOREVER = T.let(:FOREVER, Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol)
390
- MONTHLY = T.let(:MONTHLY, Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol)
391
- TRANSACTION = T.let(:TRANSACTION, Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol)
392
- DAILY = T.let(:DAILY, Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol)
393
-
394
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::SpendLimitDuration::TaggedSymbol]) }
395
- def self.values; end
396
- end
397
-
398
- # Card state values: _ `CLOSED` - Card will no longer approve authorizations.
399
- # Closing a card cannot be undone. _ `OPEN` - Card will approve authorizations (if
400
- # they match card and account parameters). _ `PAUSED` - Card will decline
401
- # authorizations, but can be resumed at a later time. _ `PENDING_FULFILLMENT` -
402
- # The initial state for cards of type `PHYSICAL`. The card is provisioned pending
403
- # manufacturing and fulfillment. Cards in this state can accept authorizations for
404
- # e-commerce purchases, but not for "Card Present" purchases where the physical
405
- # card itself is present. \* `PENDING_ACTIVATION` - At regular intervals, cards of
406
- # type `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production
407
- # warehouse and updated to state `PENDING_ACTIVATION`. Similar to
408
- # `PENDING_FULFILLMENT`, cards in this state can be used for e-commerce
409
- # transactions or can be added to mobile wallets. API clients should update the
410
- # card's state to `OPEN` only after the cardholder confirms receipt of the card.
411
- # In sandbox, the same daily batch fulfillment occurs, but no cards are actually
412
- # manufactured.
413
- module State
414
- extend Lithic::Internal::Type::Enum
415
-
416
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::State) }
417
- OrSymbol = T.type_alias { T.any(Symbol, String) }
418
-
419
- CLOSED = T.let(:CLOSED, Lithic::Models::CardReissueResponse::State::TaggedSymbol)
420
- OPEN = T.let(:OPEN, Lithic::Models::CardReissueResponse::State::TaggedSymbol)
421
- PAUSED = T.let(:PAUSED, Lithic::Models::CardReissueResponse::State::TaggedSymbol)
422
- PENDING_ACTIVATION = T.let(:PENDING_ACTIVATION, Lithic::Models::CardReissueResponse::State::TaggedSymbol)
423
- PENDING_FULFILLMENT =
424
- T.let(:PENDING_FULFILLMENT, Lithic::Models::CardReissueResponse::State::TaggedSymbol)
425
-
426
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::State::TaggedSymbol]) }
427
- def self.values; end
428
- end
429
-
430
- # Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added
431
- # to a digital wallet like Apple Pay or Google Pay (if the card program is digital
432
- # wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
433
- # offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
434
- # functionality. _ `SINGLE_USE` - Card is closed upon first successful
435
- # authorization. _ `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first
436
- # merchant that successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_
437
- # Similar behavior to VIRTUAL cards, please use VIRTUAL instead. _
438
- # `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
439
- # VIRTUAL instead.
440
- module Type
441
- extend Lithic::Internal::Type::Enum
442
-
443
- TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::CardReissueResponse::Type) }
444
- OrSymbol = T.type_alias { T.any(Symbol, String) }
445
-
446
- MERCHANT_LOCKED = T.let(:MERCHANT_LOCKED, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
447
- PHYSICAL = T.let(:PHYSICAL, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
448
- SINGLE_USE = T.let(:SINGLE_USE, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
449
- VIRTUAL = T.let(:VIRTUAL, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
450
- UNLOCKED = T.let(:UNLOCKED, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
451
- DIGITAL_WALLET = T.let(:DIGITAL_WALLET, Lithic::Models::CardReissueResponse::Type::TaggedSymbol)
452
-
453
- sig { override.returns(T::Array[Lithic::Models::CardReissueResponse::Type::TaggedSymbol]) }
454
- def self.values; end
455
- end
456
- end
457
- end
458
- end