-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into sdk-release/next-major
- Loading branch information
Showing
31 changed files
with
597 additions
and
9 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 @@ | ||
v932 | ||
v938 |
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 @@ | ||
43.22.0 | ||
43.23.0 |
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
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 AccountControllerFees : StripeEntity<AccountControllerFees> | ||
{ | ||
/// <summary> | ||
/// A value indicating the responsible payer of a bundle of Stripe fees for pricing-control | ||
/// eligible products on this account. | ||
/// One of: <c>account</c>, <c>application</c>, <c>application_custom</c>, or | ||
/// <c>application_express</c>. | ||
/// </summary> | ||
[JsonProperty("payer")] | ||
public string Payer { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Entities/Accounts/AccountControllerLosses.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 AccountControllerLosses : StripeEntity<AccountControllerLosses> | ||
{ | ||
/// <summary> | ||
/// A value indicating who is liable when this account can't pay back negative balances from | ||
/// payments. | ||
/// One of: <c>application</c>, or <c>stripe</c>. | ||
/// </summary> | ||
[JsonProperty("payments")] | ||
public string Payments { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Entities/Accounts/AccountControllerStripeDashboard.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 AccountControllerStripeDashboard : StripeEntity<AccountControllerStripeDashboard> | ||
{ | ||
/// <summary> | ||
/// A value indicating the Stripe dashboard this account has access to independent of the | ||
/// Connect application. | ||
/// One of: <c>express</c>, <c>full</c>, or <c>none</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
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
14 changes: 14 additions & 0 deletions
14
src/Stripe.net/Entities/Billing/MeterEventAdjustments/MeterEventAdjustmentCancel.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.Billing | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class MeterEventAdjustmentCancel : StripeEntity<MeterEventAdjustmentCancel> | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the event. | ||
/// </summary> | ||
[JsonProperty("identifier")] | ||
public string Identifier { get; set; } | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.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,42 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Entitlements | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// An active entitlement describes access to a feature for a customer. | ||
/// </summary> | ||
public class ActiveEntitlement : StripeEntity<ActiveEntitlement>, IHasId, IHasObject | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the object. | ||
/// </summary> | ||
[JsonProperty("id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// String representing the object's type. Objects of the same type share the same value. | ||
/// </summary> | ||
[JsonProperty("object")] | ||
public string Object { get; set; } | ||
|
||
/// <summary> | ||
/// The feature that the customer is entitled to. | ||
/// </summary> | ||
[JsonProperty("feature")] | ||
public string Feature { get; set; } | ||
|
||
/// <summary> | ||
/// Has the value <c>true</c> if the object exists in live mode or the value <c>false</c> if | ||
/// the object exists in test mode. | ||
/// </summary> | ||
[JsonProperty("livemode")] | ||
public bool Livemode { get; set; } | ||
|
||
/// <summary> | ||
/// A unique key you provide as your own system identifier. This may be up to 80 characters. | ||
/// </summary> | ||
[JsonProperty("lookup_key")] | ||
public string LookupKey { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Entitlements | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// A feature represents a monetizable ability or functionality in your system. Features can | ||
/// be assigned to products, and when those products are purchased, Stripe will create an | ||
/// entitlement to the feature for the purchasing customer. | ||
/// </summary> | ||
public class Feature : StripeEntity<Feature>, IHasId, IHasMetadata, IHasObject | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the object. | ||
/// </summary> | ||
[JsonProperty("id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// String representing the object's type. Objects of the same type share the same value. | ||
/// </summary> | ||
[JsonProperty("object")] | ||
public string Object { get; set; } | ||
|
||
/// <summary> | ||
/// Inactive features cannot be attached to new products and will not be returned from the | ||
/// features list endpoint. | ||
/// </summary> | ||
[JsonProperty("active")] | ||
public bool Active { get; set; } | ||
|
||
/// <summary> | ||
/// Has the value <c>true</c> if the object exists in live mode or the value <c>false</c> if | ||
/// the object exists in test mode. | ||
/// </summary> | ||
[JsonProperty("livemode")] | ||
public bool Livemode { get; set; } | ||
|
||
/// <summary> | ||
/// A unique key you provide as your own system identifier. This may be up to 80 characters. | ||
/// </summary> | ||
[JsonProperty("lookup_key")] | ||
public string LookupKey { get; set; } | ||
|
||
/// <summary> | ||
/// Set of key-value pairs that you can attach to an object. This can be useful for storing | ||
/// additional information about the object in a structured format. | ||
/// </summary> | ||
[JsonProperty("metadata")] | ||
public Dictionary<string, string> Metadata { get; set; } | ||
|
||
/// <summary> | ||
/// The feature's name, for your own purpose, not meant to be displayable to the customer. | ||
/// </summary> | ||
[JsonProperty("name")] | ||
public string Name { 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/AccountControllerFeesOptions.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 AccountControllerFeesOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// A value indicating the responsible payer of Stripe fees on this account. Defaults to | ||
/// <c>account</c>. | ||
/// One of: <c>account</c>, or <c>application</c>. | ||
/// </summary> | ||
[JsonProperty("payer")] | ||
public string Payer { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Services/Accounts/AccountControllerLossesOptions.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 AccountControllerLossesOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// A value indicating who is liable when this account can't pay back negative balances | ||
/// resulting from payments. Defaults to <c>stripe</c>. | ||
/// One of: <c>application</c>, or <c>stripe</c>. | ||
/// </summary> | ||
[JsonProperty("payments")] | ||
public string Payments { get; set; } | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/Stripe.net/Services/Accounts/AccountControllerOptions.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,35 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountControllerOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// A hash of configuration for who pays Stripe fees for product usage on this account. | ||
/// </summary> | ||
[JsonProperty("fees")] | ||
public AccountControllerFeesOptions Fees { get; set; } | ||
|
||
/// <summary> | ||
/// A hash of configuration for products that have negative balance liability, and whether | ||
/// Stripe or a Connect application is responsible for them. | ||
/// </summary> | ||
[JsonProperty("losses")] | ||
public AccountControllerLossesOptions Losses { get; set; } | ||
|
||
/// <summary> | ||
/// A value indicating responsibility for collecting updated information when requirements | ||
/// on the account are due or change. Defaults to <c>stripe</c>. | ||
/// One of: <c>application</c>, or <c>stripe</c>. | ||
/// </summary> | ||
[JsonProperty("requirement_collection")] | ||
public string RequirementCollection { get; set; } | ||
|
||
/// <summary> | ||
/// A hash of configuration for Stripe-hosted dashboards. | ||
/// </summary> | ||
[JsonProperty("stripe_dashboard")] | ||
public AccountControllerStripeDashboardOptions StripeDashboard { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Services/Accounts/AccountControllerStripeDashboardOptions.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 AccountControllerStripeDashboardOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Whether this account should have access to the full Stripe Dashboard (<c>full</c>), to | ||
/// the Express Dashboard (<c>express</c>), or to no Stripe-hosted dashboard (<c>none</c>). | ||
/// Defaults to <c>full</c>. | ||
/// One of: <c>express</c>, <c>full</c>, or <c>none</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
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
Oops, something went wrong.