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. /// diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleSharedOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleSharedOptions.cs index ca268111a4..4cc64394b1 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleSharedOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleSharedOptions.cs @@ -34,6 +34,7 @@ public abstract class SubscriptionScheduleSharedOptions : BaseOptions [JsonProperty("default_source")] public string DefaultSourceId { get; set; } + /// /// Either charge_automatically, or send_invoice. When /// charging automatically, Stripe will attempt to pay the underlying /// subscription at the end of each billing cycle using the default