Update generated code for v1446

This commit is contained in:
Stripe OpenAPI 2025-01-14 20:50:46 +00:00
parent 39283a358d
commit f21e023bb2
3 changed files with 21 additions and 1 deletions

View File

@ -1 +1 @@
v1444
v1446

View File

@ -273,6 +273,13 @@ module Stripe
attr_reader :tax_ids
end
class Discount < Stripe::StripeObject
# Coupon attached to the Checkout Session.
attr_reader :coupon
# Promotion code attached to the Checkout Session.
attr_reader :promotion_code
end
class InvoiceCreation < Stripe::StripeObject
class InvoiceData < Stripe::StripeObject
class CustomField < Stripe::StripeObject
@ -3600,6 +3607,8 @@ module Stripe
# on file. To access information about the customer once the payment flow is
# complete, use the `customer` attribute.
attr_reader :customer_email
# List of coupons and promotion codes attached to the Checkout Session.
attr_reader :discounts
# The timestamp at which the Checkout Session will expire.
attr_reader :expires_at
# Unique identifier for the object.

View File

@ -330,6 +330,14 @@ module Stripe
sig { returns(T.nilable(T::Array[TaxId])) }
attr_reader :tax_ids
end
class Discount < Stripe::StripeObject
# Coupon attached to the Checkout Session.
sig { returns(T.nilable(T.any(String, Stripe::Coupon))) }
attr_reader :coupon
# Promotion code attached to the Checkout Session.
sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) }
attr_reader :promotion_code
end
class InvoiceCreation < Stripe::StripeObject
class InvoiceData < Stripe::StripeObject
class CustomField < Stripe::StripeObject
@ -1335,6 +1343,9 @@ module Stripe
# complete, use the `customer` attribute.
sig { returns(T.nilable(String)) }
attr_reader :customer_email
# List of coupons and promotion codes attached to the Checkout Session.
sig { returns(T.nilable(T::Array[Discount])) }
attr_reader :discounts
# The timestamp at which the Checkout Session will expire.
sig { returns(Integer) }
attr_reader :expires_at