Interface ExtensionSetTimeoutInMsAction
- All Superinterfaces:
ExtensionUpdateAction
,ResourceUpdateAction<ExtensionUpdateAction>
Example to create an instance using the builder pattern
ExtensionSetTimeoutInMsAction extensionSetTimeoutInMsAction = ExtensionSetTimeoutInMsAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ExtensionSetTimeoutInMsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ExtensionSetTimeoutInMsActionbuilder
(ExtensionSetTimeoutInMsAction template) create builder for ExtensionSetTimeoutInMsAction instancedeepCopy
(ExtensionSetTimeoutInMsAction template) factory method to create a deep copy of ExtensionSetTimeoutInMsActionValue to set.of()
factory methodof
(ExtensionSetTimeoutInMsAction template) factory method to create a shallow copy ExtensionSetTimeoutInMsActionvoid
setTimeoutInMs
(Integer timeoutInMs) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ExtensionSetTimeoutInMsAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.extension.ExtensionUpdateAction
getAction, withExtensionUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_TIMEOUT_IN_MS
discriminator value for ExtensionSetTimeoutInMsAction- See Also:
-
-
Method Details
-
getTimeoutInMs
Integer getTimeoutInMs()Value to set. If not defined, the maximum value is used. If no timeout is provided, the default value is used for all types of Extensions. The maximum value is 10000 ms (10 seconds) for
payment
Extensions and 2000 ms (2 seconds) for all other Extensions.This limit can be increased per Project after we review the performance impact. Please contact the Composable Commerce support team and provide the Region, Project key, and use case.
- Returns:
- timeoutInMs
-
setTimeoutInMs
Value to set. If not defined, the maximum value is used. If no timeout is provided, the default value is used for all types of Extensions. The maximum value is 10000 ms (10 seconds) for
payment
Extensions and 2000 ms (2 seconds) for all other Extensions.This limit can be increased per Project after we review the performance impact. Please contact the Composable Commerce support team and provide the Region, Project key, and use case.
- Parameters:
timeoutInMs
- value to be set
-
of
factory method- Returns:
- instance of ExtensionSetTimeoutInMsAction
-
of
factory method to create a shallow copy ExtensionSetTimeoutInMsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ExtensionSetTimeoutInMsAction deepCopy(@Nullable ExtensionSetTimeoutInMsAction template) factory method to create a deep copy of ExtensionSetTimeoutInMsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionSetTimeoutInMsAction- Returns:
- builder
-
builder
create builder for ExtensionSetTimeoutInMsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionSetTimeoutInMsAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-