Class UploadStatusRequest

java.lang.Object
com.blockchyp.client.dto.UploadStatusRequest
All Implemented Interfaces:
ITimeoutRequest

public class UploadStatusRequest extends Object implements ITimeoutRequest
Used to request the status of a file upload.
  • Constructor Details

    • UploadStatusRequest

      public UploadStatusRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setUploadId

      public void setUploadId(String value)
      Sets id used to track status and progress of an upload while in progress.
      Parameters:
      value - id used to track status and progress of an upload while in progress.
    • getUploadId

      public String getUploadId()
      Gets id used to track status and progress of an upload while in progress.
      Returns:
      id used to track status and progress of an upload while in progress.