Package com.stripe.param
Class SubscriptionScheduleAmendParams.Prebilling.BillUntil.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Prebilling.BillUntil.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Prebilling.BillUntil
-
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.End the prebilled period when a specified amendment ends.Time span for prebilling, starting frombill_from
.setTimestamp
(Long timestamp) End the prebilled period at a precise integer timestamp, starting from the Unix epoch.Select one of several ways to pass thebill_until
value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmendmentEnd
public SubscriptionScheduleAmendParams.Prebilling.BillUntil.Builder setAmendmentEnd(SubscriptionScheduleAmendParams.Prebilling.BillUntil.AmendmentEnd amendmentEnd) End the prebilled period when a specified amendment ends. -
setDuration
public SubscriptionScheduleAmendParams.Prebilling.BillUntil.Builder setDuration(SubscriptionScheduleAmendParams.Prebilling.BillUntil.Duration duration) Time span for prebilling, starting frombill_from
. -
putExtraParam
public SubscriptionScheduleAmendParams.Prebilling.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. SeeSubscriptionScheduleAmendParams.Prebilling.BillUntil.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Prebilling.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. SeeSubscriptionScheduleAmendParams.Prebilling.BillUntil.extraParams
for the field documentation. -
setTimestamp
End the prebilled period at a precise integer timestamp, starting from the Unix epoch. -
setType
public SubscriptionScheduleAmendParams.Prebilling.BillUntil.Builder setType(SubscriptionScheduleAmendParams.Prebilling.BillUntil.Type type) Select one of several ways to pass thebill_until
value.
-