Interface ExtensionSetTimeoutInMsAction

All Superinterfaces:
ExtensionUpdateAction, ResourceUpdateAction<ExtensionUpdateAction>

public interface ExtensionSetTimeoutInMsAction extends ExtensionUpdateAction
ExtensionSetTimeoutInMsAction
Example to create an instance using the builder pattern

     ExtensionSetTimeoutInMsAction extensionSetTimeoutInMsAction = ExtensionSetTimeoutInMsAction.builder()
             .build()
 
  • Field Details

    • SET_TIMEOUT_IN_MS

      static final String 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 our support via the Support Portal and provide the Region, Project key, and use case.

      Returns:
      timeoutInMs
    • setTimeoutInMs

      void setTimeoutInMs(Integer timeoutInMs)

      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 our support via the Support Portal 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

      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

      default <T> T withExtensionSetTimeoutInMsAction(Function<ExtensionSetTimeoutInMsAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ExtensionSetTimeoutInMsAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference