lithic 0.1.0.pre.alpha.16 → 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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/card.rb +28 -0
  5. data/lib/lithic/models/{card_list_response.rb → non_pci_card.rb} +29 -29
  6. data/lib/lithic/resources/cards.rb +16 -16
  7. data/lib/lithic/version.rb +1 -1
  8. data/lib/lithic.rb +2 -8
  9. data/rbi/lib/lithic/models/card.rbi +30 -0
  10. data/rbi/lib/lithic/models/{card_list_response.rbi → non_pci_card.rbi} +59 -60
  11. data/rbi/lib/lithic/resources/cards.rbi +8 -8
  12. data/sig/lithic/models/card.rbs +19 -0
  13. data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
  14. data/sig/lithic/resources/cards.rbs +8 -8
  15. metadata +7 -25
  16. data/lib/lithic/models/card_convert_physical_response.rb +0 -393
  17. data/lib/lithic/models/card_create_response.rb +0 -392
  18. data/lib/lithic/models/card_reissue_response.rb +0 -392
  19. data/lib/lithic/models/card_renew_response.rb +0 -392
  20. data/lib/lithic/models/card_retrieve_response.rb +0 -392
  21. data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
  22. data/lib/lithic/models/card_update_response.rb +0 -392
  23. data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
  24. data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
  25. data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
  26. data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
  27. data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
  28. data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
  29. data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
  30. data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
  31. data/sig/lithic/models/card_create_response.rbs +0 -257
  32. data/sig/lithic/models/card_reissue_response.rbs +0 -257
  33. data/sig/lithic/models/card_renew_response.rbs +0 -257
  34. data/sig/lithic/models/card_retrieve_response.rbs +0 -257
  35. data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
  36. data/sig/lithic/models/card_update_response.rbs +0 -257
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lithic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.16
4
+ version: 0.1.0.pre.alpha.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lithic
@@ -118,30 +118,23 @@ files:
118
118
  - lib/lithic/models/book_transfer_response.rb
119
119
  - lib/lithic/models/book_transfer_retrieve_params.rb
120
120
  - lib/lithic/models/book_transfer_reverse_params.rb
121
+ - lib/lithic/models/card.rb
121
122
  - lib/lithic/models/card_convert_physical_params.rb
122
- - lib/lithic/models/card_convert_physical_response.rb
123
123
  - lib/lithic/models/card_create_params.rb
124
- - lib/lithic/models/card_create_response.rb
125
124
  - lib/lithic/models/card_embed_params.rb
126
125
  - lib/lithic/models/card_list_params.rb
127
- - lib/lithic/models/card_list_response.rb
128
126
  - lib/lithic/models/card_program.rb
129
127
  - lib/lithic/models/card_program_list_params.rb
130
128
  - lib/lithic/models/card_program_retrieve_params.rb
131
129
  - lib/lithic/models/card_provision_params.rb
132
130
  - lib/lithic/models/card_provision_response.rb
133
131
  - lib/lithic/models/card_reissue_params.rb
134
- - lib/lithic/models/card_reissue_response.rb
135
132
  - lib/lithic/models/card_renew_params.rb
136
- - lib/lithic/models/card_renew_response.rb
137
133
  - lib/lithic/models/card_retrieve_params.rb
138
- - lib/lithic/models/card_retrieve_response.rb
139
134
  - lib/lithic/models/card_retrieve_spend_limits_params.rb
140
135
  - lib/lithic/models/card_search_by_pan_params.rb
141
- - lib/lithic/models/card_search_by_pan_response.rb
142
136
  - lib/lithic/models/card_spend_limits.rb
143
137
  - lib/lithic/models/card_update_params.rb
144
- - lib/lithic/models/card_update_response.rb
145
138
  - lib/lithic/models/cards/aggregate_balance_list_params.rb
146
139
  - lib/lithic/models/cards/aggregate_balance_list_response.rb
147
140
  - lib/lithic/models/cards/balance_list_params.rb
@@ -245,6 +238,7 @@ files:
245
238
  - lib/lithic/models/management_operation_reverse_params.rb
246
239
  - lib/lithic/models/management_operation_transaction.rb
247
240
  - lib/lithic/models/message_attempt.rb
241
+ - lib/lithic/models/non_pci_card.rb
248
242
  - lib/lithic/models/owner_type.rb
249
243
  - lib/lithic/models/payment.rb
