diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4ad3fef3..d661066e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.18.0" + ".": "0.18.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index d092e24a..e05fda1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-47e9f78d22682623e313f1689f5fa7e3420575ff285a14a2f4704c49ffb6b72e.yml -openapi_spec_hash: 4797fe46d942cb32e648a79015783d01 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-d83e3ddb148bc0c81ff97bd31b82027d5b37efc110f5981103e7b9a2ae281c86.yml +openapi_spec_hash: f607b0571c4ed82a93a3df7bc9e9351b config_hash: 5bb913c05ebeb301ec925b16e75bb251 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1288b916..c63147cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.18.1 (2026-06-25) + +Full Changelog: [v0.18.0...v0.18.1](https://github.com/lithic-com/lithic-ruby/compare/v0.18.0...v0.18.1) + +### Documentation + +* **types:** update cash_amount field description in CardAuthorization ([1385cde](https://github.com/lithic-com/lithic-ruby/commit/1385cde62aca3c83a7525150b535decc016c8ed4)) + ## 0.18.0 (2026-06-23) Full Changelog: [v0.17.0...v0.18.0](https://github.com/lithic-com/lithic-ruby/compare/v0.17.0...v0.18.0) diff --git a/Gemfile.lock b/Gemfile.lock index 3afffbfd..a7cb7ed6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - lithic (0.18.0) + lithic (0.18.1) cgi connection_pool diff --git a/README.md b/README.md index 45f01c1f..6589f4f8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "lithic", "~> 0.18.0" +gem "lithic", "~> 0.18.1" ``` diff --git a/lib/lithic/models/card_authorization.rb b/lib/lithic/models/card_authorization.rb index b77e9ec0..d2f3855a 100644 --- a/lib/lithic/models/card_authorization.rb +++ b/lib/lithic/models/card_authorization.rb @@ -68,12 +68,13 @@ class CardAuthorization < Lithic::Internal::Type::BaseModel required :cardholder_currency, String # @!attribute cash_amount - # The portion of the transaction requested as cash back by the cardholder, and - # does not include any acquirer fees. The amount field includes the purchase - # amount, the requested cash back amount, and any acquirer fees. + # The amount of cash requested by the cardholder, in the cardholder billing + # currency's smallest unit. For purchase-with-cashback transactions this is the + # cashback portion only; for ATM transactions this is the full amount. This amount + # includes all acquirer fees. # - # If no cash back was requested, the value of this field will be 0, and the field - # will always be present. + # If no cash was requested, the value of this field will be 0, and the field will + # always be present. # # @return [Integer] required :cash_amount, Integer @@ -263,7 +264,7 @@ class CardAuthorization < Lithic::Internal::Type::BaseModel # # @param cardholder_currency [String] Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's # - # @param cash_amount [Integer] The portion of the transaction requested as cash back by the cardholder, and doe + # @param cash_amount [Integer] The amount of cash requested by the cardholder, in the cardholder billing curren # # @param created [Time] Date and time when the transaction first occurred in UTC. # diff --git a/lib/lithic/version.rb b/lib/lithic/version.rb index fc3aad92..ce2aa0c5 100644 --- a/lib/lithic/version.rb +++ b/lib/lithic/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Lithic - VERSION = "0.18.0" + VERSION = "0.18.1" end diff --git a/rbi/lithic/models/card_authorization.rbi b/rbi/lithic/models/card_authorization.rbi index f068d17e..70034e96 100644 --- a/rbi/lithic/models/card_authorization.rbi +++ b/rbi/lithic/models/card_authorization.rbi @@ -59,12 +59,13 @@ module Lithic sig { returns(String) } attr_accessor :cardholder_currency - # The portion of the transaction requested as cash back by the cardholder, and - # does not include any acquirer fees. The amount field includes the purchase - # amount, the requested cash back amount, and any acquirer fees. + # The amount of cash requested by the cardholder, in the cardholder billing + # currency's smallest unit. For purchase-with-cashback transactions this is the + # cashback portion only; for ATM transactions this is the full amount. This amount + # includes all acquirer fees. # - # If no cash back was requested, the value of this field will be 0, and the field - # will always be present. + # If no cash was requested, the value of this field will be 0, and the field will + # always be present. sig { returns(Integer) } attr_accessor :cash_amount @@ -328,12 +329,13 @@ module Lithic # Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's # billing currency. cardholder_currency:, - # The portion of the transaction requested as cash back by the cardholder, and - # does not include any acquirer fees. The amount field includes the purchase - # amount, the requested cash back amount, and any acquirer fees. + # The amount of cash requested by the cardholder, in the cardholder billing + # currency's smallest unit. For purchase-with-cashback transactions this is the + # cashback portion only; for ATM transactions this is the full amount. This amount + # includes all acquirer fees. # - # If no cash back was requested, the value of this field will be 0, and the field - # will always be present. + # If no cash was requested, the value of this field will be 0, and the field will + # always be present. cash_amount:, # Date and time when the transaction first occurred in UTC. created:,