io.electrum.billpay.model.BillpayResponse 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.model.Transaction;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
public abstract class BillpayResponse extends Transaction {
protected Account account = null;
protected Customer customer = null;
/**
* The customer account detail
**/
public BillpayResponse account(Account account) {
this.account = account;
return this;
}
@ApiModelProperty(required = true, value = "The customer account detail")
@JsonProperty("account")
@NotNull
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
/**
* Customer detail
**/
public BillpayResponse customer(Customer customer) {
this.customer = customer;
return this;
}
@ApiModelProperty(value = "Customer detail")
@JsonProperty("customer")
public Customer getCustomer() {
return customer;
}
public void setCustomer(Customer customer) {
this.customer = customer;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy