package com.github.sullis.email.markup.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.String; import java.math.BigDecimal; import java.util.Date; import java.util.List; 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/sullis/email-markup/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 { protected Address billingAddress; @NotNull protected Customer customer; protected BigDecimal discount; protected String discountCurrency; @NotNull protected Boolean isGift; @NotNull protected Merchant merchant; @NotNull protected String orderNumber; @NotNull protected String priceCurrency; protected PriceSpecification priceSpecification; @NotNull protected BigDecimal price; @NotNull protected List acceptedOffer; @NotNull protected String url; @NotNull protected String orderStatus; @NotNull protected PaymentMethod paymentMethod; @NotNull protected String paymentMethodId; @NotNull protected Date orderDate; public Order(Address billingAddress, Customer customer, BigDecimal discount, String discountCurrency, Boolean isGift, Merchant merchant, String orderNumber, String priceCurrency, PriceSpecification priceSpecification, BigDecimal price, List acceptedOffer, String url, String orderStatus, PaymentMethod paymentMethod, String paymentMethodId, Date orderDate) { this.billingAddress = billingAddress; this.customer = customer; this.discount = discount; this.discountCurrency = discountCurrency; this.isGift = isGift; this.merchant = merchant; this.orderNumber = orderNumber; this.priceCurrency = priceCurrency; this.priceSpecification = priceSpecification; this.price = price; this.acceptedOffer = acceptedOffer; this.url = url; this.orderStatus = orderStatus; this.paymentMethod = paymentMethod; this.paymentMethodId = paymentMethodId; this.orderDate = orderDate; } public Order() { } public Address getBillingAddress() { return billingAddress; } public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } public Customer getCustomer() { return customer; } public void setCustomer(Customer customer) { this.customer = customer; } public BigDecimal getDiscount() { return discount; } public void setDiscount(BigDecimal discount) { this.discount = discount; } public String getDiscountCurrency() { return discountCurrency; } public void setDiscountCurrency(String discountCurrency) { this.discountCurrency = discountCurrency; } public Boolean getIsGift() { return isGift; } public void setIsGift(Boolean isGift) { this.isGift = isGift; } public Merchant getMerchant() { return merchant; } public void setMerchant(Merchant merchant) { this.merchant = merchant; } public String getOrderNumber() { return orderNumber; } public void setOrderNumber(String orderNumber) { this.orderNumber = orderNumber; } public String getPriceCurrency() { return priceCurrency; } public void setPriceCurrency(String priceCurrency) { this.priceCurrency = priceCurrency; } public PriceSpecification getPriceSpecification() { return priceSpecification; } public void setPriceSpecification(PriceSpecification priceSpecification) { this.priceSpecification = priceSpecification; } public BigDecimal getPrice() { return price; } public void setPrice(BigDecimal price) { this.price = price; } public List getAcceptedOffer() { return acceptedOffer; } public void setAcceptedOffer(List acceptedOffer) { this.acceptedOffer = acceptedOffer; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getOrderStatus() { return orderStatus; } public void setOrderStatus(String orderStatus) { this.orderStatus = orderStatus; } public PaymentMethod getPaymentMethod() { return paymentMethod; } public void setPaymentMethod(PaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } public String getPaymentMethodId() { return paymentMethodId; } public void setPaymentMethodId(String paymentMethodId) { this.paymentMethodId = paymentMethodId; } public Date getOrderDate() { return orderDate; } public void setOrderDate(Date orderDate) { this.orderDate = orderDate; } }