-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a848f89
commit 224f166
Showing
3 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v656 | ||
v657 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsPaypal.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
public class SessionPaymentMethodOptionsPaypal : StripeEntity<SessionPaymentMethodOptionsPaypal> | ||
{ | ||
/// <summary> | ||
/// Controls when the funds will be captured from the customer's account. | ||
/// </summary> | ||
[JsonProperty("capture_method")] | ||
public string CaptureMethod { get; set; } | ||
|
||
/// <summary> | ||
/// Preferred locale of the PayPal checkout page that the customer is redirected to. | ||
/// </summary> | ||
[JsonProperty("preferred_locale")] | ||
public string PreferredLocale { get; set; } | ||
|
||
/// <summary> | ||
/// A reference of the PayPal transaction visible to customer which is mapped to PayPal's | ||
/// invoice ID. This must be a globally unique ID if you have configured in your PayPal | ||
/// settings to block multiple payments per invoice ID. | ||
/// </summary> | ||
[JsonProperty("reference")] | ||
public string Reference { get; set; } | ||
|
||
/// <summary> | ||
/// Indicates that you intend to make future payments with this PaymentIntent's payment | ||
/// method. | ||
/// | ||
/// Providing this parameter will <a | ||
/// href="https://stripe.com/docs/payments/save-during-payment">attach the payment | ||
/// method</a> to the PaymentIntent's Customer, if present, after the PaymentIntent is | ||
/// confirmed and any required actions from the user are complete. If no Customer was | ||
/// provided, the payment method can still be <a | ||
/// href="https://stripe.com/docs/api/payment_methods/attach">attached</a> to a Customer | ||
/// after the transaction completes. | ||
/// | ||
/// When processing card payments, Stripe also uses <c>setup_future_usage</c> to dynamically | ||
/// optimize your payment flow and comply with regional legislation and network rules, such | ||
/// as <a href="https://stripe.com/docs/strong-customer-authentication">SCA</a>. | ||
/// One of: <c>none</c>, or <c>off_session</c>. | ||
/// </summary> | ||
[JsonProperty("setup_future_usage")] | ||
public string SetupFutureUsage { get; set; } | ||
|
||
/// <summary> | ||
/// The Stripe connected account IDs of the sellers on the platform for this transaction | ||
/// (optional). Only allowed when <a | ||
/// href="https://stripe.com/docs/connect/separate-charges-and-transfers">separate charges | ||
/// and transfers</a> are used. | ||
/// </summary> | ||
[JsonProperty("subsellers")] | ||
public List<string> Subsellers { get; set; } | ||
} | ||
} |