Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Builder
- Enclosing class:
SubscriptionScheduleAmendParams.Amendment.AmendmentStart
-
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.Details of another amendment in the same array, immediately after which this amendment should begin.A precise Unix timestamp for the amendment to start.Select one of three ways to pass theamendment_start
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmendmentEnd
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Builder setAmendmentEnd(SubscriptionScheduleAmendParams.Amendment.AmendmentStart.AmendmentEnd amendmentEnd) Details of another amendment in the same array, immediately after which this amendment should begin. -
putExtraParam
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.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.Amendment.AmendmentStart.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.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.Amendment.AmendmentStart.extraParams
for the field documentation. -
setTimestamp
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Builder setTimestamp(SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Timestamp timestamp) A precise Unix timestamp for the amendment to start. -
setType
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Builder setType(SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Type type) Select one of three ways to pass theamendment_start
.
-