package bombas.storeback.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; 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 Shipping { protected Boolean requiresShipping; protected Integer grams; protected Integer weight; protected String weightUnit; public Shipping(Boolean requiresShipping, Integer grams, Integer weight, String weightUnit) { this.requiresShipping = requiresShipping; this.grams = grams; this.weight = weight; this.weightUnit = weightUnit; } public Shipping() { } /** * This property is deprecated. Use the `requires_shipping` property on the InventoryItem resource instead. */ public Boolean getRequiresShipping() { return requiresShipping; } public void setRequiresShipping(Boolean requiresShipping) { this.requiresShipping = requiresShipping; } /** * The weight of the product variant in grams. */ public Integer getGrams() { return grams; } public void setGrams(Integer grams) { this.grams = grams; } /** * The weight of the product variant in the unit system specified with weight_unit. */ public Integer getWeight() { return weight; } public void setWeight(Integer weight) { this.weight = weight; } /** * The unit of measurement that applies to the product variant's weight. If you don't specify a value for weight_unit, then the shop's default unit of measurement is applied. Valid values: g, kg, oz, and lb. */ public String getWeightUnit() { return weightUnit; } public void setWeightUnit(String weightUnit) { this.weightUnit = weightUnit; } }