From 3ede61b9449deb6b97c6bdaed78a4e30bc327e62 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 19:25:00 +0000 Subject: [PATCH] Update generated code for v1897 and 2025-07-30.preview --- OPENAPI_VERSION | 2 +- lib/stripe/resources/charge.rb | 2 +- rbi/stripe.rbi | 2 +- rbi/stripe/resources/charge.rbi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index a475aac0..06591a0e 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1896 \ No newline at end of file +v1897 \ No newline at end of file diff --git a/lib/stripe/resources/charge.rb b/lib/stripe/resources/charge.rb index ae77a2a1..a94a9576 100644 --- a/lib/stripe/resources/charge.rb +++ b/lib/stripe/resources/charge.rb @@ -96,7 +96,7 @@ module Stripe attr_reader :advice_code # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error. attr_reader :network_advice_code - # For charges declined by the network, a brand specific alphanumeric code which indicates the reason the authorization failed. + # For charges declined by the network, an alphanumeric code which indicates the reason the charge failed. attr_reader :network_decline_code # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement. attr_reader :network_status diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 291c5c93..316e5f04 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -11180,7 +11180,7 @@ module Stripe # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error. sig { returns(T.nilable(String)) } attr_reader :network_advice_code - # For charges declined by the network, a brand specific alphanumeric code which indicates the reason the authorization failed. + # For charges declined by the network, an alphanumeric code which indicates the reason the charge failed. sig { returns(T.nilable(String)) } attr_reader :network_decline_code # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement. diff --git a/rbi/stripe/resources/charge.rbi b/rbi/stripe/resources/charge.rbi index a4628426..59d2394a 100644 --- a/rbi/stripe/resources/charge.rbi +++ b/rbi/stripe/resources/charge.rbi @@ -111,7 +111,7 @@ module Stripe # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error. sig { returns(T.nilable(String)) } attr_reader :network_advice_code - # For charges declined by the network, a brand specific alphanumeric code which indicates the reason the authorization failed. + # For charges declined by the network, an alphanumeric code which indicates the reason the charge failed. sig { returns(T.nilable(String)) } attr_reader :network_decline_code # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.