-
Notifications
You must be signed in to change notification settings - Fork 572
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 v1441 * Update generated code for v1455 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: helenye-stripe <[email protected]>
- Loading branch information
1 parent
b263a39
commit 589ee82
Showing
96 changed files
with
1,290 additions
and
78 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 @@ | ||
v1412 | ||
v1455 |
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
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsFinancialAccount.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,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsFinancialAccount : StripeEntity<AccountSessionComponentsFinancialAccount> | ||
{ | ||
/// <summary> | ||
/// Whether the embedded component is enabled. | ||
/// </summary> | ||
[JsonProperty("enabled")] | ||
public bool Enabled { get; set; } | ||
|
||
[JsonProperty("features")] | ||
public AccountSessionComponentsFinancialAccountFeatures Features { get; set; } | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsFinancialAccountFeatures.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,36 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsFinancialAccountFeatures : StripeEntity<AccountSessionComponentsFinancialAccountFeatures> | ||
{ | ||
/// <summary> | ||
/// Disables Stripe user authentication for this embedded component. This value can only be | ||
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>. | ||
/// The default value is the opposite of the <c>external_account_collection</c> value. For | ||
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and | ||
/// <c>disable_stripe_user_authentication</c> defaults to false. | ||
/// </summary> | ||
[JsonProperty("disable_stripe_user_authentication")] | ||
public bool DisableStripeUserAuthentication { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow external accounts to be linked for money transfer. | ||
/// </summary> | ||
[JsonProperty("external_account_collection")] | ||
public bool ExternalAccountCollection { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow sending money. | ||
/// </summary> | ||
[JsonProperty("send_money")] | ||
public bool SendMoney { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow transferring balance. | ||
/// </summary> | ||
[JsonProperty("transfer_balance")] | ||
public bool TransferBalance { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ripe.net/Entities/AccountSessions/AccountSessionComponentsFinancialAccountTransactions.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,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsFinancialAccountTransactions : StripeEntity<AccountSessionComponentsFinancialAccountTransactions> | ||
{ | ||
/// <summary> | ||
/// Whether the embedded component is enabled. | ||
/// </summary> | ||
[JsonProperty("enabled")] | ||
public bool Enabled { get; set; } | ||
|
||
[JsonProperty("features")] | ||
public AccountSessionComponentsFinancialAccountTransactionsFeatures Features { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
.../Entities/AccountSessions/AccountSessionComponentsFinancialAccountTransactionsFeatures.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,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsFinancialAccountTransactionsFeatures : StripeEntity<AccountSessionComponentsFinancialAccountTransactionsFeatures> | ||
{ | ||
/// <summary> | ||
/// Whether to allow card spend dispute management features. | ||
/// </summary> | ||
[JsonProperty("card_spend_dispute_management")] | ||
public bool CardSpendDisputeManagement { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsIssuingCard.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,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsIssuingCard : StripeEntity<AccountSessionComponentsIssuingCard> | ||
{ | ||
/// <summary> | ||
/// Whether the embedded component is enabled. | ||
/// </summary> | ||
[JsonProperty("enabled")] | ||
public bool Enabled { get; set; } | ||
|
||
[JsonProperty("features")] | ||
public AccountSessionComponentsIssuingCardFeatures Features { get; set; } | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsIssuingCardFeatures.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,32 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsIssuingCardFeatures : StripeEntity<AccountSessionComponentsIssuingCardFeatures> | ||
{ | ||
/// <summary> | ||
/// Whether to allow card management features. | ||
/// </summary> | ||
[JsonProperty("card_management")] | ||
public bool CardManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow card spend dispute management features. | ||
/// </summary> | ||
[JsonProperty("card_spend_dispute_management")] | ||
public bool CardSpendDisputeManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow cardholder management features. | ||
/// </summary> | ||
[JsonProperty("cardholder_management")] | ||
public bool CardholderManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow spend control management features. | ||
/// </summary> | ||
[JsonProperty("spend_control_management")] | ||
public bool SpendControlManagement { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsIssuingCardsList.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,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsIssuingCardsList : StripeEntity<AccountSessionComponentsIssuingCardsList> | ||
{ | ||
/// <summary> | ||
/// Whether the embedded component is enabled. | ||
/// </summary> | ||
[JsonProperty("enabled")] | ||
public bool Enabled { get; set; } | ||
|
||
[JsonProperty("features")] | ||
public AccountSessionComponentsIssuingCardsListFeatures Features { get; set; } | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsIssuingCardsListFeatures.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,40 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSessionComponentsIssuingCardsListFeatures : StripeEntity<AccountSessionComponentsIssuingCardsListFeatures> | ||
{ | ||
/// <summary> | ||
/// Whether to allow card management features. | ||
/// </summary> | ||
[JsonProperty("card_management")] | ||
public bool CardManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow card spend dispute management features. | ||
/// </summary> | ||
[JsonProperty("card_spend_dispute_management")] | ||
public bool CardSpendDisputeManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow cardholder management features. | ||
/// </summary> | ||
[JsonProperty("cardholder_management")] | ||
public bool CardholderManagement { get; set; } | ||
|
||
/// <summary> | ||
/// Disables Stripe user authentication for this embedded component. This feature can only | ||
/// be false for accounts where you’re responsible for collecting updated information when | ||
/// requirements are due or change, like custom accounts. | ||
/// </summary> | ||
[JsonProperty("disable_stripe_user_authentication")] | ||
public bool DisableStripeUserAuthentication { get; set; } | ||
|
||
/// <summary> | ||
/// Whether to allow spend control management features. | ||
/// </summary> | ||
[JsonProperty("spend_control_management")] | ||
public bool SpendControlManagement { 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
30 changes: 30 additions & 0 deletions
30
src/Stripe.net/Entities/Accounts/AccountCompanyDirectorshipDeclaration.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,30 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using System; | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class AccountCompanyDirectorshipDeclaration : StripeEntity<AccountCompanyDirectorshipDeclaration> | ||
{ | ||
/// <summary> | ||
/// The Unix timestamp marking when the directorship declaration attestation was made. | ||
/// </summary> | ||
[JsonProperty("date")] | ||
[JsonConverter(typeof(UnixDateTimeConverter))] | ||
public DateTime? Date { get; set; } | ||
|
||
/// <summary> | ||
/// The IP address from which the directorship declaration attestation was made. | ||
/// </summary> | ||
[JsonProperty("ip")] | ||
public string Ip { get; set; } | ||
|
||
/// <summary> | ||
/// The user-agent string from the browser where the directorship declaration attestation | ||
/// was made. | ||
/// </summary> | ||
[JsonProperty("user_agent")] | ||
public string UserAgent { 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
7 changes: 7 additions & 0 deletions
7
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPayByBank.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,7 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
public class ChargePaymentMethodDetailsPayByBank : StripeEntity<ChargePaymentMethodDetailsPayByBank> | ||
{ | ||
} | ||
} |
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
Oops, something went wrong.