-
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.
* Update generated code for v657 * Update generated code for v658 * Update generated code for v660 * Update generated code for v661 * Update generated code for v662 * Update generated code for v666 * Update generated code for v668 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
- Loading branch information
1 parent
17a88be
commit 7650ee6
Showing
13 changed files
with
168 additions
and
7 deletions.
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 @@ | ||
v655 | ||
v668 |
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
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
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
48 changes: 48 additions & 0 deletions
48
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,48 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
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; } | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Entities/Issuing/Transactions/TransactionNetworkData.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,16 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Issuing | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class TransactionNetworkData : StripeEntity<TransactionNetworkData> | ||
{ | ||
/// <summary> | ||
/// The date the transaction was processed by the card network. This can be different from | ||
/// the date the seller recorded the transaction depending on when the acquirer submits the | ||
/// transaction to the network. | ||
/// </summary> | ||
[JsonProperty("processing_date")] | ||
public string ProcessingDate { get; set; } | ||
} | ||
} |
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
20 changes: 20 additions & 0 deletions
20
src/Stripe.net/Services/Accounts/AccountSettingsBacsDebitPaymentsOptions.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,20 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSettingsBacsDebitPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct | ||
/// Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps | ||
/// display it as the name of the business. To use custom branding, set the Bacs Direct | ||
/// Debit Display Name during or right after creation. Custom branding incurs an additional | ||
/// monthly fee for the platform. If you don't set the display name before requesting Bacs | ||
/// capability, it's automatically set as "Stripe" and the account is onboarded to Stripe | ||
/// branding, which is free. | ||
/// </summary> | ||
[JsonProperty("display_name")] | ||
public string DisplayName { get; set; } | ||
} | ||
} |
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
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
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
27 changes: 27 additions & 0 deletions
27
src/Stripe.net/Services/CreditNotes/CreditNoteLineTaxAmountOptions.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,27 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class CreditNoteLineTaxAmountOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The amount, in cents (or local equivalent), of the tax. | ||
/// </summary> | ||
[JsonProperty("amount")] | ||
public long? Amount { get; set; } | ||
|
||
/// <summary> | ||
/// The id of the tax rate for this tax amount. The tax rate must have been automatically | ||
/// created by Stripe. | ||
/// </summary> | ||
[JsonProperty("tax_rate")] | ||
public string TaxRate { get; set; } | ||
|
||
/// <summary> | ||
/// The amount on which tax is calculated, in cents (or local equivalent). | ||
/// </summary> | ||
[JsonProperty("taxable_amount")] | ||
public long? TaxableAmount { get; set; } | ||
} | ||
} |