package com.hbc.api.product.recommendations.lat.v1.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.1.0 * User agent: apibuilder app.apibuilder.io/hbc/api-product-recommendations-lat/1.1.0/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 * * Product price in USD */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Price { @NotNull protected String was; @NotNull protected String now; @NotNull protected Boolean onSale; public Price(String was, String now, Boolean onSale) { this.was = was; this.now = now; this.onSale = onSale; } public Price() { } /** * formatted price in USD */ public String getWas() { return was; } public void setWas(String was) { this.was = was; } /** * formatted price in USD */ public String getNow() { return now; } public void setNow(String now) { this.now = now; } /** * true if now price is < was price. Used to */ public Boolean getOnSale() { return onSale; } public void setOnSale(Boolean onSale) { this.onSale = onSale; } }