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

io.electrum.cardaccount.model.CardStatementRequest Maven / Gradle / Ivy

The newest version!
/*
 * Electrum Gateway Card-Account API
 * The Electrum Gateway Card-Account API defines an interface for card and account management.
 *
 * OpenAPI spec version: 0.0.600
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package io.electrum.cardaccount.model;

import javax.validation.constraints.NotNull;

import org.joda.time.DateTime;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.electrum.vas.Utils;
import io.electrum.vas.model.Transaction;
import io.swagger.annotations.ApiModelProperty;

/**
 * CardStatementRequest
 */
public class CardStatementRequest extends Transaction {

   @JsonProperty("card")
   private Card card;

   @JsonProperty("issuerId")
   private String issuerId = null;

   @JsonProperty("beginDate")
   private DateTime beginDate = null;

   @JsonProperty("endDate")
   private DateTime endDate = null;

   public CardStatementRequest card(Card card) {
      this.card = card;
      return this;
   }

   /**
    * Get card
    * 
    * @return card
    **/
   @JsonProperty("card")
   @ApiModelProperty(required = true, value = "")
   @NotNull
   public Card getCard() {
      return card;
   }

   public void setCard(Card card) {
      this.card = card;
   }

   public CardStatementRequest issuerId(String issuerId) {
      this.issuerId = issuerId;
      return this;
   }

   /**
    * The issuer id.
    * 
    * @return issuerId
    **/
   @JsonProperty("issuerId")
   @ApiModelProperty(required = true, value = "The issuer id.")
   @NotNull
   public String getIssuerId() {
      return issuerId;
   }

   public void setIssuerId(String issuerId) {
      this.issuerId = issuerId;
   }

   public CardStatementRequest beginDate(DateTime beginDate) {
      this.beginDate = beginDate;
      return this;
   }

   /**
    * The start date of the statement. The format shall be as defined for date-time in [RFC 3339 section
    * 5.6](https://tools.ietf.org/html/rfc3339#section-5.6).
    * 
    * @return beginDate
    **/
   @JsonProperty("beginDate")
   @ApiModelProperty(required = true, value = "The start date of the statement. The format shall be as defined for date-time in [RFC 3339 section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6).")
   @NotNull
   public DateTime getBeginDate() {
      return beginDate;
   }

   public void setBeginDate(DateTime beginDate) {
      this.beginDate = beginDate;
   }

   public CardStatementRequest endDate(DateTime endDate) {
      this.endDate = endDate;
      return this;
   }

   /**
    * The end date of the statement. The format shall be as defined for date-time in [RFC 3339 section
    * 5.6](https://tools.ietf.org/html/rfc3339#section-5.6).
    * 
    * @return endDate
    **/
   @JsonProperty("endDate")
   @ApiModelProperty(required = true, value = "The end date of the statement. The format shall be as defined for date-time in [RFC 3339 section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6).")
   @NotNull
   public DateTime getEndDate() {
      return endDate;
   }

   public void setEndDate(DateTime endDate) {
      this.endDate = endDate;
   }

   @Override
   public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class CardStatementRequest {\n");

      sb.append("    id: ").append(Utils.toIndentedString(id)).append("\n");
      sb.append("    card: ").append(Utils.toIndentedString(card)).append("\n");
      sb.append("    issuerId: ").append(Utils.toIndentedString(issuerId)).append("\n");
      sb.append("    beginDate: ").append(Utils.toIndentedString(beginDate)).append("\n");
      sb.append("    endDate: ").append(Utils.toIndentedString(endDate)).append("\n");
      sb.append("    originator: ").append(Utils.toIndentedString(originator)).append("\n");
      sb.append("    client: ").append(Utils.toIndentedString(client)).append("\n");
      sb.append("    receiver: ").append(Utils.toIndentedString(receiver)).append("\n");
      sb.append("    thirdPartyIdentifiers: ").append(Utils.toIndentedString(thirdPartyIdentifiers)).append("\n");
      sb.append("    time: ").append(Utils.toIndentedString(time)).append("\n");
      sb.append("}");
      return sb.toString();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy