
io.electrum.cardaccount.model.PinResetRequest 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 javax.validation.constraints.Pattern;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.electrum.sdk.masking2.MaskAll;
import io.electrum.sdk.masking2.Masked;
import io.electrum.vas.Utils;
import io.swagger.annotations.ApiModelProperty;
/**
* PinResetRequest
*/
public class PinResetRequest extends AdminNotification {
@Masked(MaskAll.class)
@JsonProperty("newClearPin")
private String newClearPin = null;
@Masked(MaskAll.class)
@JsonProperty("newEncryptedPin")
private String newEncryptedPin = null;
@JsonProperty("card")
private Card card = null;
@JsonProperty("issuerId")
private String issuerId = null;
public PinResetRequest newClearPin(String newClearPin) {
this.newClearPin = newClearPin;
return this;
}
/**
* The new PIN for the card in the clear.
*
* @return newClearPin
**/
@JsonProperty("newClearPin")
@ApiModelProperty(value = "The new PIN for the card in the clear.")
public String getNewClearPin() {
return newClearPin;
}
public void setNewClearPin(String newClearPin) {
this.newClearPin = newClearPin;
}
public PinResetRequest newEncryptedPin(String newEncryptedPin) {
this.newEncryptedPin = newEncryptedPin;
return this;
}
/**
* The new encrypted PIN for the card in HEX format.
*
* @return newEncryptedPin
**/
@JsonProperty("newEncryptedPin")
@ApiModelProperty(value = "The new encrypted PIN for the card in HEX format.")
@Pattern(regexp = "[0-9ABCDEF]+")
public String getNewEncryptedPin() {
return newEncryptedPin;
}
public void setNewEncryptedPin(String newEncryptedPin) {
this.newEncryptedPin = newEncryptedPin;
}
public PinResetRequest 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 PinResetRequest 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;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PinResetRequest {\n");
sb.append(" id: ").append(Utils.toIndentedString(id)).append("\n");
sb.append(" newClearPin: ").append(Utils.toIndentedString(newClearPin)).append("\n");
sb.append(" newEncryptedPin: ").append(Utils.toIndentedString(newEncryptedPin)).append("\n");
sb.append(" card: ").append(Utils.toIndentedString(card)).append("\n");
sb.append(" issuerId: ").append(Utils.toIndentedString(issuerId)).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