increase 1.83.0 → 1.85.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a156cc8fb30a1aeb5c705fcf7c2a37b505d99f74ad56f6036be8421d416120b8
4
- data.tar.gz: abc55330390548940b38d83c0dd56923097349efd05b4098adf2fbbb23bcfd8d
3
+ metadata.gz: 445e62a81e2cee0335a1cba6e747282e611861101faade3a6ce9ed6b577726ec
4
+ data.tar.gz: 8ee6a0954552a0f66e358ecbd582475af40083fb7ef810bad7ff48314b4f3075
5
5
  SHA512:
6
- metadata.gz: d7488833178a3f9b4a6928cc08fd62ed7a6de7f72e22317ffb779c4786128564250cab4b3307ce2e95fd92969dc156e8ac9e871ba1b50a54f5f8d84f93a5816b
7
- data.tar.gz: 92c8efabf6627a2c32c6f25ec2084284b4180a44a1b72b645ac2b58c3bc3f6af61a64db1be8608d55c7336d77aaf6a010ce07e6e8d2f4bffb66d7b40c3f25018
6
+ metadata.gz: 31f11519838c613c8d7a7f21ea0cc6bc1013dd75b2e948ca99c8f7665106b88d8cb3cee5ea37686a5f0fa1681cdd4afda9dcc6e1b15993eb911d74da2386a7ca
7
+ data.tar.gz: 41265b62cc991d39d973959e458704c23709699e751f571935817be4668fda0015472b8c9359cc619a4a1ce5617395d00086a6b70e0e753d0653c96ad5b24455
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.85.0 (2025-09-22)
4
+
5
+ Full Changelog: [v1.84.0...v1.85.0](https://github.com/Increase/increase-ruby/compare/v1.84.0...v1.85.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([7d76f12](https://github.com/Increase/increase-ruby/commit/7d76f12be729b9562229b247cbceccbd6cad419e))
10
+
11
+
12
+ ### Chores
13
+
14
+ * improve example values ([e4208d1](https://github.com/Increase/increase-ruby/commit/e4208d1e474193ca1020be6e9cb292cdbb3c0958))
15
+
16
+ ## 1.84.0 (2025-09-19)
17
+
18
+ Full Changelog: [v1.83.0...v1.84.0](https://github.com/Increase/increase-ruby/compare/v1.83.0...v1.84.0)
19
+
20
+ ### Features
21
+
22
+ * **api:** api update ([600d7b0](https://github.com/Increase/increase-ruby/commit/600d7b07ab75fe2ea739860fb6af3749b3268164))
23
+
3
24
  ## 1.83.0 (2025-09-19)
4
25
 
5
26
  Full Changelog: [v1.82.0...v1.83.0](https://github.com/Increase/increase-ruby/compare/v1.82.0...v1.83.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.83.0"
18
+ gem "increase", "~> 1.85.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -53,7 +53,11 @@ module Increase
53
53
  # Some parameter documentations has been truncated, see
54
54
  # {Increase::Models::CardDetailsAPI} for more details.
55
55
  #
56
- # An object containing the sensitive details (card number, CVC, etc) for a Card.
56
+ # An object containing the sensitive details (card number, CVC, PIN, etc) for a
57
+ # Card. These details are not included in the Card object. If you'd prefer to
58
+ # never access these details directly, you can use the
59
+ # [embedded iframe](/documentation/embedded-card-component) to display the
60
+ # information to your users.
57
61
  #
58
62
  # @param card_id [String] The identifier for the Card for which sensitive details have been returned.
59
63
  #
@@ -5617,6 +5617,14 @@ module Increase
5617
5617
  -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails },
5618
5618
  nil?: true
5619
5619
 
5620
+ # @!attribute surcharge
5621
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
5622
+ # is added to to the overall transaction amount (surcharge), and negative if the
5623
+ # surcharge is deducted from the overall transaction amount (discount).
5624
+ #
5625
+ # @return [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil]
5626
+ required :surcharge, -> { Increase::CardPayment::Element::CardSettlement::Surcharge }, nil?: true
5627
+
5620
5628
  # @!attribute transaction_id
5621
5629
  # The identifier of the Transaction associated with this Transaction.
5622
5630
  #
@@ -5630,7 +5638,7 @@ module Increase
5630
5638
  # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type]
5631
5639
  required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type }
5632
5640
 
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:)
5641
+ # @!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:, surcharge:, transaction_id:, type:)
5634
5642
  # Some parameter documentations has been truncated, see
5635
5643
  # {Increase::Models::CardPayment::Element::CardSettlement} for more details.
5636
5644
  #
@@ -5680,6 +5688,8 @@ module Increase
5680
5688
  #
5681
5689
  # @param purchase_details [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
5682
5690
  #
5691
+ # @param surcharge [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amounts positive if the surcharge i
5692
+ #
5683
5693
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
5684
5694
  #
5685
5695
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type] A constant representing the object's type. For this resource it will always be `
@@ -6861,6 +6871,35 @@ module Increase
6861
6871
  end
6862
6872
  end
6863
6873
 
6874
+ # @see Increase::Models::CardPayment::Element::CardSettlement#surcharge
6875
+ class Surcharge < Increase::Internal::Type::BaseModel
6876
+ # @!attribute amount
6877
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
6878
+ #
6879
+ # @return [Integer]
6880
+ required :amount, Integer
6881
+
6882
+ # @!attribute presentment_amount
6883
+ # The surcharge amount in the minor unit of the transaction's presentment
6884
+ # currency.
6885
+ #
6886
+ # @return [Integer]
6887
+ required :presentment_amount, Integer
6888
+
6889
+ # @!method initialize(amount:, presentment_amount:)
6890
+ # Some parameter documentations has been truncated, see
6891
+ # {Increase::Models::CardPayment::Element::CardSettlement::Surcharge} for more
6892
+ # details.
6893
+ #
6894
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
6895
+ # is added to to the overall transaction amount (surcharge), and negative if the
6896
+ # surcharge is deducted from the overall transaction amount (discount).
6897
+ #
6898
+ # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency.
6899
+ #
6900
+ # @param presentment_amount [Integer] The surcharge amount in the minor unit of the transaction's presentment currency
6901
+ end
6902
+
6864
6903
  # A constant representing the object's type. For this resource it will always be
6865
6904
  # `card_settlement`.
6866
6905
  #
@@ -2863,6 +2863,14 @@ module Increase
2863
2863
  -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails },
2864
2864
  nil?: true
2865
2865
 
2866
+ # @!attribute surcharge
2867
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
2868
+ # is added to to the overall transaction amount (surcharge), and negative if the
2869
+ # surcharge is deducted from the overall transaction amount (discount).
2870
+ #
2871
+ # @return [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil]
2872
+ required :surcharge, -> { Increase::Transaction::Source::CardSettlement::Surcharge }, nil?: true
2873
+
2866
2874
  # @!attribute transaction_id
2867
2875
  # The identifier of the Transaction associated with this Transaction.
2868
2876
  #
@@ -2876,7 +2884,7 @@ module Increase
2876
2884
  # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type]
2877
2885
  required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type }
2878
2886
 
2879
- # @!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:)
2887
+ # @!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:, surcharge:, transaction_id:, type:)
2880
2888
  # Some parameter documentations has been truncated, see
2881
2889
  # {Increase::Models::Transaction::Source::CardSettlement} for more details.
2882
2890
  #
@@ -2926,6 +2934,8 @@ module Increase
2926
2934
  #
2927
2935
  # @param purchase_details [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
2928
2936
  #
2937
+ # @param surcharge [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amounts positive if the surcharge i
2938
+ #
2929
2939
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
2930
2940
  #
2931
2941
  # @param type [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type] A constant representing the object's type. For this resource it will always be `
@@ -4107,6 +4117,35 @@ module Increase
4107
4117
  end
4108
4118
  end
4109
4119
 
4120
+ # @see Increase::Models::Transaction::Source::CardSettlement#surcharge
4121
+ class Surcharge < Increase::Internal::Type::BaseModel
4122
+ # @!attribute amount
4123
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
4124
+ #
4125
+ # @return [Integer]
4126
+ required :amount, Integer
4127
+
4128
+ # @!attribute presentment_amount
4129
+ # The surcharge amount in the minor unit of the transaction's presentment
4130
+ # currency.
4131
+ #
4132
+ # @return [Integer]
4133
+ required :presentment_amount, Integer
4134
+
4135
+ # @!method initialize(amount:, presentment_amount:)
4136
+ # Some parameter documentations has been truncated, see
4137
+ # {Increase::Models::Transaction::Source::CardSettlement::Surcharge} for more
4138
+ # details.
4139
+ #
4140
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
4141
+ # is added to to the overall transaction amount (surcharge), and negative if the
4142
+ # surcharge is deducted from the overall transaction amount (discount).
4143
+ #
4144
+ # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency.
4145
+ #
4146
+ # @param presentment_amount [Integer] The surcharge amount in the minor unit of the transaction's presentment currency
4147
+ end
4148
+
4110
4149
  # A constant representing the object's type. For this resource it will always be
4111
4150
  # `card_settlement`.
4112
4151
  #
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class CardDetails
6
- # Update a Card's Details
6
+ # Update a Card's PIN
7
7
  #
8
8
  # @overload update(card_id, pin:, request_options: {})
9
9
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.83.0"
4
+ VERSION = "1.85.0"
5
5
  end
@@ -39,7 +39,11 @@ module Increase
39
39
  sig { returns(String) }
40
40
  attr_accessor :verification_code
41
41
 
42
- # An object containing the sensitive details (card number, CVC, etc) for a Card.
42
+ # An object containing the sensitive details (card number, CVC, PIN, etc) for a
43
+ # Card. These details are not included in the Card object. If you'd prefer to
44
+ # never access these details directly, you can use the
45
+ # [embedded iframe](/documentation/embedded-card-component) to display the
46
+ # information to your users.
43
47
  sig do
44
48
  params(
45
49
  card_id: String,
@@ -10347,6 +10347,28 @@ module Increase
10347
10347
  end
10348
10348
  attr_writer :purchase_details
10349
10349
 
10350
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
10351
+ # is added to to the overall transaction amount (surcharge), and negative if the
10352
+ # surcharge is deducted from the overall transaction amount (discount).
10353
+ sig do
10354
+ returns(
10355
+ T.nilable(
10356
+ Increase::CardPayment::Element::CardSettlement::Surcharge
10357
+ )
10358
+ )
10359
+ end
10360
+ attr_reader :surcharge
10361
+
10362
+ sig do
10363
+ params(
10364
+ surcharge:
10365
+ T.nilable(
10366
+ Increase::CardPayment::Element::CardSettlement::Surcharge::OrHash
10367
+ )
10368
+ ).void
10369
+ end
10370
+ attr_writer :surcharge
10371
+
10350
10372
  # The identifier of the Transaction associated with this Transaction.
10351
10373
  sig { returns(String) }
10352
10374
  attr_accessor :transaction_id
@@ -10399,6 +10421,10 @@ module Increase
10399
10421
  T.nilable(
10400
10422
  Increase::CardPayment::Element::CardSettlement::PurchaseDetails::OrHash
10401
10423
  ),
10424
+ surcharge:
10425
+ T.nilable(
10426
+ Increase::CardPayment::Element::CardSettlement::Surcharge::OrHash
10427
+ ),
10402
10428
  transaction_id: String,
10403
10429
  type:
10404
10430
  Increase::CardPayment::Element::CardSettlement::Type::OrSymbol
@@ -10452,6 +10478,10 @@ module Increase
10452
10478
  # Additional details about the card purchase, such as tax and industry-specific
10453
10479
  # fields.
10454
10480
  purchase_details:,
10481
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
10482
+ # is added to to the overall transaction amount (surcharge), and negative if the
10483
+ # surcharge is deducted from the overall transaction amount (discount).
10484
+ surcharge:,
10455
10485
  # The identifier of the Transaction associated with this Transaction.
10456
10486
  transaction_id:,
10457
10487
  # A constant representing the object's type. For this resource it will always be
@@ -10495,6 +10525,10 @@ module Increase
10495
10525
  T.nilable(
10496
10526
  Increase::CardPayment::Element::CardSettlement::PurchaseDetails
10497
10527
  ),
10528
+ surcharge:
10529
+ T.nilable(
10530
+ Increase::CardPayment::Element::CardSettlement::Surcharge
10531
+ ),
10498
10532
  transaction_id: String,
10499
10533
  type:
10500
10534
  Increase::CardPayment::Element::CardSettlement::Type::TaggedSymbol
@@ -12645,6 +12679,48 @@ module Increase
12645
12679
  end
12646
12680
  end
12647
12681
 
12682
+ class Surcharge < Increase::Internal::Type::BaseModel
12683
+ OrHash =
12684
+ T.type_alias do
12685
+ T.any(
12686
+ Increase::CardPayment::Element::CardSettlement::Surcharge,
12687
+ Increase::Internal::AnyHash
12688
+ )
12689
+ end
12690
+
12691
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
12692
+ sig { returns(Integer) }
12693
+ attr_accessor :amount
12694
+
12695
+ # The surcharge amount in the minor unit of the transaction's presentment
12696
+ # currency.
12697
+ sig { returns(Integer) }
12698
+ attr_accessor :presentment_amount
12699
+
12700
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
12701
+ # is added to to the overall transaction amount (surcharge), and negative if the
12702
+ # surcharge is deducted from the overall transaction amount (discount).
12703
+ sig do
12704
+ params(amount: Integer, presentment_amount: Integer).returns(
12705
+ T.attached_class
12706
+ )
12707
+ end
12708
+ def self.new(
12709
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
12710
+ amount:,
12711
+ # The surcharge amount in the minor unit of the transaction's presentment
12712
+ # currency.
12713
+ presentment_amount:
12714
+ )
12715
+ end
12716
+
12717
+ sig do
12718
+ override.returns({ amount: Integer, presentment_amount: Integer })
12719
+ end
12720
+ def to_hash
12721
+ end
12722
+ end
12723
+
12648
12724
  # A constant representing the object's type. For this resource it will always be
12649
12725
  # `card_settlement`.
12650
12726
  module Type
@@ -5350,6 +5350,28 @@ module Increase
5350
5350
  end
5351
5351
  attr_writer :purchase_details
5352
5352
 
5353
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
5354
+ # is added to to the overall transaction amount (surcharge), and negative if the
5355
+ # surcharge is deducted from the overall transaction amount (discount).
5356
+ sig do
5357
+ returns(
5358
+ T.nilable(
5359
+ Increase::Transaction::Source::CardSettlement::Surcharge
5360
+ )
5361
+ )
5362
+ end
5363
+ attr_reader :surcharge
5364
+
5365
+ sig do
5366
+ params(
5367
+ surcharge:
5368
+ T.nilable(
5369
+ Increase::Transaction::Source::CardSettlement::Surcharge::OrHash
5370
+ )
5371
+ ).void
5372
+ end
5373
+ attr_writer :surcharge
5374
+
5353
5375
  # The identifier of the Transaction associated with this Transaction.
5354
5376
  sig { returns(String) }
5355
5377
  attr_accessor :transaction_id
@@ -5402,6 +5424,10 @@ module Increase
5402
5424
  T.nilable(
5403
5425
  Increase::Transaction::Source::CardSettlement::PurchaseDetails::OrHash
5404
5426
  ),
5427
+ surcharge:
5428
+ T.nilable(
5429
+ Increase::Transaction::Source::CardSettlement::Surcharge::OrHash
5430
+ ),
5405
5431
  transaction_id: String,
5406
5432
  type:
5407
5433
  Increase::Transaction::Source::CardSettlement::Type::OrSymbol
@@ -5455,6 +5481,10 @@ module Increase
5455
5481
  # Additional details about the card purchase, such as tax and industry-specific
5456
5482
  # fields.
5457
5483
  purchase_details:,
5484
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
5485
+ # is added to to the overall transaction amount (surcharge), and negative if the
5486
+ # surcharge is deducted from the overall transaction amount (discount).
5487
+ surcharge:,
5458
5488
  # The identifier of the Transaction associated with this Transaction.
5459
5489
  transaction_id:,
5460
5490
  # A constant representing the object's type. For this resource it will always be
@@ -5498,6 +5528,10 @@ module Increase
5498
5528
  T.nilable(
5499
5529
  Increase::Transaction::Source::CardSettlement::PurchaseDetails
5500
5530
  ),
5531
+ surcharge:
5532
+ T.nilable(
5533
+ Increase::Transaction::Source::CardSettlement::Surcharge
5534
+ ),
5501
5535
  transaction_id: String,
5502
5536
  type:
5503
5537
  Increase::Transaction::Source::CardSettlement::Type::TaggedSymbol
@@ -7648,6 +7682,48 @@ module Increase
7648
7682
  end
7649
7683
  end
7650
7684
 
7685
+ class Surcharge < Increase::Internal::Type::BaseModel
7686
+ OrHash =
7687
+ T.type_alias do
7688
+ T.any(
7689
+ Increase::Transaction::Source::CardSettlement::Surcharge,
7690
+ Increase::Internal::AnyHash
7691
+ )
7692
+ end
7693
+
7694
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
7695
+ sig { returns(Integer) }
7696
+ attr_accessor :amount
7697
+
7698
+ # The surcharge amount in the minor unit of the transaction's presentment
7699
+ # currency.
7700
+ sig { returns(Integer) }
7701
+ attr_accessor :presentment_amount
7702
+
7703
+ # Surcharge amount details, if applicable. The amounts positive if the surcharge
7704
+ # is added to to the overall transaction amount (surcharge), and negative if the
7705
+ # surcharge is deducted from the overall transaction amount (discount).
7706
+ sig do
7707
+ params(amount: Integer, presentment_amount: Integer).returns(
7708
+ T.attached_class
7709
+ )
7710
+ end
7711
+ def self.new(
7712
+ # The surcharge amount in the minor unit of the transaction's settlement currency.
7713
+ amount:,
7714
+ # The surcharge amount in the minor unit of the transaction's presentment
7715
+ # currency.
7716
+ presentment_amount:
7717
+ )
7718
+ end
7719
+
7720
+ sig do
7721
+ override.returns({ amount: Integer, presentment_amount: Integer })
7722
+ end
7723
+ def to_hash
7724
+ end
7725
+ end
7726
+
7651
7727
  # A constant representing the object's type. For this resource it will always be
7652
7728
  # `card_settlement`.
7653
7729
  module Type
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class CardDetails
6
- # Update a Card's Details
6
+ # Update a Card's PIN
7
7
  sig do
8
8
  params(
9
9
  card_id: String,
@@ -3900,6 +3900,7 @@ module Increase
3900
3900
  presentment_amount: Integer,
3901
3901
  presentment_currency: String,
3902
3902
  purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?,
3903
+ surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?,
3903
3904
  transaction_id: String,
3904
3905
  type: Increase::Models::CardPayment::Element::CardSettlement::type_
3905
3906
  }
@@ -3945,6 +3946,8 @@ module Increase
3945
3946
 
3946
3947
  attr_accessor purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?
3947
3948
 
3949
+ attr_accessor surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?
3950
+
3948
3951
  attr_accessor transaction_id: String
3949
3952
 
3950
3953
  attr_accessor type: Increase::Models::CardPayment::Element::CardSettlement::type_
@@ -3970,6 +3973,7 @@ module Increase
3970
3973
  presentment_amount: Integer,
3971
3974
  presentment_currency: String,
3972
3975
  purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?,
3976
+ surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?,
3973
3977
  transaction_id: String,
3974
3978
  type: Increase::Models::CardPayment::Element::CardSettlement::type_
3975
3979
  ) -> void
@@ -3995,6 +3999,7 @@ module Increase
3995
3999
  presentment_amount: Integer,
3996
4000
  presentment_currency: String,
3997
4001
  purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?,
4002
+ surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?,
3998
4003
  transaction_id: String,
3999
4004
  type: Increase::Models::CardPayment::Element::CardSettlement::type_
4000
4005
  }
