Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.MetadataAction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRemove
(List<String> elements) Add all elements to `remove` list.Add an element to `remove` list.build()
Finalize and obtain parameter instance from this builder.Add a key/value pair to `add` map.Add all map key/value pairs to `add` map.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.Add all map key/value pairs to `set` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Add a key/value pair to `set` map.setSet
(EmptyParam set) Key-value pairs to set as schedule phase metadata.Key-value pairs to set as schedule phase metadata.Select one of three ways to update phase-levelmetadata
on subscription schedules.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putAdd
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder putAdd(String key, String value) Add a key/value pair to `add` 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.MetadataAction.add
for the field documentation. -
putAllAdd
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder putAllAdd(Map<String, String> map) Add all map key/value pairs to `add` 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.MetadataAction.add
for the field documentation. -
putExtraParam
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.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.MetadataAction.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.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.MetadataAction.extraParams
for the field documentation. -
addRemove
Add an element to `remove` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.MetadataAction.remove
for the field documentation. -
addAllRemove
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder addAllRemove(List<String> elements) Add all elements to `remove` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.MetadataAction.remove
for the field documentation. -
putSet
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder putSet(String key, String value) Add a key/value pair to `set` 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.MetadataAction.set
for the field documentation. -
putAllSet
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder putAllSet(Map<String, String> map) Add all map key/value pairs to `set` 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.MetadataAction.set
for the field documentation. -
setSet
Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten. -
setSet
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder setSet(Map<String, String> set) Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten. -
setType
public SubscriptionScheduleAmendParams.Amendment.MetadataAction.Builder setType(SubscriptionScheduleAmendParams.Amendment.MetadataAction.Type type) Select one of three ways to update phase-levelmetadata
on subscription schedules.
-