Package com.stripe.param.v2.core
Class EventDestinationUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.core.EventDestinationUpdateParams.Builder
- Enclosing class:
- EventDestinationUpdateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllEnabledEvent(List<String> elements) Add all elements to `enabledEvents` list.Add all elements to `include` list.addEnabledEvent(String element) Add an element to `enabledEvents` list.Add an element to `include` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata(Map<String, Object> map) Add all map key/value pairs to `metadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, EmptyParam value) Add a key/value pair to `metadata` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.setDescription(EmptyParam description) An optional user-defined description of the destination's purpose; it does not control routing.setDescription(String description) An optional user-defined description of the destination's purpose; it does not control routing.setName(EmptyParam name) A user-defined label for identifying the destination; it does not control routing.A user-defined label for identifying the destination; it does not control routing.setWebhookEndpoint(EventDestinationUpdateParams.WebhookEndpoint webhookEndpoint) New delivery target for the webhook endpoint.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDescription
An optional user-defined description of the destination's purpose; it does not control routing. -
setDescription
An optional user-defined description of the destination's purpose; it does not control routing. -
addEnabledEvent
Add an element to `enabledEvents` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEventDestinationUpdateParams.enabledEventsfor the field documentation. -
addAllEnabledEvent
Add all elements to `enabledEvents` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEventDestinationUpdateParams.enabledEventsfor the field documentation. -
putExtraParam
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. SeeEventDestinationUpdateParams.extraParamsfor the field documentation. -
putAllExtraParam
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. SeeEventDestinationUpdateParams.extraParamsfor the field documentation. -
addInclude
public EventDestinationUpdateParams.Builder addInclude(EventDestinationUpdateParams.Include element) Add an element to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEventDestinationUpdateParams.includefor the field documentation. -
addAllInclude
public EventDestinationUpdateParams.Builder addAllInclude(List<EventDestinationUpdateParams.Include> elements) Add all elements to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEventDestinationUpdateParams.includefor the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeEventDestinationUpdateParams.metadatafor the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeEventDestinationUpdateParams.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. Map values can only be one of the following types: `String`, `EmptyParam`. SeeEventDestinationUpdateParams.metadatafor the field documentation. -
setName
A user-defined label for identifying the destination; it does not control routing. -
setName
A user-defined label for identifying the destination; it does not control routing. -
setWebhookEndpoint
public EventDestinationUpdateParams.Builder setWebhookEndpoint(EventDestinationUpdateParams.WebhookEndpoint webhookEndpoint) New delivery target for the webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP.
-