-
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.
- Loading branch information
1 parent
3851e9e
commit eb21e06
Showing
13 changed files
with
229 additions
and
3 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 @@ | ||
v1413 | ||
v1414 |
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
29 changes: 29 additions & 0 deletions
29
...sury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDetailsFinancialAccount.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,29 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Treasury | ||
{ | ||
using Newtonsoft.Json; | ||
#if NET6_0_OR_GREATER | ||
using STJS = System.Text.Json.Serialization; | ||
#endif | ||
|
||
public class OutboundTransferDestinationPaymentMethodDetailsFinancialAccount : StripeEntity<OutboundTransferDestinationPaymentMethodDetailsFinancialAccount>, IHasId | ||
{ | ||
/// <summary> | ||
/// Token of the FinancialAccount. | ||
/// </summary> | ||
[JsonProperty("id")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("id")] | ||
#endif | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// The rails used to send funds. | ||
/// </summary> | ||
[JsonProperty("network")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("network")] | ||
#endif | ||
public string Network { 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
21 changes: 21 additions & 0 deletions
21
src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountCloseOptions.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,21 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Treasury | ||
{ | ||
using Newtonsoft.Json; | ||
#if NET6_0_OR_GREATER | ||
using STJS = System.Text.Json.Serialization; | ||
#endif | ||
|
||
public class FinancialAccountCloseOptions : BaseOptions | ||
{ | ||
/// <summary> | ||
/// A different bank account where funds can be deposited/debited in order to get the | ||
/// closing FA's balance to $0. | ||
/// </summary> | ||
[JsonProperty("forwarding_settings")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("forwarding_settings")] | ||
#endif | ||
public FinancialAccountForwardingSettingsOptions ForwardingSettings { 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
40 changes: 40 additions & 0 deletions
40
...ripe.net/Services/Treasury/FinancialAccounts/FinancialAccountForwardingSettingsOptions.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.Treasury | ||
{ | ||
using Newtonsoft.Json; | ||
#if NET6_0_OR_GREATER | ||
using STJS = System.Text.Json.Serialization; | ||
#endif | ||
|
||
public class FinancialAccountForwardingSettingsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The financial_account id. | ||
/// </summary> | ||
[JsonProperty("financial_account")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("financial_account")] | ||
#endif | ||
public string FinancialAccount { get; set; } | ||
|
||
/// <summary> | ||
/// The payment_method or bank account id. This needs to be a verified bank account. | ||
/// </summary> | ||
[JsonProperty("payment_method")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("payment_method")] | ||
#endif | ||
public string PaymentMethod { get; set; } | ||
|
||
/// <summary> | ||
/// The type of the bank account provided. This can be either "financial_account" or | ||
/// "payment_method". | ||
/// One of: <c>financial_account</c>, or <c>payment_method</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("type")] | ||
#endif | ||
public string Type { 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
30 changes: 30 additions & 0 deletions
30
...ervices/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDataOptions.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.Treasury | ||
{ | ||
using Newtonsoft.Json; | ||
#if NET6_0_OR_GREATER | ||
using STJS = System.Text.Json.Serialization; | ||
#endif | ||
|
||
public class OutboundTransferDestinationPaymentMethodDataOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Required if type is set to <c>financial_account</c>. The FinancialAccount ID to send | ||
/// funds to. | ||
/// </summary> | ||
[JsonProperty("financial_account")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("financial_account")] | ||
#endif | ||
public string FinancialAccount { get; set; } | ||
|
||
/// <summary> | ||
/// The type of the destination. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("type")] | ||
#endif | ||
public string Type { 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