increase 1.220.0 → 1.222.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +80 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +86 -0
- data/sig/increase/models/card_payment.rbs +45 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d565587fc23ea9e2e6f15e343ea7b0f75eaa914b8d2f5c6f36c6ae2ec482c1f8
|
|
4
|
+
data.tar.gz: 8a9ae9c3f82e31b4bdb373031e122f0d49ad2335e891a896ac9cd77e363c1dca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 867a5033d741635b36521baa18ae195e5bf966e83255f959ea12c7e70de749da6e10bbb60fdacb66a59fc916344b80e22247b3e2566f789659c0d4d99d126fec
|
|
7
|
+
data.tar.gz: 1feb97d9cb74d7c6e060c9ca576db19bb207d3daa42221b53ac65fd2572d7c9de3e03d1995ce59059b03ffe045a74a9a363aa4dd965d2440873c5ae90d465812
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.222.0 (2026-03-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.221.0...v1.222.0](https://github.com/Increase/increase-ruby/compare/v1.221.0...v1.222.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a773d1a](https://github.com/Increase/increase-ruby/commit/a773d1a55c6fa68f2600f317a967509cd2a91e7a))
|
|
10
|
+
|
|
11
|
+
## 1.221.0 (2026-03-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.220.0...v1.221.0](https://github.com/Increase/increase-ruby/compare/v1.220.0...v1.221.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([3cd867c](https://github.com/Increase/increase-ruby/commit/3cd867cb677a1d99441f21b30a25da513faf9a70))
|
|
18
|
+
|
|
3
19
|
## 1.220.0 (2026-03-03)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.219.0...v1.220.0](https://github.com/Increase/increase-ruby/compare/v1.219.0...v1.220.0)
|
data/README.md
CHANGED
|
@@ -318,6 +318,55 @@ module Increase
|
|
|
318
318
|
# @return [String]
|
|
319
319
|
required :id, String
|
|
320
320
|
|
|
321
|
+
# @!attribute billing_address_city
|
|
322
|
+
# The city of the cardholder billing address associated with the card used for
|
|
323
|
+
# this purchase.
|
|
324
|
+
#
|
|
325
|
+
# @return [String, nil]
|
|
326
|
+
required :billing_address_city, String, nil?: true
|
|
327
|
+
|
|
328
|
+
# @!attribute billing_address_country
|
|
329
|
+
# The country of the cardholder billing address associated with the card used for
|
|
330
|
+
# this purchase.
|
|
331
|
+
#
|
|
332
|
+
# @return [String, nil]
|
|
333
|
+
required :billing_address_country, String, nil?: true
|
|
334
|
+
|
|
335
|
+
# @!attribute billing_address_line1
|
|
336
|
+
# The first line of the cardholder billing address associated with the card used
|
|
337
|
+
# for this purchase.
|
|
338
|
+
#
|
|
339
|
+
# @return [String, nil]
|
|
340
|
+
required :billing_address_line1, String, nil?: true
|
|
341
|
+
|
|
342
|
+
# @!attribute billing_address_line2
|
|
343
|
+
# The second line of the cardholder billing address associated with the card used
|
|
344
|
+
# for this purchase.
|
|
345
|
+
#
|
|
346
|
+
# @return [String, nil]
|
|
347
|
+
required :billing_address_line2, String, nil?: true
|
|
348
|
+
|
|
349
|
+
# @!attribute billing_address_line3
|
|
350
|
+
# The third line of the cardholder billing address associated with the card used
|
|
351
|
+
# for this purchase.
|
|
352
|
+
#
|
|
353
|
+
# @return [String, nil]
|
|
354
|
+
required :billing_address_line3, String, nil?: true
|
|
355
|
+
|
|
356
|
+
# @!attribute billing_address_postal_code
|
|
357
|
+
# The postal code of the cardholder billing address associated with the card used
|
|
358
|
+
# for this purchase.
|
|
359
|
+
#
|
|
360
|
+
# @return [String, nil]
|
|
361
|
+
required :billing_address_postal_code, String, nil?: true
|
|
362
|
+
|
|
363
|
+
# @!attribute billing_address_state
|
|
364
|
+
# The US state of the cardholder billing address associated with the card used for
|
|
365
|
+
# this purchase.
|
|
366
|
+
#
|
|
367
|
+
# @return [String, nil]
|
|
368
|
+
required :billing_address_state, String, nil?: true
|
|
369
|
+
|
|
321
370
|
# @!attribute card_id
|
|
322
371
|
# The identifier of the Card.
|
|
323
372
|
#
|
|
@@ -330,6 +379,18 @@ module Increase
|
|
|
330
379
|
# @return [String]
|
|
331
380
|
required :card_payment_id, String
|
|
332
381
|
|
|
382
|
+
# @!attribute cardholder_email
|
|
383
|
+
# The email address of the cardholder.
|
|
384
|
+
#
|
|
385
|
+
# @return [String, nil]
|
|
386
|
+
required :cardholder_email, String, nil?: true
|
|
387
|
+
|
|
388
|
+
# @!attribute cardholder_name
|
|
389
|
+
# The name of the cardholder.
|
|
390
|
+
#
|
|
391
|
+
# @return [String, nil]
|
|
392
|
+
required :cardholder_name, String, nil?: true
|
|
393
|
+
|
|
333
394
|
# @!attribute category
|
|
334
395
|
# The category of the card authentication attempt.
|
|
335
396
|
#
|
|
@@ -432,7 +493,7 @@ module Increase
|
|
|
432
493
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type]
|
|
433
494
|
required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type }
|
|
434
495
|
|
|
435
|
-
# @!method initialize(id:, card_id:, card_payment_id:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, purchase_amount:, purchase_currency:, real_time_decision_id:, status:, type:)
|
|
496
|
+
# @!method initialize(id:, billing_address_city:, billing_address_country:, billing_address_line1:, billing_address_line2:, billing_address_line3:, billing_address_postal_code:, billing_address_state:, card_id:, card_payment_id:, cardholder_email:, cardholder_name:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, purchase_amount:, purchase_currency:, real_time_decision_id:, status:, type:)
|
|
436
497
|
# Some parameter documentations has been truncated, see
|
|
437
498
|
# {Increase::Models::CardPayment::Element::CardAuthentication} for more details.
|
|
438
499
|
#
|
|
@@ -442,10 +503,28 @@ module Increase
|
|
|
442
503
|
#
|
|
443
504
|
# @param id [String] The Card Authentication identifier.
|
|
444
505
|
#
|
|
506
|
+
# @param billing_address_city [String, nil] The city of the cardholder billing address associated with the card used for thi
|
|
507
|
+
#
|
|
508
|
+
# @param billing_address_country [String, nil] The country of the cardholder billing address associated with the card used for
|
|
509
|
+
#
|
|
510
|
+
# @param billing_address_line1 [String, nil] The first line of the cardholder billing address associated with the card used f
|
|
511
|
+
#
|
|
512
|
+
# @param billing_address_line2 [String, nil] The second line of the cardholder billing address associated with the card used
|
|
513
|
+
#
|
|
514
|
+
# @param billing_address_line3 [String, nil] The third line of the cardholder billing address associated with the card used f
|
|
515
|
+
#
|
|
516
|
+
# @param billing_address_postal_code [String, nil] The postal code of the cardholder billing address associated with the card used
|
|
517
|
+
#
|
|
518
|
+
# @param billing_address_state [String, nil] The US state of the cardholder billing address associated with the card used for
|
|
519
|
+
#
|
|
445
520
|
# @param card_id [String] The identifier of the Card.
|
|
446
521
|
#
|
|
447
522
|
# @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
|
|
448
523
|
#
|
|
524
|
+
# @param cardholder_email [String, nil] The email address of the cardholder.
|
|
525
|
+
#
|
|
526
|
+
# @param cardholder_name [String, nil] The name of the cardholder.
|
|
527
|
+
#
|
|
449
528
|
# @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Category, nil] The category of the card authentication attempt.
|
|
450
529
|
#
|
|
451
530
|
# @param challenge [Increase::Models::CardPayment::Element::CardAuthentication::Challenge, nil] Details about the challenge, if one was requested.
|
data/lib/increase/version.rb
CHANGED
|
@@ -626,6 +626,41 @@ module Increase
|
|
|
626
626
|
sig { returns(String) }
|
|
627
627
|
attr_accessor :id
|
|
628
628
|
|
|
629
|
+
# The city of the cardholder billing address associated with the card used for
|
|
630
|
+
# this purchase.
|
|
631
|
+
sig { returns(T.nilable(String)) }
|
|
632
|
+
attr_accessor :billing_address_city
|
|
633
|
+
|
|
634
|
+
# The country of the cardholder billing address associated with the card used for
|
|
635
|
+
# this purchase.
|
|
636
|
+
sig { returns(T.nilable(String)) }
|
|
637
|
+
attr_accessor :billing_address_country
|
|
638
|
+
|
|
639
|
+
# The first line of the cardholder billing address associated with the card used
|
|
640
|
+
# for this purchase.
|
|
641
|
+
sig { returns(T.nilable(String)) }
|
|
642
|
+
attr_accessor :billing_address_line1
|
|
643
|
+
|
|
644
|
+
# The second line of the cardholder billing address associated with the card used
|
|
645
|
+
# for this purchase.
|
|
646
|
+
sig { returns(T.nilable(String)) }
|
|
647
|
+
attr_accessor :billing_address_line2
|
|
648
|
+
|
|
649
|
+
# The third line of the cardholder billing address associated with the card used
|
|
650
|
+
# for this purchase.
|
|
651
|
+
sig { returns(T.nilable(String)) }
|
|
652
|
+
attr_accessor :billing_address_line3
|
|
653
|
+
|
|
654
|
+
# The postal code of the cardholder billing address associated with the card used
|
|
655
|
+
# for this purchase.
|
|
656
|
+
sig { returns(T.nilable(String)) }
|
|
657
|
+
attr_accessor :billing_address_postal_code
|
|
658
|
+
|
|
659
|
+
# The US state of the cardholder billing address associated with the card used for
|
|
660
|
+
# this purchase.
|
|
661
|
+
sig { returns(T.nilable(String)) }
|
|
662
|
+
attr_accessor :billing_address_state
|
|
663
|
+
|
|
629
664
|
# The identifier of the Card.
|
|
630
665
|
sig { returns(String) }
|
|
631
666
|
attr_accessor :card_id
|
|
@@ -634,6 +669,14 @@ module Increase
|
|
|
634
669
|
sig { returns(String) }
|
|
635
670
|
attr_accessor :card_payment_id
|
|
636
671
|
|
|
672
|
+
# The email address of the cardholder.
|
|
673
|
+
sig { returns(T.nilable(String)) }
|
|
674
|
+
attr_accessor :cardholder_email
|
|
675
|
+
|
|
676
|
+
# The name of the cardholder.
|
|
677
|
+
sig { returns(T.nilable(String)) }
|
|
678
|
+
attr_accessor :cardholder_name
|
|
679
|
+
|
|
637
680
|
# The category of the card authentication attempt.
|
|
638
681
|
sig do
|
|
639
682
|
returns(
|
|
@@ -744,8 +787,17 @@ module Increase
|
|
|
744
787
|
sig do
|
|
745
788
|
params(
|
|
746
789
|
id: String,
|
|
790
|
+
billing_address_city: T.nilable(String),
|
|
791
|
+
billing_address_country: T.nilable(String),
|
|
792
|
+
billing_address_line1: T.nilable(String),
|
|
793
|
+
billing_address_line2: T.nilable(String),
|
|
794
|
+
billing_address_line3: T.nilable(String),
|
|
795
|
+
billing_address_postal_code: T.nilable(String),
|
|
796
|
+
billing_address_state: T.nilable(String),
|
|
747
797
|
card_id: String,
|
|
748
798
|
card_payment_id: String,
|
|
799
|
+
cardholder_email: T.nilable(String),
|
|
800
|
+
cardholder_name: T.nilable(String),
|
|
749
801
|
category:
|
|
750
802
|
T.nilable(
|
|
751
803
|
Increase::CardPayment::Element::CardAuthentication::Category::OrSymbol
|
|
@@ -779,10 +831,35 @@ module Increase
|
|
|
779
831
|
def self.new(
|
|
780
832
|
# The Card Authentication identifier.
|
|
781
833
|
id:,
|
|
834
|
+
# The city of the cardholder billing address associated with the card used for
|
|
835
|
+
# this purchase.
|
|
836
|
+
billing_address_city:,
|
|
837
|
+
# The country of the cardholder billing address associated with the card used for
|
|
838
|
+
# this purchase.
|
|
839
|
+
billing_address_country:,
|
|
840
|
+
# The first line of the cardholder billing address associated with the card used
|
|
841
|
+
# for this purchase.
|
|
842
|
+
billing_address_line1:,
|
|
843
|
+
# The second line of the cardholder billing address associated with the card used
|
|
844
|
+
# for this purchase.
|
|
845
|
+
billing_address_line2:,
|
|
846
|
+
# The third line of the cardholder billing address associated with the card used
|
|
847
|
+
# for this purchase.
|
|
848
|
+
billing_address_line3:,
|
|
849
|
+
# The postal code of the cardholder billing address associated with the card used
|
|
850
|
+
# for this purchase.
|
|
851
|
+
billing_address_postal_code:,
|
|
852
|
+
# The US state of the cardholder billing address associated with the card used for
|
|
853
|
+
# this purchase.
|
|
854
|
+
billing_address_state:,
|
|
782
855
|
# The identifier of the Card.
|
|
783
856
|
card_id:,
|
|
784
857
|
# The ID of the Card Payment this transaction belongs to.
|
|
785
858
|
card_payment_id:,
|
|
859
|
+
# The email address of the cardholder.
|
|
860
|
+
cardholder_email:,
|
|
861
|
+
# The name of the cardholder.
|
|
862
|
+
cardholder_name:,
|
|
786
863
|
# The category of the card authentication attempt.
|
|
787
864
|
category:,
|
|
788
865
|
# Details about the challenge, if one was requested.
|
|
@@ -824,8 +901,17 @@ module Increase
|
|
|
824
901
|
override.returns(
|
|
825
902
|
{
|
|
826
903
|
id: String,
|
|
904
|
+
billing_address_city: T.nilable(String),
|
|
905
|
+
billing_address_country: T.nilable(String),
|
|
906
|
+
billing_address_line1: T.nilable(String),
|
|
907
|
+
billing_address_line2: T.nilable(String),
|
|
908
|
+
billing_address_line3: T.nilable(String),
|
|
909
|
+
billing_address_postal_code: T.nilable(String),
|
|
910
|
+
billing_address_state: T.nilable(String),
|
|
827
911
|
card_id: String,
|
|
828
912
|
card_payment_id: String,
|
|
913
|
+
cardholder_email: T.nilable(String),
|
|
914
|
+
cardholder_name: T.nilable(String),
|
|
829
915
|
category:
|
|
830
916
|
T.nilable(
|
|
831
917
|
Increase::CardPayment::Element::CardAuthentication::Category::TaggedSymbol
|
|
@@ -210,8 +210,17 @@ module Increase
|
|
|
210
210
|
type card_authentication =
|
|
211
211
|
{
|
|
212
212
|
id: String,
|
|
213
|
+
billing_address_city: String?,
|
|
214
|
+
billing_address_country: String?,
|
|
215
|
+
:billing_address_line1 => String?,
|
|
216
|
+
:billing_address_line2 => String?,
|
|
217
|
+
:billing_address_line3 => String?,
|
|
218
|
+
billing_address_postal_code: String?,
|
|
219
|
+
billing_address_state: String?,
|
|
213
220
|
card_id: String,
|
|
214
221
|
card_payment_id: String,
|
|
222
|
+
cardholder_email: String?,
|
|
223
|
+
cardholder_name: String?,
|
|
215
224
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
216
225
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
217
226
|
created_at: Time,
|
|
@@ -231,10 +240,28 @@ module Increase
|
|
|
231
240
|
class CardAuthentication < Increase::Internal::Type::BaseModel
|
|
232
241
|
attr_accessor id: String
|
|
233
242
|
|
|
243
|
+
attr_accessor billing_address_city: String?
|
|
244
|
+
|
|
245
|
+
attr_accessor billing_address_country: String?
|
|
246
|
+
|
|
247
|
+
attr_accessor billing_address_line1: String?
|
|
248
|
+
|
|
249
|
+
attr_accessor billing_address_line2: String?
|
|
250
|
+
|
|
251
|
+
attr_accessor billing_address_line3: String?
|
|
252
|
+
|
|
253
|
+
attr_accessor billing_address_postal_code: String?
|
|
254
|
+
|
|
255
|
+
attr_accessor billing_address_state: String?
|
|
256
|
+
|
|
234
257
|
attr_accessor card_id: String
|
|
235
258
|
|
|
236
259
|
attr_accessor card_payment_id: String
|
|
237
260
|
|
|
261
|
+
attr_accessor cardholder_email: String?
|
|
262
|
+
|
|
263
|
+
attr_accessor cardholder_name: String?
|
|
264
|
+
|
|
238
265
|
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::category?
|
|
239
266
|
|
|
240
267
|
attr_accessor challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?
|
|
@@ -265,8 +292,17 @@ module Increase
|
|
|
265
292
|
|
|
266
293
|
def initialize: (
|
|
267
294
|
id: String,
|
|
295
|
+
billing_address_city: String?,
|
|
296
|
+
billing_address_country: String?,
|
|
297
|
+
billing_address_line1: String?,
|
|
298
|
+
billing_address_line2: String?,
|
|
299
|
+
billing_address_line3: String?,
|
|
300
|
+
billing_address_postal_code: String?,
|
|
301
|
+
billing_address_state: String?,
|
|
268
302
|
card_id: String,
|
|
269
303
|
card_payment_id: String,
|
|
304
|
+
cardholder_email: String?,
|
|
305
|
+
cardholder_name: String?,
|
|
270
306
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
271
307
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
272
308
|
created_at: Time,
|
|
@@ -285,8 +321,17 @@ module Increase
|
|
|
285
321
|
|
|
286
322
|
def to_hash: -> {
|
|
287
323
|
id: String,
|
|
324
|
+
billing_address_city: String?,
|
|
325
|
+
billing_address_country: String?,
|
|
326
|
+
:billing_address_line1 => String?,
|
|
327
|
+
:billing_address_line2 => String?,
|
|
328
|
+
:billing_address_line3 => String?,
|
|
329
|
+
billing_address_postal_code: String?,
|
|
330
|
+
billing_address_state: String?,
|
|
288
331
|
card_id: String,
|
|
289
332
|
card_payment_id: String,
|
|
333
|
+
cardholder_email: String?,
|
|
334
|
+
cardholder_name: String?,
|
|
290
335
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
291
336
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
292
337
|
created_at: Time,
|