lithic 0.12.0 → 0.13.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 +28 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +15 -1
- data/lib/lithic/models/account.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +5 -4
- data/lib/lithic/models/account_holder_update_response.rb +3 -3
- data/lib/lithic/models/account_update_params.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +109 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +244 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +1 -0
- data/lib/lithic/models/auth_rules/spend_velocity_filters.rb +33 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/card_create_params.rb +4 -2
- data/lib/lithic/models/card_renew_params.rb +4 -2
- data/lib/lithic/models/non_pci_card.rb +13 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +1 -0
- data/lib/lithic/models/settlement_detail.rb +11 -4
- data/lib/lithic/models/settlement_summary_details.rb +1 -0
- data/lib/lithic/resources/accounts.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -1
- data/rbi/lithic/models/account.rbi +3 -6
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -14
- data/rbi/lithic/models/account_holder_update_response.rbi +3 -3
- data/rbi/lithic/models/account_update_params.rbi +5 -8
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +10 -3
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +242 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +17 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +573 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +5 -0
- data/rbi/lithic/models/auth_rules/spend_velocity_filters.rbi +58 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +30 -9
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -0
- data/rbi/lithic/models/card_create_params.rbi +8 -4
- data/rbi/lithic/models/card_renew_params.rbi +8 -4
- data/rbi/lithic/models/non_pci_card.rbi +21 -31
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +5 -0
- data/rbi/lithic/models/settlement_detail.rbi +17 -4
- data/rbi/lithic/models/settlement_summary_details.rbi +2 -0
- data/rbi/lithic/resources/accounts.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2.rbi +1 -0
- data/rbi/lithic/resources/cards.rbi +8 -4
- data/sig/lithic/models/account.rbs +4 -8
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -8
- data/sig/lithic/models/account_update_params.rbs +4 -8
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +100 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +155 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +2 -0
- data/sig/lithic/models/auth_rules/spend_velocity_filters.rbs +35 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/non_pci_card.rbs +20 -30
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +2 -1
- data/sig/lithic/models/settlement_detail.rbs +3 -1
- data/sig/lithic/models/settlement_summary_details.rbs +3 -1
- data/sig/lithic/resources/accounts.rbs +1 -1
- metadata +11 -2
|
@@ -85,6 +85,7 @@ module Lithic
|
|
|
85
85
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
86
86
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
87
87
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
88
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
88
89
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
89
90
|
)
|
|
90
91
|
)
|
|
@@ -101,7 +102,8 @@ module Lithic
|
|
|
101
102
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
102
103
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
103
104
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
104
|
-
# ACH_CREDIT_RECEIPT, or
|
|
105
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
106
|
+
# stream.
|
|
105
107
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
106
108
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
107
109
|
sig do
|
|
@@ -151,6 +153,7 @@ module Lithic
|
|
|
151
153
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
152
154
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
153
155
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
156
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
154
157
|
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
155
158
|
),
|
|
156
159
|
type:
|
|
@@ -174,7 +177,8 @@ module Lithic
|
|
|
174
177
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
175
178
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
176
179
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
177
|
-
# ACH_CREDIT_RECEIPT, or
|
|
180
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
181
|
+
# stream.
|
|
178
182
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
179
183
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
180
184
|
type:,
|
|
@@ -201,6 +205,7 @@ module Lithic
|
|
|
201
205
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
202
206
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
203
207
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
208
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
204
209
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
205
210
|
),
|
|
206
211
|
type:
|
|
@@ -229,6 +234,7 @@ module Lithic
|
|
|
229
234
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
230
235
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
231
236
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
237
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
232
238
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
233
239
|
)
|
|
234
240
|
end
|
|
@@ -254,7 +260,8 @@ module Lithic
|
|
|
254
260
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
255
261
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
256
262
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
257
|
-
# ACH_CREDIT_RECEIPT, or
|
|
263
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
264
|
+
# stream.
|
|
258
265
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
259
266
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
260
267
|
module Type
|
|
@@ -331,6 +338,7 @@ module Lithic
|
|
|
331
338
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
332
339
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
333
340
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
341
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
334
342
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
335
343
|
)
|
|
336
344
|
)
|
|
@@ -347,7 +355,8 @@ module Lithic
|
|
|
347
355
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
348
356
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
349
357
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
350
|
-
# ACH_CREDIT_RECEIPT, or
|
|
358
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
359
|
+
# stream.
|
|
351
360
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
352
361
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
353
362
|
sig do
|
|
@@ -384,6 +393,7 @@ module Lithic
|
|
|
384
393
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
385
394
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
386
395
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
396
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
387
397
|
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
388
398
|
),
|
|
389
399
|
type:
|
|
@@ -407,7 +417,8 @@ module Lithic
|
|
|
407
417
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
408
418
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
409
419
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
410
|
-
# ACH_CREDIT_RECEIPT, or
|
|
420
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
421
|
+
# stream.
|
|
411
422
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
412
423
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
413
424
|
type:,
|
|
@@ -431,6 +442,7 @@ module Lithic
|
|
|
431
442
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
432
443
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
433
444
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
445
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
434
446
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
435
447
|
),
|
|
436
448
|
type:
|
|
@@ -457,6 +469,7 @@ module Lithic
|
|
|
457
469
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
458
470
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
459
471
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
472
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
460
473
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
461
474
|
)
|
|
462
475
|
end
|
|
@@ -482,7 +495,8 @@ module Lithic
|
|
|
482
495
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
483
496
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
484
497
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
485
|
-
# ACH_CREDIT_RECEIPT, or
|
|
498
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
499
|
+
# stream.
|
|
486
500
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
487
501
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
488
502
|
module Type
|
|
@@ -555,6 +569,7 @@ module Lithic
|
|
|
555
569
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
556
570
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
557
571
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
572
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
558
573
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
559
574
|
)
|
|
560
575
|
)
|
|
@@ -575,7 +590,8 @@ module Lithic
|
|
|
575
590
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
576
591
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
577
592
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
578
|
-
# ACH_CREDIT_RECEIPT, or
|
|
593
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
594
|
+
# stream.
|
|
579
595
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
580
596
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
581
597
|
sig do
|
|
@@ -634,6 +650,7 @@ module Lithic
|
|
|
634
650
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
635
651
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
636
652
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
653
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
637
654
|
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
638
655
|
),
|
|
639
656
|
program_level: T::Boolean,
|
|
@@ -661,7 +678,8 @@ module Lithic
|
|
|
661
678
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
662
679
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
663
680
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
664
|
-
# ACH_CREDIT_RECEIPT, or
|
|
681
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
682
|
+
# stream.
|
|
665
683
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
666
684
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
667
685
|
type:,
|
|
@@ -690,6 +708,7 @@ module Lithic
|
|
|
690
708
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
691
709
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
692
710
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
711
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
693
712
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
694
713
|
),
|
|
695
714
|
program_level: T::Boolean,
|
|
@@ -720,6 +739,7 @@ module Lithic
|
|
|
720
739
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
721
740
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
722
741
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
742
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
723
743
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
724
744
|
)
|
|
725
745
|
end
|
|
@@ -745,7 +765,8 @@ module Lithic
|
|
|
745
765
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
746
766
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
747
767
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
748
|
-
# ACH_CREDIT_RECEIPT, or
|
|
768
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, or CARD_TRANSACTION_UPDATE event
|
|
769
|
+
# stream.
|
|
749
770
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
750
771
|
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
751
772
|
module Type
|
|
@@ -27,6 +27,7 @@ module Lithic
|
|
|
27
27
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
28
28
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
29
29
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
30
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
30
31
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
31
32
|
)
|
|
32
33
|
)
|
|
@@ -47,6 +48,7 @@ module Lithic
|
|
|
47
48
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
48
49
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
49
50
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
51
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
50
52
|
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
51
53
|
)
|
|
52
54
|
),
|
|
@@ -75,6 +77,7 @@ module Lithic
|
|
|
75
77
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
76
78
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
77
79
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
80
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
78
81
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
79
82
|
)
|
|
80
83
|
),
|
|
@@ -99,6 +102,7 @@ module Lithic
|
|
|
99
102
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
100
103
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
101
104
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
105
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
102
106
|
Lithic::AuthRules::TypescriptCodeParameters
|
|
103
107
|
)
|
|
104
108
|
end
|
|
@@ -78,7 +78,8 @@ module Lithic
|
|
|
78
78
|
attr_writer :digital_card_art_token
|
|
79
79
|
|
|
80
80
|
# Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
|
81
|
-
# an expiration date will be generated.
|
|
81
|
+
# an expiration date five years in the future will be generated. Five years is the
|
|
82
|
+
# maximum expiration date.
|
|
82
83
|
sig { returns(T.nilable(String)) }
|
|
83
84
|
attr_reader :exp_month
|
|
84
85
|
|
|
@@ -86,7 +87,8 @@ module Lithic
|
|
|
86
87
|
attr_writer :exp_month
|
|
87
88
|
|
|
88
89
|
# Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
|
89
|
-
# provided, an expiration date will be generated.
|
|
90
|
+
# provided, an expiration date five years in the future will be generated. Five
|
|
91
|
+
# years is the maximum expiration date.
|
|
90
92
|
sig { returns(T.nilable(String)) }
|
|
91
93
|
attr_reader :exp_year
|
|
92
94
|
|
|
@@ -339,10 +341,12 @@ module Lithic
|
|
|
339
341
|
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
|
340
342
|
digital_card_art_token: nil,
|
|
341
343
|
# Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
|
342
|
-
# an expiration date will be generated.
|
|
344
|
+
# an expiration date five years in the future will be generated. Five years is the
|
|
345
|
+
# maximum expiration date.
|
|
343
346
|
exp_month: nil,
|
|
344
347
|
# Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
|
345
|
-
# provided, an expiration date will be generated.
|
|
348
|
+
# provided, an expiration date five years in the future will be generated. Five
|
|
349
|
+
# years is the maximum expiration date.
|
|
346
350
|
exp_year: nil,
|
|
347
351
|
# Friendly name to identify the card.
|
|
348
352
|
memo: nil,
|
|
@@ -29,7 +29,8 @@ module Lithic
|
|
|
29
29
|
attr_writer :carrier
|
|
30
30
|
|
|
31
31
|
# Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
|
32
|
-
# an expiration date
|
|
32
|
+
# an expiration date five years in the future will be generated. Five years is the
|
|
33
|
+
# maximum expiration date.
|
|
33
34
|
sig { returns(T.nilable(String)) }
|
|
34
35
|
attr_reader :exp_month
|
|
35
36
|
|
|
@@ -37,7 +38,8 @@ module Lithic
|
|
|
37
38
|
attr_writer :exp_month
|
|
38
39
|
|
|
39
40
|
# Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
|
40
|
-
# provided, an expiration date
|
|
41
|
+
# provided, an expiration date five years in the future will be generated. Five
|
|
42
|
+
# years is the maximum expiration date.
|
|
41
43
|
sig { returns(T.nilable(String)) }
|
|
42
44
|
attr_reader :exp_year
|
|
43
45
|
|
|
@@ -100,10 +102,12 @@ module Lithic
|
|
|
100
102
|
# If omitted, the previous carrier will be used.
|
|
101
103
|
carrier: nil,
|
|
102
104
|
# Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
|
103
|
-
# an expiration date
|
|
105
|
+
# an expiration date five years in the future will be generated. Five years is the
|
|
106
|
+
# maximum expiration date.
|
|
104
107
|
exp_month: nil,
|
|
105
108
|
# Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
|
106
|
-
# provided, an expiration date
|
|
109
|
+
# provided, an expiration date five years in the future will be generated. Five
|
|
110
|
+
# years is the maximum expiration date.
|
|
107
111
|
exp_year: nil,
|
|
108
112
|
# Specifies the configuration (e.g. physical card art) that the card should be
|
|
109
113
|
# manufactured with, and only applies to cards of type `PHYSICAL`. This must be
|
|
@@ -22,11 +22,13 @@ module Lithic
|
|
|
22
22
|
sig { returns(Time) }
|
|
23
23
|
attr_accessor :created
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
sig { returns(Lithic::NonPCICard::Funding) }
|
|
25
|
+
# Funding account for a card
|
|
26
|
+
sig { returns(T.nilable(Lithic::NonPCICard::Funding)) }
|
|
27
27
|
attr_reader :funding
|
|
28
28
|
|
|
29
|
-
sig
|
|
29
|
+
sig do
|
|
30
|
+
params(funding: T.nilable(Lithic::NonPCICard::Funding::OrHash)).void
|
|
31
|
+
end
|
|
30
32
|
attr_writer :funding
|
|
31
33
|
|
|
32
34
|
# Last four digits of the card number.
|
|
@@ -121,10 +123,7 @@ module Lithic
|
|
|
121
123
|
# after tokenization. This artwork must be approved by Mastercard and configured
|
|
122
124
|
# by Lithic to use.
|
|
123
125
|
sig { returns(T.nilable(String)) }
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
sig { params(digital_card_art_token: String).void }
|
|
127
|
-
attr_writer :digital_card_art_token
|
|
126
|
+
attr_accessor :digital_card_art_token
|
|
128
127
|
|
|
129
128
|
# Two digit (MM) expiry month.
|
|
130
129
|
sig { returns(T.nilable(String)) }
|
|
@@ -173,10 +172,7 @@ module Lithic
|
|
|
173
172
|
# before use. Specifies the configuration (i.e., physical card art) that the card
|
|
174
173
|
# should be manufactured with.
|
|
175
174
|
sig { returns(T.nilable(String)) }
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
sig { params(product_id: String).void }
|
|
179
|
-
attr_writer :product_id
|
|
175
|
+
attr_accessor :product_id
|
|
180
176
|
|
|
181
177
|
# If the card is a replacement for another card, the globally unique identifier
|
|
182
178
|
# for the card that was replaced.
|
|
@@ -204,10 +200,7 @@ module Lithic
|
|
|
204
200
|
# has been returned. \* `OTHER` - The reason for the status does not fall into any
|
|
205
201
|
# of the above categories. A comment can be provided to specify the reason.
|
|
206
202
|
sig { returns(T.nilable(Lithic::NonPCICard::Substatus::TaggedSymbol)) }
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
sig { params(substatus: Lithic::NonPCICard::Substatus::OrSymbol).void }
|
|
210
|
-
attr_writer :substatus
|
|
203
|
+
attr_accessor :substatus
|
|
211
204
|
|
|
212
205
|
# Card details without PCI information
|
|
213
206
|
sig do
|
|
@@ -216,7 +209,7 @@ module Lithic
|
|
|
216
209
|
account_token: String,
|
|
217
210
|
card_program_token: String,
|
|
218
211
|
created: Time,
|
|
219
|
-
funding: Lithic::NonPCICard::Funding::OrHash,
|
|
212
|
+
funding: T.nilable(Lithic::NonPCICard::Funding::OrHash),
|
|
220
213
|
last_four: String,
|
|
221
214
|
pin_status: Lithic::NonPCICard::PinStatus::OrSymbol,
|
|
222
215
|
spend_limit: Integer,
|
|
@@ -227,16 +220,16 @@ module Lithic
|
|
|
227
220
|
bulk_order_token: T.nilable(String),
|
|
228
221
|
cardholder_currency: String,
|
|
229
222
|
comment: String,
|
|
230
|
-
digital_card_art_token: String,
|
|
223
|
+
digital_card_art_token: T.nilable(String),
|
|
231
224
|
exp_month: String,
|
|
232
225
|
exp_year: String,
|
|
233
226
|
hostname: String,
|
|
234
227
|
memo: String,
|
|
235
228
|
network_program_token: T.nilable(String),
|
|
236
229
|
pending_commands: T::Array[String],
|
|
237
|
-
product_id: String,
|
|
230
|
+
product_id: T.nilable(String),
|
|
238
231
|
replacement_for: T.nilable(String),
|
|
239
|
-
substatus: Lithic::NonPCICard::Substatus::OrSymbol
|
|
232
|
+
substatus: T.nilable(Lithic::NonPCICard::Substatus::OrSymbol)
|
|
240
233
|
).returns(T.attached_class)
|
|
241
234
|
end
|
|
242
235
|
def self.new(
|
|
@@ -248,7 +241,7 @@ module Lithic
|
|
|
248
241
|
card_program_token:,
|
|
249
242
|
# An RFC 3339 timestamp for when the card was created. UTC time zone.
|
|
250
243
|
created:,
|
|
251
|
-
#
|
|
244
|
+
# Funding account for a card
|
|
252
245
|
funding:,
|
|
253
246
|
# Last four digits of the card number.
|
|
254
247
|
last_four:,
|
|
@@ -367,7 +360,7 @@ module Lithic
|
|
|
367
360
|
account_token: String,
|
|
368
361
|
card_program_token: String,
|
|
369
362
|
created: Time,
|
|
370
|
-
funding: Lithic::NonPCICard::Funding,
|
|
363
|
+
funding: T.nilable(Lithic::NonPCICard::Funding),
|
|
371
364
|
last_four: String,
|
|
372
365
|
pin_status: Lithic::NonPCICard::PinStatus::TaggedSymbol,
|
|
373
366
|
spend_limit: Integer,
|
|
@@ -378,16 +371,16 @@ module Lithic
|
|
|
378
371
|
bulk_order_token: T.nilable(String),
|
|
379
372
|
cardholder_currency: String,
|
|
380
373
|
comment: String,
|
|
381
|
-
digital_card_art_token: String,
|
|
374
|
+
digital_card_art_token: T.nilable(String),
|
|
382
375
|
exp_month: String,
|
|
383
376
|
exp_year: String,
|
|
384
377
|
hostname: String,
|
|
385
378
|
memo: String,
|
|
386
379
|
network_program_token: T.nilable(String),
|
|
387
380
|
pending_commands: T::Array[String],
|
|
388
|
-
product_id: String,
|
|
381
|
+
product_id: T.nilable(String),
|
|
389
382
|
replacement_for: T.nilable(String),
|
|
390
|
-
substatus: Lithic::NonPCICard::Substatus::TaggedSymbol
|
|
383
|
+
substatus: T.nilable(Lithic::NonPCICard::Substatus::TaggedSymbol)
|
|
391
384
|
}
|
|
392
385
|
)
|
|
393
386
|
end
|
|
@@ -435,12 +428,9 @@ module Lithic
|
|
|
435
428
|
|
|
436
429
|
# The nickname given to the `FundingAccount` or `null` if it has no nickname.
|
|
437
430
|
sig { returns(T.nilable(String)) }
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
sig { params(nickname: String).void }
|
|
441
|
-
attr_writer :nickname
|
|
431
|
+
attr_accessor :nickname
|
|
442
432
|
|
|
443
|
-
#
|
|
433
|
+
# Funding account for a card
|
|
444
434
|
sig do
|
|
445
435
|
params(
|
|
446
436
|
token: String,
|
|
@@ -449,7 +439,7 @@ module Lithic
|
|
|
449
439
|
state: Lithic::NonPCICard::Funding::State::OrSymbol,
|
|
450
440
|
type: Lithic::NonPCICard::Funding::Type::OrSymbol,
|
|
451
441
|
account_name: String,
|
|
452
|
-
nickname: String
|
|
442
|
+
nickname: T.nilable(String)
|
|
453
443
|
).returns(T.attached_class)
|
|
454
444
|
end
|
|
455
445
|
def self.new(
|
|
@@ -485,7 +475,7 @@ module Lithic
|
|
|
485
475
|
state: Lithic::NonPCICard::Funding::State::TaggedSymbol,
|
|
486
476
|
type: Lithic::NonPCICard::Funding::Type::TaggedSymbol,
|
|
487
477
|
account_name: String,
|
|
488
|
-
nickname: String
|
|
478
|
+
nickname: T.nilable(String)
|
|
489
479
|
}
|
|
490
480
|
)
|
|
491
481
|
end
|
|
@@ -39,7 +39,8 @@ module Lithic
|
|
|
39
39
|
sig { returns(Integer) }
|
|
40
40
|
attr_accessor :disputes_gross_amount
|
|
41
41
|
|
|
42
|
-
#
|
|
42
|
+
# Array of globally unique identifiers for the financial events that comprise this
|
|
43
|
+
# settlement. Use these tokens to access detailed event-level information.
|
|
43
44
|
sig { returns(T::Array[String]) }
|
|
44
45
|
attr_accessor :event_tokens
|
|
45
46
|
|
|
@@ -85,7 +86,12 @@ module Lithic
|
|
|
85
86
|
sig { returns(String) }
|
|
86
87
|
attr_accessor :settlement_date
|
|
87
88
|
|
|
88
|
-
# Globally unique identifier denoting the associated
|
|
89
|
+
# Globally unique identifier denoting the associated transaction. For settlement
|
|
90
|
+
# records with type `CLEARING`, `FINANCIAL`, or `NON-FINANCIAL`, this references a
|
|
91
|
+
# card transaction token. For settlement records with type `CHARGEBACK`,
|
|
92
|
+
# `REPRESENTMENT`, `PREARBITRATION`, `ARBITRATION`, or `COLLABORATION`, this
|
|
93
|
+
# references the dispute transaction token. May be null for certain settlement
|
|
94
|
+
# types.
|
|
89
95
|
sig { returns(String) }
|
|
90
96
|
attr_accessor :transaction_token
|
|
91
97
|
|
|
@@ -153,7 +159,8 @@ module Lithic
|
|
|
153
159
|
currency:,
|
|
154
160
|
# The total gross amount of disputes settlements.
|
|
155
161
|
disputes_gross_amount:,
|
|
156
|
-
#
|
|
162
|
+
# Array of globally unique identifiers for the financial events that comprise this
|
|
163
|
+
# settlement. Use these tokens to access detailed event-level information.
|
|
157
164
|
event_tokens:,
|
|
158
165
|
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
|
159
166
|
# for Visa).
|
|
@@ -174,7 +181,12 @@ module Lithic
|
|
|
174
181
|
# applies - for Mastercard dual message settlement, this is the settlement
|
|
175
182
|
# advisement date, which is distinct from the date of money movement.
|
|
176
183
|
settlement_date:,
|
|
177
|
-
# Globally unique identifier denoting the associated
|
|
184
|
+
# Globally unique identifier denoting the associated transaction. For settlement
|
|
185
|
+
# records with type `CLEARING`, `FINANCIAL`, or `NON-FINANCIAL`, this references a
|
|
186
|
+
# card transaction token. For settlement records with type `CHARGEBACK`,
|
|
187
|
+
# `REPRESENTMENT`, `PREARBITRATION`, `ARBITRATION`, or `COLLABORATION`, this
|
|
188
|
+
# references the dispute transaction token. May be null for certain settlement
|
|
189
|
+
# types.
|
|
178
190
|
transaction_token:,
|
|
179
191
|
# The total amount of settlement impacting transactions (excluding interchange,
|
|
180
192
|
# fees, and disputes).
|
|
@@ -226,6 +238,7 @@ module Lithic
|
|
|
226
238
|
T.type_alias { T.all(Symbol, Lithic::SettlementDetail::Network) }
|
|
227
239
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
228
240
|
|
|
241
|
+
AMEX = T.let(:AMEX, Lithic::SettlementDetail::Network::TaggedSymbol)
|
|
229
242
|
INTERLINK =
|
|
230
243
|
T.let(:INTERLINK, Lithic::SettlementDetail::Network::TaggedSymbol)
|
|
231
244
|
MAESTRO =
|
|
@@ -28,7 +28,8 @@ module Lithic
|
|
|
28
28
|
lifetime_spend_limit: Integer,
|
|
29
29
|
monthly_spend_limit: Integer,
|
|
30
30
|
state: Lithic::AccountUpdateParams::State::OrSymbol,
|
|
31
|
-
substatus:
|
|
31
|
+
substatus:
|
|
32
|
+
T.nilable(Lithic::AccountUpdateParams::Substatus::OrSymbol),
|
|
32
33
|
verification_address:
|
|
33
34
|
Lithic::AccountUpdateParams::VerificationAddress::OrHash,
|
|
34
35
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -122,6 +122,7 @@ module Lithic
|
|
|
122
122
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
123
123
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
124
124
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
125
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
125
126
|
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
126
127
|
)
|
|
127
128
|
),
|
|
@@ -80,10 +80,12 @@ module Lithic
|
|
|
80
80
|
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
|
81
81
|
digital_card_art_token: nil,
|
|
82
82
|
# Body param: Two digit (MM) expiry month. If neither `exp_month` nor `exp_year`
|
|
83
|
-
# is provided, an expiration date will be generated.
|
|
83
|
+
# is provided, an expiration date five years in the future will be generated. Five
|
|
84
|
+
# years is the maximum expiration date.
|
|
84
85
|
exp_month: nil,
|
|
85
86
|
# Body param: Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year`
|
|
86
|
-
# is provided, an expiration date will be generated.
|
|
87
|
+
# is provided, an expiration date five years in the future will be generated. Five
|
|
88
|
+
# years is the maximum expiration date.
|
|
87
89
|
exp_year: nil,
|
|
88
90
|
# Body param: Friendly name to identify the card.
|
|
89
91
|
memo: nil,
|
|
@@ -556,10 +558,12 @@ module Lithic
|
|
|
556
558
|
# If omitted, the previous carrier will be used.
|
|
557
559
|
carrier: nil,
|
|
558
560
|
# Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
|
|
559
|
-
# an expiration date
|
|
561
|
+
# an expiration date five years in the future will be generated. Five years is the
|
|
562
|
+
# maximum expiration date.
|
|
560
563
|
exp_month: nil,
|
|
561
564
|
# Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
|
|
562
|
-
# provided, an expiration date
|
|
565
|
+
# provided, an expiration date five years in the future will be generated. Five
|
|
566
|
+
# years is the maximum expiration date.
|
|
563
567
|
exp_year: nil,
|
|
564
568
|
# Specifies the configuration (e.g. physical card art) that the card should be
|
|
565
569
|
# manufactured with, and only applies to cards of type `PHYSICAL`. This must be
|
|
@@ -10,7 +10,7 @@ module Lithic
|
|
|
10
10
|
auth_rule_tokens: ::Array[String],
|
|
11
11
|
cardholder_currency: String,
|
|
12
12
|
comment: String,
|
|
13
|
-
substatus: Lithic::Models::Account::substatus
|
|
13
|
+
substatus: Lithic::Models::Account::substatus?,
|
|
14
14
|
verification_address: Lithic::Account::VerificationAddress
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -41,11 +41,7 @@ module Lithic
|
|
|
41
41
|
|
|
42
42
|
def comment=: (String) -> String
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
def substatus=: (
|
|
47
|
-
Lithic::Models::Account::substatus
|
|
48
|
-
) -> Lithic::Models::Account::substatus
|
|
44
|
+
attr_accessor substatus: Lithic::Models::Account::substatus?
|
|
49
45
|
|
|
50
46
|
attr_reader verification_address: Lithic::Account::VerificationAddress?
|
|
51
47
|
|
|
@@ -62,7 +58,7 @@ module Lithic
|
|
|
62
58
|
?auth_rule_tokens: ::Array[String],
|
|
63
59
|
?cardholder_currency: String,
|
|
64
60
|
?comment: String,
|
|
65
|
-
?substatus: Lithic::Models::Account::substatus
|
|
61
|
+
?substatus: Lithic::Models::Account::substatus?,
|
|
66
62
|
?verification_address: Lithic::Account::VerificationAddress
|
|
67
63
|
) -> void
|
|
68
64
|
|
|
@@ -75,7 +71,7 @@ module Lithic
|
|
|
75
71
|
auth_rule_tokens: ::Array[String],
|
|
76
72
|
cardholder_currency: String,
|
|
77
73
|
comment: String,
|
|
78
|
-
substatus: Lithic::Models::Account::substatus
|
|
74
|
+
substatus: Lithic::Models::Account::substatus?,
|
|
79
75
|
verification_address: Lithic::Account::VerificationAddress
|
|
80
76
|
}
|
|
81
77
|
|
|
@@ -10,7 +10,7 @@ module Lithic
|
|
|
10
10
|
control_person: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
|
|
11
11
|
created: Time,
|
|
12
12
|
email: String,
|
|
13
|
-
exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type
|
|
13
|
+
exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type?,
|
|
14
14
|
external_id: String,
|
|
15
15
|
individual: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual,
|
|
16
16
|
naics_code: String,
|
|
@@ -61,11 +61,7 @@ module Lithic
|
|
|
61
61
|
|
|
62
62
|
def email=: (String) -> String
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
def exemption_type=: (
|
|
67
|
-
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type
|
|
68
|
-
) -> Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type
|
|
64
|
+
attr_accessor exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type?
|
|
69
65
|
|
|
70
66
|
attr_reader external_id: String?
|
|
71
67
|
|
|
@@ -132,7 +128,7 @@ module Lithic
|
|
|
132
128
|
?control_person: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
|
|
133
129
|
?created: Time,
|
|
134
130
|
?email: String,
|
|
135
|
-
?exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type
|
|
131
|
+
?exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type?,
|
|
136
132
|
?external_id: String,
|
|
137
133
|
?individual: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual,
|
|
138
134
|
?naics_code: String,
|
|
@@ -155,7 +151,7 @@ module Lithic
|
|
|
155
151
|
control_person: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
|
|
156
152
|
created: Time,
|
|
157
153
|
email: String,
|
|
158
|
-
exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type
|
|
154
|
+
exemption_type: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::exemption_type?,
|
|
159
155
|
external_id: String,
|
|
160
156
|
individual: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual,
|
|
161
157
|
naics_code: String,
|