Skip to content

Commit d3c6479

Browse files
Update generated code for v1483
1 parent 00b7716 commit d3c6479

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1481
1+
v1483

lib/stripe/resources/payment_intent.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,11 +1865,11 @@ class Address < Stripe::StripeObject
18651865
end
18661866

18671867
class TransferData < Stripe::StripeObject
1868-
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1868+
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
1869+
# The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
1870+
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
18691871
attr_reader :amount
1870-
# The account (if any) that the payment is attributed to for tax
1871-
# reporting, and where funds from the payment are transferred to after
1872-
# payment success.
1872+
# The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
18731873
attr_reader :destination
18741874
end
18751875

rbi/stripe/resources/payment_intent.rbi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,12 +2316,12 @@ module Stripe
23162316
attr_reader :tracking_number
23172317
end
23182318
class TransferData < Stripe::StripeObject
2319-
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
2319+
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
2320+
# The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
2321+
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
23202322
sig { returns(Integer) }
23212323
attr_reader :amount
2322-
# The account (if any) that the payment is attributed to for tax
2323-
# reporting, and where funds from the payment are transferred to after
2324-
# payment success.
2324+
# The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
23252325
sig { returns(T.any(String, Stripe::Account)) }
23262326
attr_reader :destination
23272327
end

0 commit comments

Comments
 (0)