-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2920 from stripe/latest-codegen-beta
Update generated code for beta
- Loading branch information
Showing
23 changed files
with
265 additions
and
22 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
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 @@ | ||
v1058 | ||
v1065 |
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
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/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsTwint.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 PaymentIntentPaymentMethodOptionsTwint : StripeEntity<PaymentIntentPaymentMethodOptionsTwint> | ||
{ | ||
/// <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>. | ||
/// </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
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/Services/Accounts/AccountCapabilitiesGbBankTransferPaymentsOptions.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 | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountCapabilitiesGbBankTransferPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Passing true requests the capability for the account, if it is not already requested. A | ||
/// requested capability may not immediately become active. Any requirements to activate the | ||
/// capability are returned in the <c>requirements</c> arrays. | ||
/// </summary> | ||
[JsonProperty("requested")] | ||
public bool? Requested { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Services/Accounts/AccountCapabilitiesJpBankTransferPaymentsOptions.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 | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountCapabilitiesJpBankTransferPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Passing true requests the capability for the account, if it is not already requested. A | ||
/// requested capability may not immediately become active. Any requirements to activate the | ||
/// capability are returned in the <c>requirements</c> arrays. | ||
/// </summary> | ||
[JsonProperty("requested")] | ||
public bool? Requested { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Services/Accounts/AccountCapabilitiesMxBankTransferPaymentsOptions.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 | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountCapabilitiesMxBankTransferPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Passing true requests the capability for the account, if it is not already requested. A | ||
/// requested capability may not immediately become active. Any requirements to activate the | ||
/// capability are returned in the <c>requirements</c> arrays. | ||
/// </summary> | ||
[JsonProperty("requested")] | ||
public bool? Requested { 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/Services/Accounts/AccountCapabilitiesSepaBankTransferPaymentsOptions.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 | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountCapabilitiesSepaBankTransferPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Passing true requests the capability for the account, if it is not already requested. A | ||
/// requested capability may not immediately become active. Any requirements to activate the | ||
/// capability are returned in the <c>requirements</c> arrays. | ||
/// </summary> | ||
[JsonProperty("requested")] | ||
public bool? Requested { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Services/Accounts/AccountCapabilitiesUsBankTransferPaymentsOptions.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 | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountCapabilitiesUsBankTransferPaymentsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Passing true requests the capability for the account, if it is not already requested. A | ||
/// requested capability may not immediately become active. Any requirements to activate the | ||
/// capability are returned in the <c>requirements</c> arrays. | ||
/// </summary> | ||
[JsonProperty("requested")] | ||
public bool? Requested { 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
Oops, something went wrong.