mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-03 00:01:19 -05:00
Update generated code for v1446
This commit is contained in:
parent
39283a358d
commit
f21e023bb2
@ -1 +1 @@
|
|||||||
v1444
|
v1446
|
||||||
@ -273,6 +273,13 @@ module Stripe
|
|||||||
attr_reader :tax_ids
|
attr_reader :tax_ids
|
||||||
end
|
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 InvoiceCreation < Stripe::StripeObject
|
||||||
class InvoiceData < Stripe::StripeObject
|
class InvoiceData < Stripe::StripeObject
|
||||||
class CustomField < 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
|
# on file. To access information about the customer once the payment flow is
|
||||||
# complete, use the `customer` attribute.
|
# complete, use the `customer` attribute.
|
||||||
attr_reader :customer_email
|
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.
|
# The timestamp at which the Checkout Session will expire.
|
||||||
attr_reader :expires_at
|
attr_reader :expires_at
|
||||||
# Unique identifier for the object.
|
# Unique identifier for the object.
|
||||||
|
|||||||
@ -330,6 +330,14 @@ module Stripe
|
|||||||
sig { returns(T.nilable(T::Array[TaxId])) }
|
sig { returns(T.nilable(T::Array[TaxId])) }
|
||||||
attr_reader :tax_ids
|
attr_reader :tax_ids
|
||||||
end
|
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 InvoiceCreation < Stripe::StripeObject
|
||||||
class InvoiceData < Stripe::StripeObject
|
class InvoiceData < Stripe::StripeObject
|
||||||
class CustomField < Stripe::StripeObject
|
class CustomField < Stripe::StripeObject
|
||||||
@ -1335,6 +1343,9 @@ module Stripe
|
|||||||
# complete, use the `customer` attribute.
|
# complete, use the `customer` attribute.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
attr_reader :customer_email
|
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.
|
# The timestamp at which the Checkout Session will expire.
|
||||||
sig { returns(Integer) }
|
sig { returns(Integer) }
|
||||||
attr_reader :expires_at
|
attr_reader :expires_at
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user