increase 1.221.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +64 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +70 -0
- data/sig/increase/models/card_payment.rbs +35 -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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 1.221.0 (2026-03-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.220.0...v1.221.0](https://github.com/Increase/increase-ruby/compare/v1.220.0...v1.221.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
|
#
|
|
@@ -444,7 +493,7 @@ module Increase
|
|
|
444
493
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type]
|
|
445
494
|
required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type }
|
|
446
495
|
|
|
447
|
-
# @!method initialize(id:, 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:)
|
|
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:)
|
|
448
497
|
# Some parameter documentations has been truncated, see
|
|
449
498
|
# {Increase::Models::CardPayment::Element::CardAuthentication} for more details.
|
|
450
499
|
#
|
|
@@ -454,6 +503,20 @@ module Increase
|
|
|
454
503
|
#
|
|
455
504
|
# @param id [String] The Card Authentication identifier.
|
|
456
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
|
+
#
|
|
457
520
|
# @param card_id [String] The identifier of the Card.
|
|
458
521
|
#
|
|
459
522
|
# @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
|
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
|
|
@@ -752,6 +787,13 @@ module Increase
|
|
|
752
787
|
sig do
|
|
753
788
|
params(
|
|
754
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),
|
|
755
797
|
card_id: String,
|
|
756
798
|
card_payment_id: String,
|
|
757
799
|
cardholder_email: T.nilable(String),
|
|
@@ -789,6 +831,27 @@ module Increase
|
|
|
789
831
|
def self.new(
|
|
790
832
|
# The Card Authentication identifier.
|
|
791
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:,
|
|
792
855
|
# The identifier of the Card.
|
|
793
856
|
card_id:,
|
|
794
857
|
# The ID of the Card Payment this transaction belongs to.
|
|
@@ -838,6 +901,13 @@ module Increase
|
|
|
838
901
|
override.returns(
|
|
839
902
|
{
|
|
840
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),
|
|
841
911
|
card_id: String,
|
|
842
912
|
card_payment_id: String,
|
|
843
913
|
cardholder_email: T.nilable(String),
|
|
@@ -210,6 +210,13 @@ 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,
|
|
215
222
|
cardholder_email: String?,
|
|
@@ -233,6 +240,20 @@ module Increase
|
|
|
233
240
|
class CardAuthentication < Increase::Internal::Type::BaseModel
|
|
234
241
|
attr_accessor id: String
|
|
235
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
|
+
|
|
236
257
|
attr_accessor card_id: String
|
|
237
258
|
|
|
238
259
|
attr_accessor card_payment_id: String
|
|
@@ -271,6 +292,13 @@ module Increase
|
|
|
271
292
|
|
|
272
293
|
def initialize: (
|
|
273
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?,
|
|
274
302
|
card_id: String,
|
|
275
303
|
card_payment_id: String,
|
|
276
304
|
cardholder_email: String?,
|
|
@@ -293,6 +321,13 @@ module Increase
|
|
|
293
321
|
|
|
294
322
|
def to_hash: -> {
|
|
295
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?,
|
|
296
331
|
card_id: String,
|
|
297
332
|
card_payment_id: String,
|
|
298
333
|
cardholder_email: String?,
|