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

com.blockchyp.client.dto.BatchSummary 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;

import java.util.Date;

/**
 * Models high level information about a single batch.
 */
public class BatchSummary {

     private String batchId;

     private String entryMethod;

     private String destinationAccountId;

     private String capturedAmount;

     private String openPreauths;

     private String currencyCode;

     private boolean open;

     private Date openDate;

     private Date closeDate;

    /**
     * Sets batch identifier.
     * @param value batch identifier.
     */
     public void setBatchId(String value) {
          this.batchId = value;
     }

    /**
     * Gets batch identifier.
     * @return batch identifier.
     */
     @JsonProperty("batchId")
     public String getBatchId() {
          return this.batchId;
     }

    /**
     * Sets entry method for the batch, if any.
     * @param value entry method for the batch, if any.
     */
     public void setEntryMethod(String value) {
          this.entryMethod = value;
     }

    /**
     * Gets entry method for the batch, if any.
     * @return entry method for the batch, if any.
     */
     @JsonProperty("entryMethod")
     public String getEntryMethod() {
          return this.entryMethod;
     }

    /**
     * Sets merchant deposit account into which proceeds should be deposited.
     * @param value merchant deposit account into which proceeds should be deposited.
     */
     public void setDestinationAccountId(String value) {
          this.destinationAccountId = value;
     }

    /**
     * Gets merchant deposit account into which proceeds should be deposited.
     * @return merchant deposit account into which proceeds should be deposited.
     */
     @JsonProperty("destinationAccountId")
     public String getDestinationAccountId() {
          return this.destinationAccountId;
     }

    /**
     * Sets the new captured amount.
     * @param value the new captured amount.
     */
     public void setCapturedAmount(String value) {
          this.capturedAmount = value;
     }

    /**
     * Gets the new captured amount.
     * @return the new captured amount.
     */
     @JsonProperty("capturedAmount")
     public String getCapturedAmount() {
          return this.capturedAmount;
     }

    /**
     * Sets the amount of preauths opened during the batch that have not been captured.
     * @param value the amount of preauths opened during the batch that have not been
     * captured.
     */
     public void setOpenPreauths(String value) {
          this.openPreauths = value;
     }

    /**
     * Gets the amount of preauths opened during the batch that have not been captured.
     * @return the amount of preauths opened during the batch that have not been captured.
     */
     @JsonProperty("openPreauths")
     public String getOpenPreauths() {
          return this.openPreauths;
     }

    /**
     * Sets the currency the batch was settled in.
     * @param value the currency the batch was settled in.
     */
     public void setCurrencyCode(String value) {
          this.currencyCode = value;
     }

    /**
     * Gets the currency the batch was settled in.
     * @return the currency the batch was settled in.
     */
     @JsonProperty("currencyCode")
     public String getCurrencyCode() {
          return this.currencyCode;
     }

    /**
     * Sets flag indicating whether or not the batch is open.
     * @param value flag indicating whether or not the batch is open.
     */
     public void setOpen(boolean value) {
          this.open = value;
     }

    /**
     * Gets flag indicating whether or not the batch is open.
     * @return flag indicating whether or not the batch is open.
     */
     @JsonProperty("open")
     public boolean isOpen() {
          return this.open;
     }

    /**
     * Sets date and time of the first transaction for this batch.
     * @param value date and time of the first transaction for this batch.
     */
     public void setOpenDate(Date value) {
          this.openDate = value;
     }

    /**
     * Gets date and time of the first transaction for this batch.
     * @return date and time of the first transaction for this batch.
     */
     @JsonProperty("openDate")
     public Date getOpenDate() {
          return this.openDate;
     }

    /**
     * Sets date and time the batch was closed.
     * @param value date and time the batch was closed.
     */
     public void setCloseDate(Date value) {
          this.closeDate = value;
     }

    /**
     * Gets date and time the batch was closed.
     * @return date and time the batch was closed.
     */
     @JsonProperty("closeDate")
     public Date getCloseDate() {
          return this.closeDate;
     }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy