
io.electrum.cardaccount.model.ApplyAccountFeesRequest 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.electrum.vas.model.Transaction;
import io.swagger.annotations.ApiModelProperty;
/**
* ApplyAccountFeesRequest
*/
public class ApplyAccountFeesRequest extends Transaction {
@JsonProperty("account")
private Account account;
@JsonProperty("fee")
private Fee fee = null;
@JsonProperty("issuerId")
private String issuerId = null;
public ApplyAccountFeesRequest account(Account account) {
this.account = account;
return this;
}
/**
* Get account
*
* @return account
**/
@JsonProperty("account")
@ApiModelProperty(required = true, value = "")
@NotNull
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
public ApplyAccountFeesRequest fee(Fee fee) {
this.fee = fee;
return this;
}
/**
* Get fee
*
* @return fee
**/
@JsonProperty("fee")
@ApiModelProperty(required = true, value = "")
@NotNull
public Fee getFee() {
return fee;
}
public void setFee(Fee fee) {
this.fee = fee;
}
public ApplyAccountFeesRequest 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 ApplyAccountFeesRequest {\n");
sb.append(" id: ").append(Utils.toIndentedString(id)).append("\n");
sb.append(" account: ").append(Utils.toIndentedString(account)).append("\n");
sb.append(" fee: ").append(Utils.toIndentedString(fee)).append("\n");
sb.append(" issuerId: ").append(Utils.toIndentedString(issuerId)).append("\n");
sb.append(" originator: ").append(Utils.toIndentedString(originator)).append("\n");
sb.append(" client: ").append(Utils.toIndentedString(client)).append("\n");
sb.append(" settlementEntity: ").append(Utils.toIndentedString(settlementEntity)).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