Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.114.0"
".": "1.115.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 228
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e809e9e4e5bc9c602a2ecebfbdb4a77d6c88c6f70f0b47a7a4d1dd1df4aaa66d.yml
openapi_spec_hash: cb6cb9fa09a8e52f6eb89271b559823d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9848b3b7725425c712a5fba932c836f3210adf21b9b7a232370f13960790158c.yml
openapi_spec_hash: 49090a79a8225d8ad36fe249aac2a12a
config_hash: eb2035151c7b49c2f12caf55469b8f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.115.0 (2025-10-26)

Full Changelog: [v1.114.0...v1.115.0](https://github.com/Increase/increase-ruby/compare/v1.114.0...v1.115.0)

### Features

* **api:** api update ([a6288c7](https://github.com/Increase/increase-ruby/commit/a6288c723f7a36646e399428d4be6b54d30488e8))

## 1.114.0 (2025-10-24)

Full Changelog: [v1.113.0...v1.114.0](https://github.com/Increase/increase-ruby/compare/v1.113.0...v1.114.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.114.0)
increase (1.115.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.114.0"
gem "increase", "~> 1.115.0"
```

<!-- x-release-please-end -->
Expand Down
164 changes: 160 additions & 4 deletions lib/increase/models/card_payment.rb

Large diffs are not rendered by default.

41 changes: 40 additions & 1 deletion lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,14 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental },
nil?: true

# @!attribute original
# The original pre-authorized amount.
#
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original, nil]
required :original,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original },
nil?: true

# @!attribute prescription
# The part of this transaction amount that was for healthcare prescriptions.
#
Expand Down Expand Up @@ -799,7 +807,7 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Vision },
nil?: true

# @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# Some parameter documentations has been truncated, see
# {Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts}
# for more details.
Expand All @@ -812,6 +820,8 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
#
# @param dental [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
#
# @param original [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original, nil] The original pre-authorized amount.
#
# @param prescription [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
#
# @param surcharge [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
Expand Down Expand Up @@ -884,6 +894,35 @@ class Dental < Increase::Internal::Type::BaseModel
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#original
class Original < Increase::Internal::Type::BaseModel
# @!attribute amount
# The amount in minor units of the `currency` field. The amount is positive if it
# is added to the amount (such as an ATM surcharge fee) and negative if it is
# subtracted from the amount (such as a discount).
#
# @return [Integer]
required :amount, Integer

# @!attribute currency
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
# amount's currency.
#
# @return [String]
required :currency, String

# @!method initialize(amount:, currency:)
# Some parameter documentations has been truncated, see
# {Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original}
# for more details.
#
# The original pre-authorized amount.
#
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
#
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#prescription
class Prescription < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down
43 changes: 42 additions & 1 deletion lib/increase/models/pending_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,16 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
},
nil?: true

# @!attribute original
# The original pre-authorized amount.
#
# @return [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original, nil]
required :original,
-> {
Increase::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original
},
nil?: true

# @!attribute prescription
# The part of this transaction amount that was for healthcare prescriptions.
#
Expand Down Expand Up @@ -837,7 +847,7 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
},
nil?: true

# @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# Some parameter documentations has been truncated, see
# {Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts}
# for more details.
Expand All @@ -850,6 +860,8 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
#
# @param dental [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
#
# @param original [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original, nil] The original pre-authorized amount.
#
# @param prescription [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
#
# @param surcharge [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
Expand Down Expand Up @@ -922,6 +934,35 @@ class Dental < Increase::Internal::Type::BaseModel
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#original
class Original < Increase::Internal::Type::BaseModel
# @!attribute amount
# The amount in minor units of the `currency` field. The amount is positive if it
# is added to the amount (such as an ATM surcharge fee) and negative if it is
# subtracted from the amount (such as a discount).
#
# @return [Integer]
required :amount, Integer

# @!attribute currency
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
# amount's currency.
#
# @return [String]
required :currency, String

# @!method initialize(amount:, currency:)
# Some parameter documentations has been truncated, see
# {Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original}
# for more details.
#
# The original pre-authorized amount.
#
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
#
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#prescription
class Prescription < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down
41 changes: 40 additions & 1 deletion lib/increase/models/real_time_decision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,14 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental },
nil?: true

# @!attribute original
# The original pre-authorized amount.
#
# @return [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original, nil]
required :original,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original },
nil?: true

# @!attribute prescription
# The part of this transaction amount that was for healthcare prescriptions.
#
Expand Down Expand Up @@ -558,7 +566,7 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision },
nil?: true

# @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# Some parameter documentations has been truncated, see
# {Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts} for
# more details.
Expand All @@ -571,6 +579,8 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
#
# @param dental [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
#
# @param original [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original, nil] The original pre-authorized amount.
#
# @param prescription [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
#
# @param surcharge [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
Expand Down Expand Up @@ -643,6 +653,35 @@ class Dental < Increase::Internal::Type::BaseModel
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#original
class Original < Increase::Internal::Type::BaseModel
# @!attribute amount
# The amount in minor units of the `currency` field. The amount is positive if it
# is added to the amount (such as an ATM surcharge fee) and negative if it is
# subtracted from the amount (such as a discount).
#
# @return [Integer]
required :amount, Integer

# @!attribute currency
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
# amount's currency.
#
# @return [String]
required :currency, String

# @!method initialize(amount:, currency:)
# Some parameter documentations has been truncated, see
# {Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original}
# for more details.
#
# The original pre-authorized amount.
#
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
#
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#prescription
class Prescription < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down
41 changes: 40 additions & 1 deletion lib/increase/models/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,14 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental },
nil?: true

# @!attribute original
# The original pre-authorized amount.
#
# @return [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original, nil]
required :original,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Original },
nil?: true

# @!attribute prescription
# The part of this transaction amount that was for healthcare prescriptions.
#
Expand Down Expand Up @@ -1623,7 +1631,7 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision },
nil?: true

# @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts} for
# more details.
Expand All @@ -1636,6 +1644,8 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel
#
# @param dental [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
#
# @param original [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original, nil] The original pre-authorized amount.
#
# @param prescription [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
#
# @param surcharge [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
Expand Down Expand Up @@ -1708,6 +1718,35 @@ class Dental < Increase::Internal::Type::BaseModel
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts#original
class Original < Increase::Internal::Type::BaseModel
# @!attribute amount
# The amount in minor units of the `currency` field. The amount is positive if it
# is added to the amount (such as an ATM surcharge fee) and negative if it is
# subtracted from the amount (such as a discount).
#
# @return [Integer]
required :amount, Integer

# @!attribute currency
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
# amount's currency.
#
# @return [String]
required :currency, String

# @!method initialize(amount:, currency:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original}
# for more details.
#
# The original pre-authorized amount.
#
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
#
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
end

# @see Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts#prescription
class Prescription < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.114.0"
VERSION = "1.115.0"
end
Loading