-
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.
- Loading branch information
1 parent
d2df796
commit 4b96cc4
Showing
8 changed files
with
102 additions
and
1 deletion.
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 @@ | ||
v692 | ||
v694 |
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
11 changes: 11 additions & 0 deletions
11
src/Stripe.net/Entities/PaymentLinks/PaymentLinkRestrictions.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,11 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkRestrictions : StripeEntity<PaymentLinkRestrictions> | ||
{ | ||
[JsonProperty("completed_sessions")] | ||
public PaymentLinkRestrictionsCompletedSessions CompletedSessions { get; set; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/Stripe.net/Entities/PaymentLinks/PaymentLinkRestrictionsCompletedSessions.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,22 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkRestrictionsCompletedSessions : StripeEntity<PaymentLinkRestrictionsCompletedSessions> | ||
{ | ||
/// <summary> | ||
/// The current number of checkout sessions that have been completed on the payment link | ||
/// which count towards the <c>completed_sessions</c> restriction to be met. | ||
/// </summary> | ||
[JsonProperty("count")] | ||
public long Count { get; set; } | ||
|
||
/// <summary> | ||
/// The maximum number of checkout sessions that can be completed for the | ||
/// <c>completed_sessions</c> restriction to be met. | ||
/// </summary> | ||
[JsonProperty("limit")] | ||
public long Limit { 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
15 changes: 15 additions & 0 deletions
15
src/Stripe.net/Services/PaymentLinks/PaymentLinkRestrictionsCompletedSessionsOptions.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,15 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkRestrictionsCompletedSessionsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The maximum number of checkout sessions that can be completed for the | ||
/// <c>completed_sessions</c> restriction to be met. | ||
/// </summary> | ||
[JsonProperty("limit")] | ||
public long? Limit { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Stripe.net/Services/PaymentLinks/PaymentLinkRestrictionsOptions.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 PaymentLinkRestrictionsOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Configuration for the <c>completed_sessions</c> restriction type. | ||
/// </summary> | ||
[JsonProperty("completed_sessions")] | ||
public PaymentLinkRestrictionsCompletedSessionsOptions CompletedSessions { 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