
io.electrum.cardaccount.model.CardAccountLinkRequest 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 com.fasterxml.jackson.annotation.JsonProperty;
import io.electrum.vas.Utils;
import io.swagger.annotations.ApiModelProperty;
/**
* CardAccountLinkRequest
*/
public class CardAccountLinkRequest extends AdminNotification {
@JsonProperty("accountId")
private String accountId = null;
@JsonProperty("cardId")
private String cardId = null;
@JsonProperty("issuerId")
private String issuerId = null;
@JsonProperty("customer")
private Customer customer = null;
public CardAccountLinkRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account to which the card should be linked.
*
* @return accountId
**/
@JsonProperty("accountId")
@ApiModelProperty(required = true, value = "The ID of the account to which the card should be linked.")
@NotNull
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public CardAccountLinkRequest cardId(String cardId) {
this.cardId = cardId;
return this;
}
/**
* The ID of the card that must be linked.
*
* @return cardId
**/
@JsonProperty("cardId")
@ApiModelProperty(required = true, value = "The ID of the card that must be linked.")
@NotNull
public String getCardId() {
return cardId;
}
public void setCardId(String cardId) {
this.cardId = cardId;
}
public CardAccountLinkRequest 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 CardAccountLinkRequest customer(Customer customer) {
this.customer = customer;
return this;
}
/**
* Customer details.
*
* @return customer
**/
@JsonProperty("customer")
@ApiModelProperty(required = true, value = "The customer details.")
@NotNull
public Customer getCustomer() {
return customer;
}
public void setCustomer(Customer customer) {
this.customer = customer;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CardAccountLinkRequest {\n");
sb.append(" id: ").append(Utils.toIndentedString(id)).append("\n");
sb.append(" accountId: ").append(Utils.toIndentedString(accountId)).append("\n");
sb.append(" cardId: ").append(Utils.toIndentedString(cardId)).append("\n");
sb.append(" issuerId: ").append(Utils.toIndentedString(issuerId)).append("\n");
sb.append(" customer: ").append(Utils.toIndentedString(customer)).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