Package com.stripe.param
Class SubscriptionScheduleAmendParams.Prebilling.BillFrom.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Prebilling.BillFrom.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Prebilling.BillFrom
-
Constructor Summary
-
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.setAmendmentStart
(SubscriptionScheduleAmendParams.Prebilling.BillFrom.AmendmentStart amendmentStart) Start the prebilled period when a specified amendment begins.setTimestamp
(Long timestamp) Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.Required. Select one of several ways to pass thebill_from
value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmendmentStart
public SubscriptionScheduleAmendParams.Prebilling.BillFrom.Builder setAmendmentStart(SubscriptionScheduleAmendParams.Prebilling.BillFrom.AmendmentStart amendmentStart) Start the prebilled period when a specified amendment begins. -
putExtraParam
public SubscriptionScheduleAmendParams.Prebilling.BillFrom.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. SeeSubscriptionScheduleAmendParams.Prebilling.BillFrom.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Prebilling.BillFrom.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. SeeSubscriptionScheduleAmendParams.Prebilling.BillFrom.extraParams
for the field documentation. -
setTimestamp
Start the prebilled period at a precise integer timestamp, starting from the Unix epoch. -
setType
public SubscriptionScheduleAmendParams.Prebilling.BillFrom.Builder setType(SubscriptionScheduleAmendParams.Prebilling.BillFrom.Type type) Required. Select one of several ways to pass thebill_from
value.
-