Skip to content

Commit

Permalink
Unified Proration is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
cjavilla-stripe committed Jun 27, 2019
1 parent 94929e3 commit 5130043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Subscription Subscription
/// <c>false</c> if not.
/// </summary>
[JsonProperty("unified_proration")]
public bool UnifiedProration { get; set; }
public bool? UnifiedProration { get; set; }

[JsonProperty("unit_amount")]
public long? UnitAmount { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Invoices/InvoiceLineItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ public class InvoiceLineItem : StripeEntity<InvoiceLineItem>, IHasId, IHasMetada
/// <c>false</c> if not.
/// </summary>
[JsonProperty("unified_proration")]
public bool UnifiedProration { get; set; }
public bool? UnifiedProration { get; set; }
}
}

0 comments on commit 5130043

Please sign in to comment.