@@ -4919,6 +4924,21 @@ module Increase
4919
4924
  end
4920
4925
  end
4921
4926
 
4927
+ type surcharge = { amount: Integer, presentment_amount: Integer }
4928
+
4929
+ class Surcharge < Increase::Internal::Type::BaseModel
4930
+ attr_accessor amount: Integer
4931
+
4932
+ attr_accessor presentment_amount: Integer
4933
+
4934
+ def initialize: (
4935
+ amount: Integer,
4936
+ presentment_amount: Integer
4937
+ ) -> void
4938
+
4939
+ def to_hash: -> { amount: Integer, presentment_amount: Integer }
4940
+ end
4941
+
4922
4942
  type type_ = :card_settlement
4923
4943
 
4924
4944
  module Type
@@ -2023,6 +2023,7 @@ module Increase
2023
2023
  presentment_amount: Integer,
2024
2024
  presentment_currency: String,
2025
2025
  purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?,
2026
+ surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?,
2026
2027
  transaction_id: String,
2027
2028
  type: Increase::Models::Transaction::Source::CardSettlement::type_
2028
2029
  }
@@ -2068,6 +2069,8 @@ module Increase
2068
2069
 
2069
2070
  attr_accessor purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?
2070
2071
 
2072
+ attr_accessor surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?
2073
+
2071
2074
  attr_accessor transaction_id: String
