Package com.stripe.param
Class SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder
- Enclosing class:
- SubscriptionUpdateParams.BillingSchedule.BillUntil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Specifies the billing period.setTimestamp
(Long timestamp) The end date of the billing schedule.Required. Describes how the billing schedule will determine the end date.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDuration
public SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder setDuration(SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration duration) Specifies the billing period. -
putExtraParam
public SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder putExtraParam(String key, 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. SeeSubscriptionUpdateParams.BillingSchedule.BillUntil.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs 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. SeeSubscriptionUpdateParams.BillingSchedule.BillUntil.extraParams
for the field documentation. -
setTimestamp
The end date of the billing schedule. -
setType
public SubscriptionUpdateParams.BillingSchedule.BillUntil.Builder setType(SubscriptionUpdateParams.BillingSchedule.BillUntil.Type type) Required. Describes how the billing schedule will determine the end date. Eitherduration
ortimestamp
.
-