Skip to content

Commit

Permalink
Add CollectionMethod to InvoiceUpdateOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cjavilla-stripe committed Jul 2, 2019
1 parent 77c7a3c commit 7f04cfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ public class InvoiceUpdateOptions : BaseOptions
[JsonProperty("auto_advance")]
public bool? AutoAdvance { get; set; }

/// <summary>
/// Either <c>charge_automatically</c> or <c>send_invoice</c>. This
/// field can be updated only on <c>draft</c> invoices.
/// </summary>
[JsonProperty("collection_method")]
public string CollectionMethod { get; set; }

/// <summary>
/// A list of up to 4 custom fields to be displayed on the invoice.
/// </summary>
Expand Down

0 comments on commit 7f04cfb

Please sign in to comment.