io.electrum.billpay.model.AccountLookupResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of billpay-service-interface Show documentation
Show all versions of billpay-service-interface Show documentation
Bill Payments Service Interface
package io.electrum.billpay.model;
import io.electrum.vas.Utils;
import io.electrum.vas.model.ThirdPartyIdentifier;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* The data resulting from an account lookup request
**/
@ApiModel(description = "The data resulting from an account lookup request")
public class AccountLookupResponse extends BillpayResponse {
private SlipData slipData = null;
/**
* Data that should be printed on the customer receipt
**/
public AccountLookupResponse slipData(SlipData slipData) {
this.slipData = slipData;
return this;
}
@ApiModelProperty(value = "Data that should be printed on the customer receipt")
@JsonProperty("slipData")
public SlipData getSlipData() {
return slipData;
}
public void setSlipData(SlipData slipData) {
this.slipData = slipData;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountLookupResponse {\n");
sb.append(" id: ").append(Utils.toIndentedString(id)).append("\n");
sb.append(" time: ").append(Utils.toIndentedString(time)).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(" slipData: ").append(Utils.toIndentedString(slipData)).append("\n");
sb.append(" transactionIdentifiers: [");
for (ThirdPartyIdentifier thirdPartyIdentifier : thirdPartyIdentifiers) {
sb.append(Utils.toIndentedString("\n ")).append(Utils.toIndentedString(thirdPartyIdentifier));
}
sb.append(" ]\n");
sb.append("}");
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy