Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
- java.lang.Object
-
- com.stripe.param.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
-
- Enclosing class:
- SubscriptionScheduleUpdateParams.Phase.InvoiceSettings
public static class SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionScheduleUpdateParams.Phase.InvoiceSettings
build()
Finalize and obtain parameter instance from this builder.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
setDaysUntilDue(java.lang.Long daysUntilDue)
Number of days within which a customer must pay invoices generated by this subscription schedule.
-
-
-
Method Detail
-
build
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings build()
Finalize and obtain parameter instance from this builder.
-
setDaysUntilDue
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setDaysUntilDue(java.lang.Long daysUntilDue)
Number of days within which a customer must pay invoices generated by this subscription schedule. This value will benull
for subscription schedules wherebilling=charge_automatically
.
-
putExtraParam
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionScheduleUpdateParams.Phase.InvoiceSettings.extraParams
for the field documentation.
-
putAllExtraParam
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
-
-