increase 1.50.0 → 1.51.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 +22 -1
- data/lib/increase/models/transaction.rb +22 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +45 -0
- data/rbi/increase/models/transaction.rbi +45 -0
- data/sig/increase/models/card_payment.rbs +16 -0
- data/sig/increase/models/transaction.rbs +16 -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: 35f15f70c6bee0af29eb8a94dcf44474ce310e27c8c43c25eac1c4eea6b071ed
|
4
|
+
data.tar.gz: 6b0972ebbee0c91913b8e07b5c3092e5b9481b2f974c04f9408e3d50a4b4d70a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d14547292bb14f65b61f88b31a29d02e22872a7f1db050f4af14b5290b3226a70203fabcf5a758b7916fcb2e315f4b5bbd6bdb9461bd0eb0a04a914616bb082f
|
7
|
+
data.tar.gz: '0795c218aefe6869818b24d2d5d782dd7c6dc679ef6c5507e0e586509f9950528b2a6843cc5e097a1414421257cb31b067c79724ec5455cba1814b047340de34'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.51.0 (2025-08-26)
|
4
|
+
|
5
|
+
Full Changelog: [v1.50.0...v1.51.0](https://github.com/Increase/increase-ruby/compare/v1.50.0...v1.51.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([fe80d84](https://github.com/Increase/increase-ruby/commit/fe80d84ae9ab5a11bd2e4cabd44f7cdb79af8e50))
|
10
|
+
|
3
11
|
## 1.50.0 (2025-08-26)
|
4
12
|
|
5
13
|
Full Changelog: [v1.49.0...v1.50.0](https://github.com/Increase/increase-ruby/compare/v1.49.0...v1.50.0)
|
data/README.md
CHANGED
@@ -5577,6 +5577,12 @@ module Increase
|
|
5577
5577
|
# @return [String, nil]
|
5578
5578
|
required :merchant_state, String, nil?: true
|
5579
5579
|
|
5580
|
+
# @!attribute network
|
5581
|
+
# The card network on which this transaction was processed.
|
5582
|
+
#
|
5583
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Network]
|
5584
|
+
required :network, enum: -> { Increase::CardPayment::Element::CardSettlement::Network }
|
5585
|
+
|
5580
5586
|
# @!attribute network_identifiers
|
5581
5587
|
# Network-specific identifiers for this refund.
|
5582
5588
|
#
|
@@ -5624,7 +5630,7 @@ module Increase
|
|
5624
5630
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type]
|
5625
5631
|
required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type }
|
5626
5632
|
|
5627
|
-
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
|
5633
|
+
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
|
5628
5634
|
# Some parameter documentations has been truncated, see
|
5629
5635
|
# {Increase::Models::CardPayment::Element::CardSettlement} for more details.
|
5630
5636
|
#
|
@@ -5662,6 +5668,8 @@ module Increase
|
|
5662
5668
|
#
|
5663
5669
|
# @param merchant_state [String, nil] The state the merchant resides in.
|
5664
5670
|
#
|
5671
|
+
# @param network [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Network] The card network on which this transaction was processed.
|
5672
|
+
#
|
5665
5673
|
# @param network_identifiers [Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund.
|
5666
5674
|
#
|
5667
5675
|
# @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction.
|
@@ -5829,6 +5837,19 @@ module Increase
|
|
5829
5837
|
end
|
5830
5838
|
end
|
5831
5839
|
|
5840
|
+
# The card network on which this transaction was processed.
|
5841
|
+
#
|
5842
|
+
# @see Increase::Models::CardPayment::Element::CardSettlement#network
|
5843
|
+
module Network
|
5844
|
+
extend Increase::Internal::Type::Enum
|
5845
|
+
|
5846
|
+
# Visa
|
5847
|
+
VISA = :visa
|
5848
|
+
|
5849
|
+
# @!method self.values
|
5850
|
+
# @return [Array<Symbol>]
|
5851
|
+
end
|
5852
|
+
|
5832
5853
|
# @see Increase::Models::CardPayment::Element::CardSettlement#network_identifiers
|
5833
5854
|
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
5834
5855
|
# @!attribute acquirer_business_id
|
@@ -2772,6 +2772,12 @@ module Increase
|
|
2772
2772
|
# @return [String, nil]
|
2773
2773
|
required :merchant_state, String, nil?: true
|
2774
2774
|
|
2775
|
+
# @!attribute network
|
2776
|
+
# The card network on which this transaction was processed.
|
2777
|
+
#
|
2778
|
+
# @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Network]
|
2779
|
+
required :network, enum: -> { Increase::Transaction::Source::CardSettlement::Network }
|
2780
|
+
|
2775
2781
|
# @!attribute network_identifiers
|
2776
2782
|
# Network-specific identifiers for this refund.
|
2777
2783
|
#
|
@@ -2819,7 +2825,7 @@ module Increase
|
|
2819
2825
|
# @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type]
|
2820
2826
|
required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type }
|
2821
2827
|
|
2822
|
-
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
|
2828
|
+
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
|
2823
2829
|
# Some parameter documentations has been truncated, see
|
2824
2830
|
# {Increase::Models::Transaction::Source::CardSettlement} for more details.
|
2825
2831
|
#
|
@@ -2857,6 +2863,8 @@ module Increase
|
|
2857
2863
|
#
|
2858
2864
|
# @param merchant_state [String, nil] The state the merchant resides in.
|
2859
2865
|
#
|
2866
|
+
# @param network [Symbol, Increase::Models::Transaction::Source::CardSettlement::Network] The card network on which this transaction was processed.
|
2867
|
+
#
|
2860
2868
|
# @param network_identifiers [Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund.
|
2861
2869
|
#
|
2862
2870
|
# @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction.
|
@@ -3024,6 +3032,19 @@ module Increase
|
|
3024
3032
|
end
|
3025
3033
|
end
|
3026
3034
|
|
3035
|
+
# The card network on which this transaction was processed.
|
3036
|
+
#
|
3037
|
+
# @see Increase::Models::Transaction::Source::CardSettlement#network
|
3038
|
+
module Network
|
3039
|
+
extend Increase::Internal::Type::Enum
|
3040
|
+
|
3041
|
+
# Visa
|
3042
|
+
VISA = :visa
|
3043
|
+
|
3044
|
+
# @!method self.values
|
3045
|
+
# @return [Array<Symbol>]
|
3046
|
+
end
|
3047
|
+
|
3027
3048
|
# @see Increase::Models::Transaction::Source::CardSettlement#network_identifiers
|
3028
3049
|
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
3029
3050
|
# @!attribute acquirer_business_id
|
data/lib/increase/version.rb
CHANGED
@@ -10289,6 +10289,14 @@ module Increase
|
|
10289
10289
|
sig { returns(T.nilable(String)) }
|
10290
10290
|
attr_accessor :merchant_state
|
10291
10291
|
|
10292
|
+
# The card network on which this transaction was processed.
|
10293
|
+
sig do
|
10294
|
+
returns(
|
10295
|
+
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
|
10296
|
+
)
|
10297
|
+
end
|
10298
|
+
attr_accessor :network
|
10299
|
+
|
10292
10300
|
# Network-specific identifiers for this refund.
|
10293
10301
|
sig do
|
10294
10302
|
returns(
|
@@ -10380,6 +10388,8 @@ module Increase
|
|
10380
10388
|
merchant_name: String,
|
10381
10389
|
merchant_postal_code: T.nilable(String),
|
10382
10390
|
merchant_state: T.nilable(String),
|
10391
|
+
network:
|
10392
|
+
Increase::CardPayment::Element::CardSettlement::Network::OrSymbol,
|
10383
10393
|
network_identifiers:
|
10384
10394
|
Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers::OrHash,
|
10385
10395
|
pending_transaction_id: T.nilable(String),
|
@@ -10428,6 +10438,8 @@ module Increase
|
|
10428
10438
|
merchant_postal_code:,
|
10429
10439
|
# The state the merchant resides in.
|
10430
10440
|
merchant_state:,
|
10441
|
+
# The card network on which this transaction was processed.
|
10442
|
+
network:,
|
10431
10443
|
# Network-specific identifiers for this refund.
|
10432
10444
|
network_identifiers:,
|
10433
10445
|
# The identifier of the Pending Transaction associated with this Transaction.
|
@@ -10472,6 +10484,8 @@ module Increase
|
|
10472
10484
|
merchant_name: String,
|
10473
10485
|
merchant_postal_code: T.nilable(String),
|
10474
10486
|
merchant_state: T.nilable(String),
|
10487
|
+
network:
|
10488
|
+
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol,
|
10475
10489
|
network_identifiers:
|
10476
10490
|
Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
|
10477
10491
|
pending_transaction_id: T.nilable(String),
|
@@ -10811,6 +10825,37 @@ module Increase
|
|
10811
10825
|
end
|
10812
10826
|
end
|
10813
10827
|
|
10828
|
+
# The card network on which this transaction was processed.
|
10829
|
+
module Network
|
10830
|
+
extend Increase::Internal::Type::Enum
|
10831
|
+
|
10832
|
+
TaggedSymbol =
|
10833
|
+
T.type_alias do
|
10834
|
+
T.all(
|
10835
|
+
Symbol,
|
10836
|
+
Increase::CardPayment::Element::CardSettlement::Network
|
10837
|
+
)
|
10838
|
+
end
|
10839
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10840
|
+
|
10841
|
+
# Visa
|
10842
|
+
VISA =
|
10843
|
+
T.let(
|
10844
|
+
:visa,
|
10845
|
+
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
|
10846
|
+
)
|
10847
|
+
|
10848
|
+
sig do
|
10849
|
+
override.returns(
|
10850
|
+
T::Array[
|
10851
|
+
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
|
10852
|
+
]
|
10853
|
+
)
|
10854
|
+
end
|
10855
|
+
def self.values
|
10856
|
+
end
|
10857
|
+
end
|
10858
|
+
|
10814
10859
|
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
10815
10860
|
OrHash =
|
10816
10861
|
T.type_alias do
|
@@ -5165,6 +5165,14 @@ module Increase
|
|
5165
5165
|
sig { returns(T.nilable(String)) }
|
5166
5166
|
attr_accessor :merchant_state
|
5167
5167
|
|
5168
|
+
# The card network on which this transaction was processed.
|
5169
|
+
sig do
|
5170
|
+
returns(
|
5171
|
+
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
|
5172
|
+
)
|
5173
|
+
end
|
5174
|
+
attr_accessor :network
|
5175
|
+
|
5168
5176
|
# Network-specific identifiers for this refund.
|
5169
5177
|
sig do
|
5170
5178
|
returns(
|
@@ -5256,6 +5264,8 @@ module Increase
|
|
5256
5264
|
merchant_name: String,
|
5257
5265
|
merchant_postal_code: T.nilable(String),
|
5258
5266
|
merchant_state: T.nilable(String),
|
5267
|
+
network:
|
5268
|
+
Increase::Transaction::Source::CardSettlement::Network::OrSymbol,
|
5259
5269
|
network_identifiers:
|
5260
5270
|
Increase::Transaction::Source::CardSettlement::NetworkIdentifiers::OrHash,
|
5261
5271
|
pending_transaction_id: T.nilable(String),
|
@@ -5304,6 +5314,8 @@ module Increase
|
|
5304
5314
|
merchant_postal_code:,
|
5305
5315
|
# The state the merchant resides in.
|
5306
5316
|
merchant_state:,
|
5317
|
+
# The card network on which this transaction was processed.
|
5318
|
+
network:,
|
5307
5319
|
# Network-specific identifiers for this refund.
|
5308
5320
|
network_identifiers:,
|
5309
5321
|
# The identifier of the Pending Transaction associated with this Transaction.
|
@@ -5348,6 +5360,8 @@ module Increase
|
|
5348
5360
|
merchant_name: String,
|
5349
5361
|
merchant_postal_code: T.nilable(String),
|
5350
5362
|
merchant_state: T.nilable(String),
|
5363
|
+
network:
|
5364
|
+
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol,
|
5351
5365
|
network_identifiers:
|
5352
5366
|
Increase::Transaction::Source::CardSettlement::NetworkIdentifiers,
|
5353
5367
|
pending_transaction_id: T.nilable(String),
|
@@ -5687,6 +5701,37 @@ module Increase
|
|
5687
5701
|
end
|
5688
5702
|
end
|
5689
5703
|
|
5704
|
+
# The card network on which this transaction was processed.
|
5705
|
+
module Network
|
5706
|
+
extend Increase::Internal::Type::Enum
|
5707
|
+
|
5708
|
+
TaggedSymbol =
|
5709
|
+
T.type_alias do
|
5710
|
+
T.all(
|
5711
|
+
Symbol,
|
5712
|
+
Increase::Transaction::Source::CardSettlement::Network
|
5713
|
+
)
|
5714
|
+
end
|
5715
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5716
|
+
|
5717
|
+
# Visa
|
5718
|
+
VISA =
|
5719
|
+
T.let(
|
5720
|
+
:visa,
|
5721
|
+
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
|
5722
|
+
)
|
5723
|
+
|
5724
|
+
sig do
|
5725
|
+
override.returns(
|
5726
|
+
T::Array[
|
5727
|
+
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
|
5728
|
+
]
|
5729
|
+
)
|
5730
|
+
end
|
5731
|
+
def self.values
|
5732
|
+
end
|
5733
|
+
end
|
5734
|
+
|
5690
5735
|
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
5691
5736
|
OrHash =
|
5692
5737
|
T.type_alias do
|
@@ -3894,6 +3894,7 @@ module Increase
|
|
3894
3894
|
merchant_name: String,
|
3895
3895
|
merchant_postal_code: String?,
|
3896
3896
|
merchant_state: String?,
|
3897
|
+
network: Increase::Models::CardPayment::Element::CardSettlement::network,
|
3897
3898
|
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
|
3898
3899
|
pending_transaction_id: String?,
|
3899
3900
|
presentment_amount: Integer,
|
@@ -3932,6 +3933,8 @@ module Increase
|
|
3932
3933
|
|
3933
3934
|
attr_accessor merchant_state: String?
|
3934
3935
|
|
3936
|
+
attr_accessor network: Increase::Models::CardPayment::Element::CardSettlement::network
|
3937
|
+
|
3935
3938
|
attr_accessor network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers
|
3936
3939
|
|
3937
3940
|
attr_accessor pending_transaction_id: String?
|
@@ -3961,6 +3964,7 @@ module Increase
|
|
3961
3964
|
merchant_name: String,
|
3962
3965
|
merchant_postal_code: String?,
|
3963
3966
|
merchant_state: String?,
|
3967
|
+
network: Increase::Models::CardPayment::Element::CardSettlement::network,
|
3964
3968
|
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
|
3965
3969
|
pending_transaction_id: String?,
|
3966
3970
|
presentment_amount: Integer,
|
@@ -3985,6 +3989,7 @@ module Increase
|
|
3985
3989
|
merchant_name: String,
|
3986
3990
|
merchant_postal_code: String?,
|
3987
3991
|
merchant_state: String?,
|
3992
|
+
network: Increase::Models::CardPayment::Element::CardSettlement::network,
|
3988
3993
|
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
|
3989
3994
|
pending_transaction_id: String?,
|
3990
3995
|
presentment_amount: Integer,
|
@@ -4121,6 +4126,17 @@ module Increase
|
|
4121
4126
|
end
|
4122
4127
|
end
|
4123
4128
|
|
4129
|
+
type network = :visa
|
4130
|
+
|
4131
|
+
module Network
|
4132
|
+
extend Increase::Internal::Type::Enum
|
4133
|
+
|
4134
|
+
# Visa
|
4135
|
+
VISA: :visa
|
4136
|
+
|
4137
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::network]
|
4138
|
+
end
|
4139
|
+
|
4124
4140
|
type network_identifiers =
|
4125
4141
|
{
|
4126
4142
|
acquirer_business_id: String,
|
@@ -1999,6 +1999,7 @@ module Increase
|
|
1999
1999
|
merchant_name: String,
|
2000
2000
|
merchant_postal_code: String?,
|
2001
2001
|
merchant_state: String?,
|
2002
|
+
network: Increase::Models::Transaction::Source::CardSettlement::network,
|
2002
2003
|
network_identifiers: Increase::Transaction::Source::CardSettlement::NetworkIdentifiers,
|
2003
2004
|
pending_transaction_id: String?,
|
2004
2005
|
presentment_amount: Integer,
|
@@ -2037,6 +2038,8 @@ module Increase
|
|
2037
2038
|
|
2038
2039
|
attr_accessor merchant_state: String?
|
2039
2040
|
|
2041
|
+
attr_accessor network: Increase::Models::Transaction::Source::CardSettlement::network
|
2042
|
+
|
2040
2043
|
attr_accessor network_identifiers: Increase::Transaction::Source::CardSettlement::NetworkIdentifiers
|
2041
2044
|
|
2042
2045
|
attr_accessor pending_transaction_id: String?
|
@@ -2066,6 +2069,7 @@ module Increase
|
|
2066
2069
|
merchant_name: String,
|
2067
2070
|
merchant_postal_code: String?,
|
2068
2071
|
merchant_state: String?,
|
2072
|
+
network: Increase::Models::Transaction::Source::CardSettlement::network,
|
2069
2073
|
network_identifiers: Increase::Transaction::Source::CardSettlement::NetworkIdentifiers,
|
2070
2074
|
pending_transaction_id: String?,
|
2071
2075
|
presentment_amount: Integer,
|
@@ -2090,6 +2094,7 @@ module Increase
|
|
2090
2094
|
merchant_name: String,
|
2091
2095
|
merchant_postal_code: String?,
|
2092
2096
|
merchant_state: String?,
|
2097
|
+
network: Increase::Models::Transaction::Source::CardSettlement::network,
|
2093
2098
|
network_identifiers: Increase::Transaction::Source::CardSettlement::NetworkIdentifiers,
|
2094
2099
|
pending_transaction_id: String?,
|
2095
2100
|
presentment_amount: Integer,
|
@@ -2226,6 +2231,17 @@ module Increase
|
|
2226
2231
|
end
|
2227
2232
|
end
|
2228
2233
|
|
2234
|
+
type network = :visa
|
2235
|
+
|
2236
|
+
module Network
|
2237
|
+
extend Increase::Internal::Type::Enum
|
2238
|
+
|
2239
|
+
# Visa
|
2240
|
+
VISA: :visa
|
2241
|
+
|
2242
|
+
def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::network]
|
2243
|
+
end
|
2244
|
+
|
2229
2245
|
type network_identifiers =
|
2230
2246
|
{
|
2231
2247
|
acquirer_business_id: String,
|