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

io.electrum.cardaccount.model.UpdateCustomerRequest 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 java.util.List;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonProperty;

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

/**
 * UpdateCustomerRequest
 */
public class UpdateCustomerRequest extends AdminNotification {
   @JsonProperty("customer")
   private Customer customer = null;

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

   @JsonProperty("cardIds")
   private List cardIds = null;

   public UpdateCustomerRequest customer(Customer customer) {
      this.customer = customer;
      return this;
   }

   /**
    * Get customer
    * 
    * @return customer
    **/
   @JsonProperty("customer")
   @ApiModelProperty(required = true, value = "")
   @NotNull
   public Customer getCustomer() {
      return customer;
   }

   public void setCustomer(Customer customer) {
      this.customer = customer;
   }

   public UpdateCustomerRequest 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;
   }

   /**
    * A list of card IDs linked to this customer.
    * 
    * @return cardIds
    **/
   @JsonProperty("cardIds")
   @ApiModelProperty(required = false, value = "The card IDs linked to this customer.")
   public List getCardIds() {
      return cardIds;
   }

   public void setCardIds(List cardIds) {
      this.cardIds = cardIds;
   }

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

      sb.append("    id: ").append(Utils.toIndentedString(id)).append("\n");
      sb.append("    customer: ").append(Utils.toIndentedString(customer)).append("\n");
      sb.append("    issuerId: ").append(Utils.toIndentedString(issuerId)).append("\n");
      sb.append("    cardIds: ").append(Utils.toIndentedString(cardIds)).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