package com.nashtech.order.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.math.BigDecimal; import java.util.Date; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/nashtech/order/0.0.1-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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Order { @NotNull protected String id; @NotNull protected String number; @NotNull protected String merchantId; @NotNull protected Date submittedAt; @NotNull protected BigDecimal total; public Order(String id, String number, String merchantId, Date submittedAt, BigDecimal total) { this.id = id; this.number = number; this.merchantId = merchantId; this.submittedAt = submittedAt; this.total = total; } public Order() { } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getNumber() { return number; } public void setNumber(String number) { this.number = number; } public String getMerchantId() { return merchantId; } public void setMerchantId(String merchantId) { this.merchantId = merchantId; } public Date getSubmittedAt() { return submittedAt; } public void setSubmittedAt(Date submittedAt) { this.submittedAt = submittedAt; } public BigDecimal getTotal() { return total; } public void setTotal(BigDecimal total) { this.total = total; } }