package com.hbc.api.fraud.v0.models; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.math.BigDecimal; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.0-slava * User agent: apibuilder app.apibuilder.io/hbc/api-fraud/0.0.0-slava/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 * * Single item */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) @DynamoDBDocument public class Item { @NotNull protected Integer svsNumber; @NotNull protected Integer skuNumber; protected Integer upcNumber; protected Integer classNumber; protected String color; protected String size; @NotNull protected String currentStatus; @NotNull protected Integer department; protected String signOnDelivery; protected Boolean giftWrapped; protected BigDecimal costAmount; protected BigDecimal marginAmount; @NotNull protected String description; @NotNull protected BigDecimal price; @NotNull protected BigDecimal extendedPrice; @NotNull protected Integer quantity; @NotNull protected Integer groupNumber; @NotNull protected Address shippingAddress; @NotNull protected String shippingMethod; @NotNull protected String shippingCountry; public Item(Integer svsNumber, Integer skuNumber, Integer upcNumber, Integer classNumber, String color, String size, String currentStatus, Integer department, String signOnDelivery, Boolean giftWrapped, BigDecimal costAmount, BigDecimal marginAmount, String description, BigDecimal price, BigDecimal extendedPrice, Integer quantity, Integer groupNumber, Address shippingAddress, String shippingMethod, String shippingCountry) { this.svsNumber = svsNumber; this.skuNumber = skuNumber; this.upcNumber = upcNumber; this.classNumber = classNumber; this.color = color; this.size = size; this.currentStatus = currentStatus; this.department = department; this.signOnDelivery = signOnDelivery; this.giftWrapped = giftWrapped; this.costAmount = costAmount; this.marginAmount = marginAmount; this.description = description; this.price = price; this.extendedPrice = extendedPrice; this.quantity = quantity; this.groupNumber = groupNumber; this.shippingAddress = shippingAddress; this.shippingMethod = shippingMethod; this.shippingCountry = shippingCountry; } public Item() { } /** * Product style number (parent number) */ @DynamoDBAttribute public Integer getSvsNumber() { return svsNumber; } public void setSvsNumber(Integer svsNumber) { this.svsNumber = svsNumber; } /** * HBC internally generated number for items (alias SKN) */ @DynamoDBAttribute public Integer getSkuNumber() { return skuNumber; } public void setSkuNumber(Integer skuNumber) { this.skuNumber = skuNumber; } /** * The number on the barcode that could be used across different retailers */ @DynamoDBAttribute public Integer getUpcNumber() { return upcNumber; } public void setUpcNumber(Integer upcNumber) { this.upcNumber = upcNumber; } /** * Signifies business category of an item (pants, tops, shirts, etc.) */ @DynamoDBAttribute public Integer getClassNumber() { return classNumber; } public void setClassNumber(Integer classNumber) { this.classNumber = classNumber; } @DynamoDBAttribute public String getColor() { return color; } public void setColor(String color) { this.color = color; } @DynamoDBAttribute public String getSize() { return size; } public void setSize(String size) { this.size = size; } @DynamoDBAttribute public String getCurrentStatus() { return currentStatus; } public void setCurrentStatus(String currentStatus) { this.currentStatus = currentStatus; } @DynamoDBAttribute public Integer getDepartment() { return department; } public void setDepartment(Integer department) { this.department = department; } @DynamoDBAttribute public String getSignOnDelivery() { return signOnDelivery; } public void setSignOnDelivery(String signOnDelivery) { this.signOnDelivery = signOnDelivery; } @DynamoDBAttribute public Boolean getGiftWrapped() { return giftWrapped; } public void setGiftWrapped(Boolean giftWrapped) { this.giftWrapped = giftWrapped; } @DynamoDBAttribute public BigDecimal getCostAmount() { return costAmount; } public void setCostAmount(BigDecimal costAmount) { this.costAmount = costAmount; } @DynamoDBAttribute public BigDecimal getMarginAmount() { return marginAmount; } public void setMarginAmount(BigDecimal marginAmount) { this.marginAmount = marginAmount; } @DynamoDBAttribute public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } /** * Price of single item */ @DynamoDBAttribute public BigDecimal getPrice() { return price; } public void setPrice(BigDecimal price) { this.price = price; } /** * Total price of all items ordered */ @DynamoDBAttribute public BigDecimal getExtendedPrice() { return extendedPrice; } public void setExtendedPrice(BigDecimal extendedPrice) { this.extendedPrice = extendedPrice; } @DynamoDBAttribute public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } @DynamoDBAttribute public Integer getGroupNumber() { return groupNumber; } public void setGroupNumber(Integer groupNumber) { this.groupNumber = groupNumber; } @DynamoDBAttribute public Address getShippingAddress() { return shippingAddress; } public void setShippingAddress(Address shippingAddress) { this.shippingAddress = shippingAddress; } @DynamoDBAttribute public String getShippingMethod() { return shippingMethod; } public void setShippingMethod(String shippingMethod) { this.shippingMethod = shippingMethod; } @DynamoDBAttribute public String getShippingCountry() { return shippingCountry; } public void setShippingCountry(String shippingCountry) { this.shippingCountry = shippingCountry; } }