250
244
  - lib/lithic/models/payment_create_params.rb
@@ -464,30 +458,23 @@ files:
464
458
  - rbi/lib/lithic/models/book_transfer_response.rbi
465
459
  - rbi/lib/lithic/models/book_transfer_retrieve_params.rbi
466
460
  - rbi/lib/lithic/models/book_transfer_reverse_params.rbi
461
+ - rbi/lib/lithic/models/card.rbi
467
462
  - rbi/lib/lithic/models/card_convert_physical_params.rbi
468
- - rbi/lib/lithic/models/card_convert_physical_response.rbi
469
463
  - rbi/lib/lithic/models/card_create_params.rbi
470
- - rbi/lib/lithic/models/card_create_response.rbi
471
464
  - rbi/lib/lithic/models/card_embed_params.rbi
472
465
  - rbi/lib/lithic/models/card_list_params.rbi
473
- - rbi/lib/lithic/models/card_list_response.rbi
474
466
  - rbi/lib/lithic/models/card_program.rbi
475
467
  - rbi/lib/lithic/models/card_program_list_params.rbi
476
468
  - rbi/lib/lithic/models/card_program_retrieve_params.rbi
477
469
  - rbi/lib/lithic/models/card_provision_params.rbi
478
470
  - rbi/lib/lithic/models/card_provision_response.rbi
479
471
  - rbi/lib/lithic/models/card_reissue_params.rbi
480
- - rbi/lib/lithic/models/card_reissue_response.rbi
481
472
  - rbi/lib/lithic/models/card_renew_params.rbi
482
- - rbi/lib/lithic/models/card_renew_response.rbi
483
473
  - rbi/lib/lithic/models/card_retrieve_params.rbi
484
- - rbi/lib/lithic/models/card_retrieve_response.rbi
485
474
  - rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi
486
475
  - rbi/lib/lithic/models/card_search_by_pan_params.rbi
487
- - rbi/lib/lithic/models/card_search_by_pan_response.rbi
488
476
  - rbi/lib/lithic/models/card_spend_limits.rbi
489
477
  - rbi/lib/lithic/models/card_update_params.rbi
490
- - rbi/lib/lithic/models/card_update_response.rbi
491
478
  - rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi
492
479
  - rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi
493
480
  - rbi/lib/lithic/models/cards/balance_list_params.rbi
@@ -591,6 +578,7 @@ files:
591
578
  - rbi/lib/lithic/models/management_operation_reverse_params.rbi
592
579
  - rbi/lib/lithic/models/management_operation_transaction.rbi
593
580
  - rbi/lib/lithic/models/message_attempt.rbi
581
+ - rbi/lib/lithic/models/non_pci_card.rbi
594
582
  - rbi/lib/lithic/models/owner_type.rbi
595
583
  - rbi/lib/lithic/models/payment.rbi
596
584
  - rbi/lib/lithic/models/payment_create_params.rbi
@@ -809,30 +797,23 @@ files:
809
797
  - sig/lithic/models/book_transfer_response.rbs
810
798
  - sig/lithic/models/book_transfer_retrieve_params.rbs
811
799
  - sig/lithic/models/book_transfer_reverse_params.rbs
800
+ - sig/lithic/models/card.rbs
812
801
  - sig/lithic/models/card_convert_physical_params.rbs
813
- - sig/lithic/models/card_convert_physical_response.rbs
814
802
  - sig/lithic/models/card_create_params.rbs
815
- - sig/lithic/models/card_create_response.rbs
816
803
  - sig/lithic/models/card_embed_params.rbs
817
804
  - sig/lithic/models/card_list_params.rbs
818
- - sig/lithic/models/card_list_response.rbs
819
805
  - sig/lithic/models/card_program.rbs
820
806
  - sig/lithic/models/card_program_list_params.rbs
821
807
  - sig/lithic/models/card_program_retrieve_params.rbs
822
808
  - sig/lithic/models/card_provision_params.rbs
823
809
  - sig/lithic/models/card_provision_response.rbs
824
810
  - sig/lithic/models/card_reissue_params.rbs
825
- - sig/lithic/models/card_reissue_response.rbs
826
811
  - sig/lithic/models/card_renew_params.rbs
827
- - sig/lithic/models/card_renew_response.rbs
828
812
  - sig/lithic/models/card_retrieve_params.rbs
