-
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.
Add support for new properties on upcoming invoice retrieval
- Loading branch information
1 parent
fbe6e07
commit c8b8282
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/Stripe.net/Services/Invoices/InvoiceItemPeriodOptions.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,20 @@ | ||
namespace Stripe | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
public class InvoiceItemPeriodOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The end of the period, which must be greater than or equal to the start. | ||
/// </summary> | ||
[JsonProperty("end")] | ||
public DateTime? End { get; set; } | ||
|
||
/// <summary> | ||
/// he start of the period. | ||
/// </summary> | ||
[JsonProperty("start")] | ||
public DateTime? Start { 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