/* Options: Date: 2026-09-21 22:51:17 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: StockUpdate.* //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="/UpdateStock") // @Route(Path="/StockUpdate") public static class StockUpdate { /** * Internal DB identifier */ @ApiMember(Description="Internal DB identifier", IsRequired=true) public Integer StockID = null; /** * 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...)", IsRequired=true) public String Gtin = null; /** * Location of main stock or stock address */ @ApiMember(Description="Location of main stock or stock address") public String StockLocation = null; /** * Quantity physically stocked at this location */ @ApiMember(Description="Quantity physically stocked at this location") 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; /** * NbSKUInPackage */ @ApiMember(Description="NbSKUInPackage") public Integer NbSKUInPackage = null; /** * PackageReference */ @ApiMember(Description="PackageReference") public String PackageReference = null; /** * NbSKUInPackage2 */ @ApiMember(Description="NbSKUInPackage2") public Integer NbSKUInPackage2 = null; /** * PackageReference2 */ @ApiMember(Description="PackageReference2") public String PackageReference2 = null; /** * Weight */ @ApiMember(Description="Weight") public String Weight = null; /** * List of stock Additional */ @ApiMember(Description="List of stock Additional") public ArrayList StockAdditionals = new ArrayList(); public Integer getStockID() { return StockID; } public StockUpdate setStockID(Integer value) { this.StockID = value; return this; } public String getGtin() { return Gtin; } public StockUpdate setGtin(String value) { this.Gtin = value; return this; } public String getStockLocation() { return StockLocation; } public StockUpdate setStockLocation(String value) { this.StockLocation = value; return this; } public Double getPhysicalQuantityStockLocation() { return PhysicalQuantityStockLocation; } public StockUpdate setPhysicalQuantityStockLocation(Double value) { this.PhysicalQuantityStockLocation = value; return this; } public String getReserveStockLocation() { return ReserveStockLocation; } public StockUpdate setReserveStockLocation(String value) { this.ReserveStockLocation = value; return this; } public Double getPhysicalQuantityReserveStockLocation() { return PhysicalQuantityReserveStockLocation; } public StockUpdate setPhysicalQuantityReserveStockLocation(Double value) { this.PhysicalQuantityReserveStockLocation = value; return this; } public String getProductID() { return ProductID; } public StockUpdate setProductID(String value) { this.ProductID = value; return this; } public String getProductAttributeID() { return ProductAttributeID; } public StockUpdate setProductAttributeID(String value) { this.ProductAttributeID = value; return this; } public String getReference() { return Reference; } public StockUpdate setReference(String value) { this.Reference = value; return this; } public String getGtinAttribute() { return GtinAttribute; } public StockUpdate setGtinAttribute(String value) { this.GtinAttribute = value; return this; } public String getLabel() { return Label; } public StockUpdate setLabel(String value) { this.Label = value; return this; } public Integer getNbSKUInPackage() { return NbSKUInPackage; } public StockUpdate setNbSKUInPackage(Integer value) { this.NbSKUInPackage = value; return this; } public String getPackageReference() { return PackageReference; } public StockUpdate setPackageReference(String value) { this.PackageReference = value; return this; } public Integer getNbSKUInPackage2() { return NbSKUInPackage2; } public StockUpdate setNbSKUInPackage2(Integer value) { this.NbSKUInPackage2 = value; return this; } public String getPackageReference2() { return PackageReference2; } public StockUpdate setPackageReference2(String value) { this.PackageReference2 = value; return this; } public String getWeight() { return Weight; } public StockUpdate setWeight(String value) { this.Weight = value; return this; } public ArrayList getStockAdditionals() { return StockAdditionals; } public StockUpdate setStockAdditionals(ArrayList value) { this.StockAdditionals = value; return this; } } public static class StockAdditional { public Integer StockID = null; public String Gtin = null; public String StockLocation = null; public Double PhysicalQuantityStockLocation = null; public Integer getStockID() { return StockID; } public StockAdditional setStockID(Integer value) { this.StockID = value; return this; } public String getGtin() { return Gtin; } public StockAdditional setGtin(String value) { this.Gtin = value; return this; } public String getStockLocation() { return StockLocation; } public StockAdditional setStockLocation(String value) { this.StockLocation = value; return this; } public Double getPhysicalQuantityStockLocation() { return PhysicalQuantityStockLocation; } public StockAdditional setPhysicalQuantityStockLocation(Double value) { this.PhysicalQuantityStockLocation = value; return this; } } }