829
- - sig/lithic/models/card_retrieve_response.rbs
830
813
  - sig/lithic/models/card_retrieve_spend_limits_params.rbs
831
814
  - sig/lithic/models/card_search_by_pan_params.rbs
832
- - sig/lithic/models/card_search_by_pan_response.rbs
833
815
  - sig/lithic/models/card_spend_limits.rbs
834
816
  - sig/lithic/models/card_update_params.rbs
835
- - sig/lithic/models/card_update_response.rbs
836
817
  - sig/lithic/models/cards/aggregate_balance_list_params.rbs
837
818
  - sig/lithic/models/cards/aggregate_balance_list_response.rbs
838
819
  - sig/lithic/models/cards/balance_list_params.rbs
@@ -936,6 +917,7 @@ files:
936
917
  - sig/lithic/models/management_operation_reverse_params.rbs
937
918
  - sig/lithic/models/management_operation_transaction.rbs
938
919
  - sig/lithic/models/message_attempt.rbs
920
+ - sig/lithic/models/non_pci_card.rbs
939
921
  - sig/lithic/models/owner_type.rbs
940
922
  - sig/lithic/models/payment.rbs
941
923
  - sig/lithic/models/payment_create_params.rbs
@@ -1,393 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- # @see Lithic::Resources::Cards#convert_physical
6
- class CardConvertPhysicalResponse < Lithic::Internal::Type::BaseModel
7
- # @!attribute token
8
- # Globally unique identifier.
9
- #
10
- # @return [String]
11
- required :token, String
12
-
13
- # @!attribute account_token
14
- # Globally unique identifier for the account to which the card belongs.
15
- #
16
- # @return [String]
17
- required :account_token, String
18
-
19
- # @!attribute card_program_token
20
- # Globally unique identifier for the card program on which the card exists.
21
- #
22
- # @return [String]
23
- required :card_program_token, String
24
-
25
- # @!attribute created
26
- # An RFC 3339 timestamp for when the card was created. UTC time zone.
27
- #
28
- # @return [Time]
29
- required :created, Time
30
-
31
- # @!attribute funding
32
- # Deprecated: Funding account for the card.
33
- #
34
- # @return [Lithic::Models::CardConvertPhysicalResponse::Funding]
35
- required :funding, -> { Lithic::Models::CardConvertPhysicalResponse::Funding }
36
-
37
- # @!attribute last_four
38
- # Last four digits of the card number.
39
- #
40
- # @return [String]
41
- required :last_four, String
42
-
43
- # @!attribute pin_status
44
- # Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
45
- # attempts).
46
- #
47
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::PinStatus]
48
- required :pin_status, enum: -> { Lithic::Models::CardConvertPhysicalResponse::PinStatus }
49
-
50
- # @!attribute spend_limit
51
- # Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
52
- # $1,000 limit). Transaction requests above the spend limit will be declined.
53
- #
54
- # @return [Integer]
55
- required :spend_limit, Integer
56
-
57
- # @!attribute spend_limit_duration
58
- # Spend limit duration
59
- #
60
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::SpendLimitDuration]
61
- required :spend_limit_duration,
62
- enum: -> { Lithic::Models::CardConvertPhysicalResponse::SpendLimitDuration }
63
-
64
- # @!attribute state
65
- # Card state values: _ `CLOSED` - Card will no longer approve authorizations.
66
- # Closing a card cannot be undone. _ `OPEN` - Card will approve authorizations (if
67
- # they match card and account parameters). _ `PAUSED` - Card will decline
68
- # authorizations, but can be resumed at a later time. _ `PENDING_FULFILLMENT` -
69
- # The initial state for cards of type `PHYSICAL`. The card is provisioned pending
70
- # manufacturing and fulfillment. Cards in this state can accept authorizations for
71
- # e-commerce purchases, but not for "Card Present" purchases where the physical
72
- # card itself is present. \* `PENDING_ACTIVATION` - At regular intervals, cards of
73
- # type `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production
74
- # warehouse and updated to state `PENDING_ACTIVATION`. Similar to
75
- # `PENDING_FULFILLMENT`, cards in this state can be used for e-commerce
76
- # transactions or can be added to mobile wallets. API clients should update the
77
- # card's state to `OPEN` only after the cardholder confirms receipt of the card.
78
- # In sandbox, the same daily batch fulfillment occurs, but no cards are actually
79
- # manufactured.
80
- #
81
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::State]
82
- required :state, enum: -> { Lithic::Models::CardConvertPhysicalResponse::State }
83
-
84
- # @!attribute type
85
- # Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added
86
- # to a digital wallet like Apple Pay or Google Pay (if the card program is digital
87
- # wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
88
- # offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
89
- # functionality. _ `SINGLE_USE` - Card is closed upon first successful
90
- # authorization. _ `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first
91
- # merchant that successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_
92
- # Similar behavior to VIRTUAL cards, please use VIRTUAL instead. _
93
- # `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
94
- # VIRTUAL instead.
95
- #
96
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::Type]
97
- required :type, enum: -> { Lithic::Models::CardConvertPhysicalResponse::Type }
98
-
99
- # @!attribute auth_rule_tokens
100
- # @deprecated
101
- #
102
- # List of identifiers for the Auth Rule(s) that are applied on the card. This
103
- # field is deprecated and will no longer be populated in the `Card` object. The
104
- # key will be removed from the schema in a future release. Use the `/auth_rules`
105
- # endpoints to fetch Auth Rule information instead.
106
- #
107
- # @return [Array<String>, nil]
108
- optional :auth_rule_tokens, Lithic::Internal::Type::ArrayOf[String]
109
-
110
- # @!attribute cardholder_currency
111
- # 3-character alphabetic ISO 4217 code for the currency of the cardholder.
112
- #
113
- # @return [String, nil]
114
- optional :cardholder_currency, String
115
-
116
- # @!attribute cvv
117
- # Three digit cvv printed on the back of the card.
118
- #
119
- # @return [String, nil]
120
- optional :cvv, String
121
-
122
- # @!attribute digital_card_art_token
123
- # Specifies the digital card art to be displayed in the user's digital wallet
124
- # after tokenization. This artwork must be approved by Mastercard and configured
125
- # by Lithic to use.
126
- #
127
- # @return [String, nil]
128
- optional :digital_card_art_token, String
129
-
130
- # @!attribute exp_month
131
- # Two digit (MM) expiry month.
132
- #
133
- # @return [String, nil]
134
- optional :exp_month, String
135
-
136
- # @!attribute exp_year
137
- # Four digit (yyyy) expiry year.
138
- #
139
- # @return [String, nil]
140
- optional :exp_year, String
141
-
142
- # @!attribute hostname
143
- # Hostname of card's locked merchant (will be empty if not applicable).
144
- #
145
- # @return [String, nil]
146
- optional :hostname, String
147
-
148
- # @!attribute memo
149
- # Friendly name to identify the card.
150
- #
151
- # @return [String, nil]
152
- optional :memo, String
153
-
154
- # @!attribute pan
155
- # Primary Account Number (PAN) (i.e. the card number). Customers must be PCI
156
- # compliant to have PAN returned as a field in production. Please contact
157
- # support@lithic.com for questions.
158
- #
159
- # @return [String, nil]
160
- optional :pan, String
161
-
162
- # @!attribute pending_commands
163
- # Indicates if there are offline PIN changes pending card interaction with an
164
- # offline PIN terminal. Possible commands are: CHANGE_PIN, UNBLOCK_PIN. Applicable
165
- # only to cards issued in markets supporting offline PINs.
166
- #
167
- # @return [Array<String>, nil]
168
- optional :pending_commands, Lithic::Internal::Type::ArrayOf[String]
169
-
170
- # @!attribute product_id
171
- # Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
172
- # before use. Specifies the configuration (i.e., physical card art) that the card
173
- # should be manufactured with.
174
- #
175
- # @return [String, nil]
176
- optional :product_id, String
177
-
178
- # @!attribute replacement_for
179
- # If the card is a replacement for another card, the globally unique identifier
180
- # for the card that was replaced.
181
- #
182
- # @return [String, nil]
183
- optional :replacement_for, String, nil?: true
184
-
185
- # @!method initialize(token:, account_token:, card_program_token:, created:, funding:, last_four:, pin_status:, spend_limit:, spend_limit_duration:, state:, type:, auth_rule_tokens: nil, cardholder_currency: nil, cvv: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, hostname: nil, memo: nil, pan: nil, pending_commands: nil, product_id: nil, replacement_for: nil)
186
- # Card details with potentially PCI sensitive information for Enterprise customers
187
- #
188
- # @param token [String]
189
- # @param account_token [String]
190
- # @param card_program_token [String]
191
- # @param created [Time]
192
- # @param funding [Lithic::Models::CardConvertPhysicalResponse::Funding]
193
- # @param last_four [String]
194
- # @param pin_status [Symbol, Lithic::Models::CardConvertPhysicalResponse::PinStatus]
195
- # @param spend_limit [Integer]
196
- # @param spend_limit_duration [Symbol, Lithic::Models::CardConvertPhysicalResponse::SpendLimitDuration]
197
- # @param state [Symbol, Lithic::Models::CardConvertPhysicalResponse::State]
198
- # @param type [Symbol, Lithic::Models::CardConvertPhysicalResponse::Type]
199
- # @param auth_rule_tokens [Array<String>]
200
- # @param cardholder_currency [String]
201
- # @param cvv [String]
202
- # @param digital_card_art_token [String]
203
- # @param exp_month [String]
204
- # @param exp_year [String]
205
- # @param hostname [String]
206
- # @param memo [String]
207
- # @param pan [String]
208
- # @param pending_commands [Array<String>]
209
- # @param product_id [String]
210
- # @param replacement_for [String, nil]
211
-
212
- # @see Lithic::Models::CardConvertPhysicalResponse#funding
213
- class Funding < Lithic::Internal::Type::BaseModel
214
- # @!attribute token
215
- # A globally unique identifier for this FundingAccount.
216
- #
217
- # @return [String]
218
- required :token, String
219
-
220
- # @!attribute created
221
- # An RFC 3339 string representing when this funding source was added to the Lithic
222
- # account. This may be `null`. UTC time zone.
223
- #
224
- # @return [Time]
225
- required :created, Time
226
-
227
- # @!attribute last_four
228
- # The last 4 digits of the account (e.g. bank account, debit card) associated with
229
- # this FundingAccount. This may be null.
230
- #
231
- # @return [String]
232
- required :last_four, String
233
-
234
- # @!attribute state
235
- # State of funding source. Funding source states: _ `ENABLED` - The funding
236
- # account is available to use for card creation and transactions. _ `PENDING` -
237
- # The funding account is still being verified e.g. bank micro-deposits
238
- # verification. \* `DELETED` - The founding account has been deleted.
239
- #
240
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::Funding::State]
241
- required :state, enum: -> { Lithic::Models::CardConvertPhysicalResponse::Funding::State }
242
-
243
- # @!attribute type
244
- # Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
245
- # `DEPOSITORY_SAVINGS` - Bank savings account.
246
- #
247
- # @return [Symbol, Lithic::Models::CardConvertPhysicalResponse::Funding::Type]
248
- required :type, enum: -> { Lithic::Models::CardConvertPhysicalResponse::Funding::Type }
249
-
250
- # @!attribute account_name
251
- # Account name identifying the funding source. This may be `null`.
252
- #
253
- # @return [String, nil]
254
- optional :account_name, String
255
-
256
- # @!attribute nickname
257
- # The nickname given to the `FundingAccount` or `null` if it has no nickname.
258
- #
259
- # @return [String, nil]
260
- optional :nickname, String
261
-
262
- # @!method initialize(token:, created:, last_four:, state:, type:, account_name: nil, nickname: nil)
263
- # Deprecated: Funding account for the card.
264
- #
265
- # @param token [String]
266
- # @param created [Time]
267
- # @param last_four [String]
268
- # @param state [Symbol, Lithic::Models::CardConvertPhysicalResponse::Funding::State]
269
- # @param type [Symbol, Lithic::Models::CardConvertPhysicalResponse::Funding::Type]
270
- # @param account_name [String]
271
- # @param nickname [String]
272
-
273
- # State of funding source. Funding source states: _ `ENABLED` - The funding
274
- # account is available to use for card creation and transactions. _ `PENDING` -
275
- # The funding account is still being verified e.g. bank micro-deposits
276
- # verification. \* `DELETED` - The founding account has been deleted.
277
- #
278
- # @see Lithic::Models::CardConvertPhysicalResponse::Funding#state
279
- module State
280
- extend Lithic::Internal::Type::Enum
281
-
282
- DELETED = :DELETED
283
- ENABLED = :ENABLED
284
- PENDING = :PENDING
285
-
286
- # @!method self.values
287
- # @return [Array<Symbol>]
288
- end
289
-
290
- # Types of funding source: _ `DEPOSITORY_CHECKING` - Bank checking account. _
291
- # `DEPOSITORY_SAVINGS` - Bank savings account.
292
- #
293
- # @see Lithic::Models::CardConvertPhysicalResponse::Funding#type
294
- module Type
295
- extend Lithic::Internal::Type::Enum
296
-
297
- DEPOSITORY_CHECKING = :DEPOSITORY_CHECKING
298
- DEPOSITORY_SAVINGS = :DEPOSITORY_SAVINGS
299
-
300
- # @!method self.values
301
- # @return [Array<Symbol>]
302
- end
303
- end
304
-
305
- # Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
306
- # attempts).
307
- #
308
- # @see Lithic::Models::CardConvertPhysicalResponse#pin_status
309
- module PinStatus
310
- extend Lithic::Internal::Type::Enum
311
-
312
- OK = :OK
313
- BLOCKED = :BLOCKED
314
- NOT_SET = :NOT_SET
315
-
316
- # @!method self.values
317
- # @return [Array<Symbol>]
318
- end
319
-
320
- # Spend limit duration
321
- #
322
- # @see Lithic::Models::CardConvertPhysicalResponse#spend_limit_duration
323
- module SpendLimitDuration
324
- extend Lithic::Internal::Type::Enum
325
-
326
- ANNUALLY = :ANNUALLY
327
- FOREVER = :FOREVER
328
- MONTHLY = :MONTHLY
329
- TRANSACTION = :TRANSACTION
330
- DAILY = :DAILY
331
-
332
- # @!method self.values
333
- # @return [Array<Symbol>]
334
- end
335
-
336
- # Card state values: _ `CLOSED` - Card will no longer approve authorizations.
337
- # Closing a card cannot be undone. _ `OPEN` - Card will approve authorizations (if
338
- # they match card and account parameters). _ `PAUSED` - Card will decline
339
- # authorizations, but can be resumed at a later time. _ `PENDING_FULFILLMENT` -
340
- # The initial state for cards of type `PHYSICAL`. The card is provisioned pending
341
- # manufacturing and fulfillment. Cards in this state can accept authorizations for
342
- # e-commerce purchases, but not for "Card Present" purchases where the physical
343
- # card itself is present. \* `PENDING_ACTIVATION` - At regular intervals, cards of
344
- # type `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production
345
- # warehouse and updated to state `PENDING_ACTIVATION`. Similar to
346
- # `PENDING_FULFILLMENT`, cards in this state can be used for e-commerce
347
- # transactions or can be added to mobile wallets. API clients should update the
348
- # card's state to `OPEN` only after the cardholder confirms receipt of the card.
349
- # In sandbox, the same daily batch fulfillment occurs, but no cards are actually
350
- # manufactured.
351
- #
352
- # @see Lithic::Models::CardConvertPhysicalResponse#state
353
- module State
354
- extend Lithic::Internal::Type::Enum
355
-
356
- CLOSED = :CLOSED
357
- OPEN = :OPEN
358
- PAUSED = :PAUSED
359
- PENDING_ACTIVATION = :PENDING_ACTIVATION
360
- PENDING_FULFILLMENT = :PENDING_FULFILLMENT
361
-
362
- # @!method self.values
363
- # @return [Array<Symbol>]
364
- end
365
-
366
- # Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added
367
- # to a digital wallet like Apple Pay or Google Pay (if the card program is digital
368
- # wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
369
- # offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
370
- # functionality. _ `SINGLE_USE` - Card is closed upon first successful
371
- # authorization. _ `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to the first
372
- # merchant that successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_
373
- # Similar behavior to VIRTUAL cards, please use VIRTUAL instead. _
374
- # `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
375
- # VIRTUAL instead.
376
- #
377
- # @see Lithic::Models::CardConvertPhysicalResponse#type
378
- module Type
379
- extend Lithic::Internal::Type::Enum
380
-
381
- MERCHANT_LOCKED = :MERCHANT_LOCKED
382
- PHYSICAL = :PHYSICAL
383
- SINGLE_USE = :SINGLE_USE
384
- VIRTUAL = :VIRTUAL
385
- UNLOCKED = :UNLOCKED
386
- DIGITAL_WALLET = :DIGITAL_WALLET
387
-
388
- # @!method self.values
389
- # @return [Array<Symbol>]
390
- end
391
- end
392
- end
393
- end