Skip to content

Commit 691ed77

Browse files
Update generated code (#2952)
* Update generated code for v1232 * Update generated code for v1233 * Update generated code for v1235 * Update generated code for v1238 * Update generated code for v1243 * Update generated code for v1244 * Update generated code for v1245 * Update generated code for v1246 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <[email protected]>
1 parent fb41cbf commit 691ed77

File tree

8 files changed

+29
-11
lines changed

8 files changed

+29
-11
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1230
1+
v1246

src/Stripe.net/Entities/Checkout/Sessions/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public PaymentLink PaymentLink
404404

405405
/// <summary>
406406
/// This parameter applies to <c>ui_mode: embedded</c>. Learn more about the <a
407-
/// href="https://stripe.com/docs/payments/checkout/custom-redirect-behavior">redirect
407+
/// href="https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form">redirect
408408
/// behavior</a> of embedded sessions. Defaults to <c>always</c>.
409409
/// One of: <c>always</c>, <c>if_required</c>, or <c>never</c>.
410410
/// </summary>

src/Stripe.net/Entities/Transfers/Transfer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ public Charge DestinationPayment
195195

196196
/// <summary>
197197
/// (ID of the Charge)
198-
/// ID of the charge or payment that was used to fund the transfer. If null, the transfer
199-
/// was funded from the available balance.
198+
/// ID of the charge that was used to fund the transfer. If null, the transfer was funded
199+
/// from the available balance.
200200
/// </summary>
201201
[JsonIgnore]
202202
public string SourceTransactionId
@@ -207,8 +207,8 @@ public string SourceTransactionId
207207

208208
/// <summary>
209209
/// (Expanded)
210-
/// ID of the charge or payment that was used to fund the transfer. If null, the transfer
211-
/// was funded from the available balance.
210+
/// ID of the charge that was used to fund the transfer. If null, the transfer was funded
211+
/// from the available balance.
212212
///
213213
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
214214
/// </summary>

src/Stripe.net/Services/Billing/Alerts/AlertFilterOptions.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,17 @@ public class AlertFilterOptions : INestedOptions
1010
/// </summary>
1111
[JsonProperty("customer")]
1212
public string Customer { get; set; }
13+
14+
/// <summary>
15+
/// Limit the scope of this rated usage alert to this subscription.
16+
/// </summary>
17+
[JsonProperty("subscription")]
18+
public string Subscription { get; set; }
19+
20+
/// <summary>
21+
/// Limit the scope of this rated usage alert to this subscription item.
22+
/// </summary>
23+
[JsonProperty("subscription_item")]
24+
public string SubscriptionItem { get; set; }
1325
}
1426
}

src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata
291291

292292
/// <summary>
293293
/// This parameter applies to <c>ui_mode: embedded</c>. Learn more about the <a
294-
/// href="https://stripe.com/docs/payments/checkout/custom-redirect-behavior">redirect
294+
/// href="https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form">redirect
295295
/// behavior</a> of embedded sessions. Defaults to <c>always</c>.
296296
/// One of: <c>always</c>, <c>if_required</c>, or <c>never</c>.
297297
/// </summary>

src/Stripe.net/Services/Invoices/InvoiceCreatePreviewOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class InvoiceCreatePreviewOptions : BaseOptions
5353
public List<InvoiceDiscountOptions> Discounts { get; set; }
5454

5555
/// <summary>
56-
/// List of invoice items to add or update in the upcoming invoice preview.
56+
/// List of invoice items to add or update in the upcoming invoice preview (up to 250).
5757
/// </summary>
5858
[JsonProperty("invoice_items")]
5959
public List<InvoiceUpcomingInvoiceItemOptions> InvoiceItems { get; set; }

src/Stripe.net/Services/Invoices/UpcomingInvoiceListLineItemsOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class UpcomingInvoiceListLineItemsOptions : ListOptions
5555
public List<InvoiceDiscountOptions> Discounts { get; set; }
5656

5757
/// <summary>
58-
/// List of invoice items to add or update in the upcoming invoice preview.
58+
/// List of invoice items to add or update in the upcoming invoice preview (up to 250).
5959
/// </summary>
6060
[JsonProperty("invoice_items")]
6161
public List<InvoiceUpcomingInvoiceItemOptions> InvoiceItems { get; set; }

src/Stripe.net/Services/PaymentIntents/PaymentIntentService.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ public virtual Task<PaymentIntent> CaptureAsync(string id, PaymentIntentCaptureO
134134
/// all payment attempts must be initiated using a secret key. If any actions are required
135135
/// for the payment, the PaymentIntent will return to the <c>requires_confirmation</c> state
136136
/// after those actions are completed. Your server needs to then explicitly re-confirm the
137-
/// PaymentIntent to initiate the next payment attempt.</p>.
137+
/// PaymentIntent to initiate the next payment attempt. There is a variable upper limit on
138+
/// how many times a PaymentIntent can be confirmed. After this limit is reached, any
139+
/// further calls to this endpoint will transition the PaymentIntent to the <c>canceled</c>
140+
/// state.</p>.
138141
/// </summary>
139142
public virtual PaymentIntent Confirm(string id, PaymentIntentConfirmOptions options = null, RequestOptions requestOptions = null)
140143
{
@@ -160,7 +163,10 @@ public virtual PaymentIntent Confirm(string id, PaymentIntentConfirmOptions opti
160163
/// all payment attempts must be initiated using a secret key. If any actions are required
161164
/// for the payment, the PaymentIntent will return to the <c>requires_confirmation</c> state
162165
/// after those actions are completed. Your server needs to then explicitly re-confirm the
163-
/// PaymentIntent to initiate the next payment attempt.</p>.
166+
/// PaymentIntent to initiate the next payment attempt. There is a variable upper limit on
167+
/// how many times a PaymentIntent can be confirmed. After this limit is reached, any
168+
/// further calls to this endpoint will transition the PaymentIntent to the <c>canceled</c>
169+
/// state.</p>.
164170
/// </summary>
165171
public virtual Task<PaymentIntent> ConfirmAsync(string id, PaymentIntentConfirmOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
166172
{

0 commit comments

Comments
 (0)