Class TermsAndConditionsLogRequest

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

public class TermsAndConditionsLogRequest extends Object implements ITimeoutRequest
Models a Terms and Conditions history request.
  • Constructor Details

    • TermsAndConditionsLogRequest

      public TermsAndConditionsLogRequest()
  • 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.
    • setLogEntryId

      public void setLogEntryId(String value)
      Sets the identifier of the log entry to be returned for single result requests.
      Parameters:
      value - the identifier of the log entry to be returned for single result requests.
    • getLogEntryId

      public String getLogEntryId()
      Gets the identifier of the log entry to be returned for single result requests.
      Returns:
      the identifier of the log entry to be returned for single result requests.
    • setTransactionId

      public void setTransactionId(String value)
      Sets optional transaction id if only log entries related to a transaction should be returned.
      Parameters:
      value - optional transaction id if only log entries related to a transaction should be returned.
    • getTransactionId

      public String getTransactionId()
      Gets optional transaction id if only log entries related to a transaction should be returned.
      Returns:
      optional transaction id if only log entries related to a transaction should be returned.
    • setMaxResults

      public void setMaxResults(int value)
      Sets max to be returned in a single page.
      Parameters:
      value - max to be returned in a single page. Defaults to the system max of 250.
    • getMaxResults

      public int getMaxResults()
      Gets max to be returned in a single page.
      Returns:
      max to be returned in a single page. Defaults to the system max of 250.
    • setStartIndex

      public void setStartIndex(int value)
      Sets starting index for paged results.
      Parameters:
      value - starting index for paged results. Defaults to zero.
    • getStartIndex

      public int getStartIndex()
      Gets starting index for paged results.
      Returns:
      starting index for paged results. Defaults to zero.
    • setStartDate

      public void setStartDate(String value)
      Sets an optional start date for filtering response data.
      Parameters:
      value - an optional start date for filtering response data.
    • getStartDate

      public String getStartDate()
      Gets an optional start date for filtering response data.
      Returns:
      an optional start date for filtering response data.
    • setEndDate

      public void setEndDate(String value)
      Sets an optional end date for filtering response data.
      Parameters:
      value - an optional end date for filtering response data.
    • getEndDate

      public String getEndDate()
      Gets an optional end date for filtering response data.
      Returns:
      an optional end date for filtering response data.