2072
2075
 
2073
2076
  attr_accessor type: Increase::Models::Transaction::Source::CardSettlement::type_
@@ -2093,6 +2096,7 @@ module Increase
2093
2096
  presentment_amount: Integer,
2094
2097
  presentment_currency: String,
2095
2098
  purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?,
2099
+ surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?,
2096
2100
  transaction_id: String,
2097
2101
  type: Increase::Models::Transaction::Source::CardSettlement::type_
2098
2102
  ) -> void
@@ -2118,6 +2122,7 @@ module Increase
2118
2122
  presentment_amount: Integer,
2119
2123
  presentment_currency: String,
2120
2124
  purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?,
2125
+ surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?,
2121
2126
  transaction_id: String,
2122
2127
  type: Increase::Models::Transaction::Source::CardSettlement::type_
2123
2128
  }
@@ -3042,6 +3047,21 @@ module Increase
3042
3047
  end
3043
3048
  end
3044
3049
 
3050
+ type surcharge = { amount: Integer, presentment_amount: Integer }
3051
+
3052
+ class Surcharge < Increase::Internal::Type::BaseModel
3053
+ attr_accessor amount: Integer
3054
+
3055
+ attr_accessor presentment_amount: Integer
3056
+
3057
+ def initialize: (
3058
+ amount: Integer,
3059
+ presentment_amount: Integer
3060
+ ) -> void
3061
+
3062
+ def to_hash: -> { amount: Integer, presentment_amount: Integer }
3063
+ end
3064
+
3045
3065
  type type_ = :card_settlement
3046
3066
 
3047
3067
  module Type
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-19 00:00:00.000000000 Z
11
+ date: 2025-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool