All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blockchyp.client.dto.TermsAndConditionsLogRequest Maven / Gradle / Ivy

Go to download

This is the recommended means for Java developers to access the BlockChyp gateway and BlockChyp terminals.

There is a newer version: 2.19.0
Show newest version
/**
 * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
 * by a license that can be found in the LICENSE file.
 *
 * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
 * file will be lost every time the code is regenerated.
 */

package com.blockchyp.client.dto;

import com.fasterxml.jackson.annotation.JsonProperty;


/**
 * Models a Terms and Conditions history request.
 */
public class TermsAndConditionsLogRequest implements ITimeoutRequest {

     private int timeout;

     private boolean test;

     private String logEntryId;

     private String transactionId;

     private int maxResults;

     private int startIndex;

     private String startDate;

     private String endDate;

    /**
     * Sets the request timeout in seconds.
     * @param value the request timeout in seconds.
     */
     public void setTimeout(int value) {
          this.timeout = value;
     }

    /**
     * Gets the request timeout in seconds.
     * @return the request timeout in seconds.
     */
     @JsonProperty("timeout")
     public int getTimeout() {
          return this.timeout;
     }

    /**
     * Sets whether or not to route transaction to the test gateway.
     * @param value whether or not to route transaction to the test gateway.
     */
     public void setTest(boolean value) {
          this.test = value;
     }

    /**
     * Gets whether or not to route transaction to the test gateway.
     * @return whether or not to route transaction to the test gateway.
     */
     @JsonProperty("test")
     public boolean isTest() {
          return this.test;
     }

    /**
     * Sets the identifier of the log entry to be returned for single result requests.
     * @param value the identifier of the log entry to be returned for single result
     * requests.
     */
     public void setLogEntryId(String value) {
          this.logEntryId = value;
     }

    /**
     * Gets the identifier of the log entry to be returned for single result requests.
     * @return the identifier of the log entry to be returned for single result requests.
     */
     @JsonProperty("logEntryId")
     public String getLogEntryId() {
          return this.logEntryId;
     }

    /**
     * Sets optional transaction id if only log entries related to a transaction should be
     * returned.
     * @param value optional transaction id if only log entries related to a transaction
     * should be returned.
     */
     public void setTransactionId(String value) {
          this.transactionId = value;
     }

    /**
     * Gets optional transaction id if only log entries related to a transaction should be
     * returned.
     * @return optional transaction id if only log entries related to a transaction
     * should be returned.
     */
     @JsonProperty("transactionId")
     public String getTransactionId() {
          return this.transactionId;
     }

    /**
     * Sets max to be returned in a single page.
     * @param value max to be returned in a single page. Defaults to the system max of 250.
     */
     public void setMaxResults(int value) {
          this.maxResults = value;
     }

    /**
     * Gets max to be returned in a single page.
     * @return max to be returned in a single page. Defaults to the system max of 250.
     */
     @JsonProperty("maxResults")
     public int getMaxResults() {
          return this.maxResults;
     }

    /**
     * Sets starting index for paged results.
     * @param value starting index for paged results. Defaults to zero.
     */
     public void setStartIndex(int value) {
          this.startIndex = value;
     }

    /**
     * Gets starting index for paged results.
     * @return starting index for paged results. Defaults to zero.
     */
     @JsonProperty("startIndex")
     public int getStartIndex() {
          return this.startIndex;
     }

    /**
     * Sets an optional start date for filtering response data.
     * @param value an optional start date for filtering response data.
     */
     public void setStartDate(String value) {
          this.startDate = value;
     }

    /**
     * Gets an optional start date for filtering response data.
     * @return an optional start date for filtering response data.
     */
     @JsonProperty("startDate")
     public String getStartDate() {
          return this.startDate;
     }

    /**
     * Sets an optional end date for filtering response data.
     * @param value an optional end date for filtering response data.
     */
     public void setEndDate(String value) {
          this.endDate = value;
     }

    /**
     * Gets an optional end date for filtering response data.
     * @return an optional end date for filtering response data.
     */
     @JsonProperty("endDate")
     public String getEndDate() {
          return this.endDate;
     }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy