/* Options: Date: 2026-09-21 22:51:05 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: StockCreate.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/CreateStock") // @Route(Path="/StockCreate") public static class StockCreate { /** * Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...) */ @ApiMember(Description="Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...)") public String Gtin = null; /** * Location of main stock or stock address */ @ApiMember(Description="Location of main stock or stock address", IsRequired=true) public String StockLocation = null; /** * Quantity physically stocked at this location */ @ApiMember(Description="Quantity physically stocked at this location", IsRequired=true) public Double PhysicalQuantityStockLocation = null; /** * Location of reserve stock (2nd stock location address) */ @ApiMember(Description="Location of reserve stock (2nd stock location address)") public String ReserveStockLocation = null; /** * Quantity physically stocked at this location */ @ApiMember(Description="Quantity physically stocked at this location") public Double PhysicalQuantityReserveStockLocation = null; /** * Product ID */ @ApiMember(Description="Product ID") public String ProductID = null; /** * Second product ID E.g. in case of variant */ @ApiMember(Description="Second product ID E.g. in case of variant") public String ProductAttributeID = null; /** * Product reference */ @ApiMember(Description="Product reference") public String Reference = null; /** * GTIN of variant */ @ApiMember(Description="GTIN of variant") public String GtinAttribute = null; /** * Product label */ @ApiMember(Description="Product label") public String Label = null; public String getGtin() { return Gtin; } public StockCreate setGtin(String value) { this.Gtin = value; return this; } public String getStockLocation() { return StockLocation; } public StockCreate setStockLocation(String value) { this.StockLocation = value; return this; } public Double getPhysicalQuantityStockLocation() { return PhysicalQuantityStockLocation; } public StockCreate setPhysicalQuantityStockLocation(Double value) { this.PhysicalQuantityStockLocation = value; return this; } public String getReserveStockLocation() { return ReserveStockLocation; } public StockCreate setReserveStockLocation(String value) { this.ReserveStockLocation = value; return this; } public Double getPhysicalQuantityReserveStockLocation() { return PhysicalQuantityReserveStockLocation; } public StockCreate setPhysicalQuantityReserveStockLocation(Double value) { this.PhysicalQuantityReserveStockLocation = value; return this; } public String getProductID() { return ProductID; } public StockCreate setProductID(String value) { this.ProductID = value; return this; } public String getProductAttributeID() { return ProductAttributeID; } public StockCreate setProductAttributeID(String value) { this.ProductAttributeID = value; return this; } public String getReference() { return Reference; } public StockCreate setReference(String value) { this.Reference = value; return this; } public String getGtinAttribute() { return GtinAttribute; } public StockCreate setGtinAttribute(String value) { this.GtinAttribute = value; return this; } public String getLabel() { return Label; } public StockCreate setLabel(String value) { this.Label = value; return this; } } }