Package com.stripe.param
Class InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder
public static class InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder
extends Object
-
Constructor Summary
Constructors -
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.Required. 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 InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.add
for the field documentation. -
putAllAdd
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.add
for the field documentation. -
putExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.extraParams
for the field documentation. -
addRemove
public InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder addRemove(String element) 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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.remove
for the field documentation. -
addAllRemove
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.remove
for the field documentation. -
putSet
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.set
for the field documentation. -
putAllSet
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.set
for the field documentation. -
setSet
public InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder setSet(EmptyParam set) Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten. -
setSet
public InvoiceUpcomingLinesListParams.ScheduleDetails.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 InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Builder setType(InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.MetadataAction.Type type) Required. Select one of three ways to update phase-levelmetadata
on subscription schedules.
-