From 7f04cfb55efe6b7e44faa11b82d97481bb6c52fd Mon Sep 17 00:00:00 2001 From: CJ Avilla Date: Fri, 28 Jun 2019 08:36:20 -0700 Subject: [PATCH] Add CollectionMethod to InvoiceUpdateOptions --- src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs index 48badaef57..da932d5530 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs @@ -19,6 +19,13 @@ public class InvoiceUpdateOptions : BaseOptions [JsonProperty("auto_advance")] public bool? AutoAdvance { get; set; } + /// + /// Either charge_automatically or send_invoice. This + /// field can be updated only on draft invoices. + /// + [JsonProperty("collection_method")] + public string CollectionMethod { get; set; } + /// /// A list of up to 4 custom fields to be displayed on the invoice. ///