Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/V2/Core/Accounts/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Account : StripeEntity<Account>, IHasId, IHasMetadata, IHasObject
/// <summary>
/// Filter only accounts that have all of the configurations specified. If omitted, returns
/// all accounts regardless of which configurations they have.
/// One of: <c>customer</c>, <c>merchant</c>, or <c>recipient</c>.
/// One of: <c>customer</c>, <c>merchant</c>, <c>recipient</c>, or <c>storer</c>.
/// </summary>
[JsonProperty("applied_configurations")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,15 @@ public class AccountConfiguration : StripeEntity<AccountConfiguration>
[STJS.JsonPropertyName("recipient")]
#endif
public AccountConfigurationRecipient Recipient { get; set; }

/// <summary>
/// The Storer Configuration allows the Account to store and move funds using stored-value
/// FinancialAccounts.
/// </summary>
[JsonProperty("storer")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("storer")]
#endif
public AccountConfigurationStorer Storer { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorer : StripeEntity<AccountConfigurationStorer>
{
/// <summary>
/// Capabilities that have been requested on the Storer Configuration.
/// </summary>
[JsonProperty("capabilities")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("capabilities")]
#endif
public AccountConfigurationStorerCapabilities Capabilities { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilities : StripeEntity<AccountConfigurationStorerCapabilities>
{
/// <summary>
/// Can provision a financial address to credit/debit a FinancialAccount.
/// </summary>
[JsonProperty("financial_addresses")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("financial_addresses")]
#endif
public AccountConfigurationStorerCapabilitiesFinancialAddresses FinancialAddresses { get; set; }

/// <summary>
/// Can hold storage-type funds on Stripe.
/// </summary>
[JsonProperty("holds_currencies")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("holds_currencies")]
#endif
public AccountConfigurationStorerCapabilitiesHoldsCurrencies HoldsCurrencies { get; set; }

/// <summary>
/// Can pull funds from an external source, owned by yourself, to a FinancialAccount.
/// </summary>
[JsonProperty("inbound_transfers")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("inbound_transfers")]
#endif
public AccountConfigurationStorerCapabilitiesInboundTransfers InboundTransfers { get; set; }

/// <summary>
/// Can send funds from a FinancialAccount to a destination owned by someone else.
/// </summary>
[JsonProperty("outbound_payments")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("outbound_payments")]
#endif
public AccountConfigurationStorerCapabilitiesOutboundPayments OutboundPayments { get; set; }

/// <summary>
/// Can send funds from a FinancialAccount to a destination owned by yourself.
/// </summary>
[JsonProperty("outbound_transfers")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("outbound_transfers")]
#endif
public AccountConfigurationStorerCapabilitiesOutboundTransfers OutboundTransfers { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesFinancialAddresses : StripeEntity<AccountConfigurationStorerCapabilitiesFinancialAddresses>
{
/// <summary>
/// Can provision a bank-account like financial address (VBAN) to credit/debit a
/// FinancialAccount.
/// </summary>
[JsonProperty("bank_accounts")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("bank_accounts")]
#endif
public AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts BankAccounts { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts : StripeEntity<AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts>
{
/// <summary>
/// Whether the Capability has been requested.
/// </summary>
[JsonProperty("requested")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("requested")]
#endif
public bool Requested { get; set; }

/// <summary>
/// The status of the Capability.
/// One of: <c>active</c>, <c>pending</c>, <c>restricted</c>, or <c>unsupported</c>.
/// </summary>
[JsonProperty("status")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status")]
#endif
public string Status { get; set; }

/// <summary>
/// Additional details regarding the status of the Capability. <c>status_details</c> will be
/// empty if the Capability's status is <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status_details")]
#endif
public List<AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccountsStatusDetail> StatusDetails { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccountsStatusDetail : StripeEntity<AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccountsStatusDetail>
{
/// <summary>
/// Machine-readable code explaining the reason for the Capability to be in its current
/// status.
/// One of: <c>determining_status</c>, <c>requirements_past_due</c>,
/// <c>requirements_pending_verification</c>, <c>restricted_other</c>,
/// <c>unsupported_business</c>, <c>unsupported_country</c>, or
/// <c>unsupported_entity_type</c>.
/// </summary>
[JsonProperty("code")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("code")]
#endif
public string Code { get; set; }

/// <summary>
/// Machine-readable code explaining how to make the Capability active.
/// One of: <c>contact_stripe</c>, <c>no_resolution</c>, or <c>provide_info</c>.
/// </summary>
[JsonProperty("resolution")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("resolution")]
#endif
public string Resolution { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesHoldsCurrencies : StripeEntity<AccountConfigurationStorerCapabilitiesHoldsCurrencies>
{
/// <summary>
/// Can hold storage-type funds on Stripe in GBP.
/// </summary>
[JsonProperty("gbp")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("gbp")]
#endif
public AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp Gbp { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp : StripeEntity<AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp>
{
/// <summary>
/// Whether the Capability has been requested.
/// </summary>
[JsonProperty("requested")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("requested")]
#endif
public bool Requested { get; set; }

/// <summary>
/// The status of the Capability.
/// One of: <c>active</c>, <c>pending</c>, <c>restricted</c>, or <c>unsupported</c>.
/// </summary>
[JsonProperty("status")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status")]
#endif
public string Status { get; set; }

/// <summary>
/// Additional details regarding the status of the Capability. <c>status_details</c> will be
/// empty if the Capability's status is <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status_details")]
#endif
public List<AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbpStatusDetail> StatusDetails { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbpStatusDetail : StripeEntity<AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbpStatusDetail>
{
/// <summary>
/// Machine-readable code explaining the reason for the Capability to be in its current
/// status.
/// One of: <c>determining_status</c>, <c>requirements_past_due</c>,
/// <c>requirements_pending_verification</c>, <c>restricted_other</c>,
/// <c>unsupported_business</c>, <c>unsupported_country</c>, or
/// <c>unsupported_entity_type</c>.
/// </summary>
[JsonProperty("code")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("code")]
#endif
public string Code { get; set; }

/// <summary>
/// Machine-readable code explaining how to make the Capability active.
/// One of: <c>contact_stripe</c>, <c>no_resolution</c>, or <c>provide_info</c>.
/// </summary>
[JsonProperty("resolution")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("resolution")]
#endif
public string Resolution { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesInboundTransfers : StripeEntity<AccountConfigurationStorerCapabilitiesInboundTransfers>
{
/// <summary>
/// Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
/// </summary>
[JsonProperty("bank_accounts")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("bank_accounts")]
#endif
public AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts BankAccounts { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts : StripeEntity<AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts>
{
/// <summary>
/// Whether the Capability has been requested.
/// </summary>
[JsonProperty("requested")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("requested")]
#endif
public bool Requested { get; set; }

/// <summary>
/// The status of the Capability.
/// One of: <c>active</c>, <c>pending</c>, <c>restricted</c>, or <c>unsupported</c>.
/// </summary>
[JsonProperty("status")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status")]
#endif
public string Status { get; set; }

/// <summary>
/// Additional details regarding the status of the Capability. <c>status_details</c> will be
/// empty if the Capability's status is <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status_details")]
#endif
public List<AccountConfigurationStorerCapabilitiesInboundTransfersBankAccountsStatusDetail> StatusDetails { get; set; }
}
}
Loading
Loading