package bombas.storeback.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.Long; import java.lang.String; import java.util.List; import lombok.Data; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.2.6 * User agent: apibuilder app.apibuilder.io/bombas/storeback-api/0.2.6/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 Variant { protected Long id; protected Long productId; protected String sku; protected String title; protected Boolean isAvailable; protected Price price; protected Shipping shipping; protected String createdAt; protected String updatedAt; protected List sizes; public Variant(Long id, Long productId, String sku, String title, Boolean isAvailable, Price price, Shipping shipping, String createdAt, String updatedAt, List sizes) { this.id = id; this.productId = productId; this.sku = sku; this.title = title; this.isAvailable = isAvailable; this.price = price; this.shipping = shipping; this.createdAt = createdAt; this.updatedAt = updatedAt; this.sizes = sizes; } public Variant() { } /** * The unique numeric identifier for the product variant. */ public Long getId() { return id; } public void setId(Long id) { this.id = id; } /** * The unique numeric identifier for the product. */ public Long getProductId() { return productId; } public void setProductId(Long productId) { this.productId = productId; } /** * A unique identifier for the product variant in the shop. Required in order to connect to a FulfillmentService. */ public String getSku() { return sku; } public void setSku(String sku) { this.sku = sku; } /** * The title of the product variant. */ public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } /** * If the variant is availabor not */ public Boolean getIsAvailable() { return isAvailable; } public void setIsAvailable(Boolean isAvailable) { this.isAvailable = isAvailable; } public Price getPrice() { return price; } public void setPrice(Price price) { this.price = price; } public Shipping getShipping() { return shipping; } public void setShipping(Shipping shipping) { this.shipping = shipping; } /** * The date and time (ISO 8601 format) when the product was created. */ public String getCreatedAt() { return createdAt; } public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } /** * The date and time (ISO 8601 format) when the product was last modified. */ public String getUpdatedAt() { return updatedAt; } public void setUpdatedAt(String updatedAt) { this.updatedAt = updatedAt; } public List getSizes() { return sizes; } public void setSizes(List sizes) { this.sizes = sizes; } }