package payp.mard2p.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Double; import java.lang.Long; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.2-dev * User agent: apibuilder app.apibuilder.io/mard/mard2p-api/0.0.2-dev/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * Account is defined by the app specifically to manage users transactions. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Account { @NotNull protected Long accountid; @NotNull protected String ownerid; @NotNull protected Double totalAmount; @NotNull protected String currency; @NotNull protected Double sold; @NotNull protected Double debit; public Account(Long accountid, String ownerid, Double totalAmount, String currency, Double sold, Double debit) { this.accountid = accountid; this.ownerid = ownerid; this.totalAmount = totalAmount; this.currency = currency; this.sold = sold; this.debit = debit; } public Account() { } /** * Internal unique identifier for this account. */ public Long getAccountid() { return accountid; } public void setAccountid(Long accountid) { this.accountid = accountid; } /** * The username registered in the application */ public String getOwnerid() { return ownerid; } public void setOwnerid(String ownerid) { this.ownerid = ownerid; } /** * The amount specific to the debit and sold account. This field allows the process transactions. */ public Double getTotalAmount() { return totalAmount; } public void setTotalAmount(Double totalAmount) { this.totalAmount = totalAmount; } /** * The currency specific to location. */ public String getCurrency() { return currency; } public void setCurrency(String currency) { this.currency = currency; } /** * The amount specific to the balance account. This field allows the process transactions. */ public Double getSold() { return sold; } public void setSold(Double sold) { this.sold = sold; } /** * The amount specific to the money merchant have to collect and pay. This field allows the process transactions. */ public Double getDebit() { return debit; } public void setDebit(Double debit) { this.debit = debit; } }