Update generated code for v1645

This commit is contained in:
Stripe OpenAPI 2025-04-01 19:18:22 +00:00
parent b961ef839d
commit 6894285055
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
v1643
v1645

View File

@ -178,7 +178,7 @@ module Stripe
attr_reader :currency
# Coupons defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
attr_reader :currency_options
# One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount.
# One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.
attr_reader :duration
# If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.
attr_reader :duration_in_months

View File

@ -25373,7 +25373,7 @@ module Stripe
# Coupons defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
sig { returns(T::Hash[String, CurrencyOptions]) }
attr_reader :currency_options
# One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount.
# One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.
sig { returns(String) }
attr_reader :duration
# If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.

View File

@ -32,7 +32,7 @@ module Stripe
# Coupons defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
sig { returns(T::Hash[String, CurrencyOptions]) }
attr_reader :currency_options
# One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount.
# One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.
sig { returns(String) }
attr_reader :duration
# If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.