Ejemplo n.º 1
0
        public InputResponsePack(InputResponsePackHandling handling,
                                 String?deliveryNumber,
                                 String?batchNumber,
                                 String?externalId,
                                 String?serialNumber,
                                 StockLocationId?stockLocationId,
                                 PackDate?expiryDate,
                                 int?index,
                                 int?subItemQuantity,
                                 int?depth,
                                 int?width,
                                 int?height,
                                 int?weight)
        {
            index?.ThrowIfNegative();
            subItemQuantity?.ThrowIfNegative();
            depth?.ThrowIfNegative();
            width?.ThrowIfNegative();
            height?.ThrowIfNegative();
            weight?.ThrowIfNegative();

            this.Handling        = handling;
            this.DeliveryNumber  = deliveryNumber;
            this.BatchNumber     = batchNumber;
            this.ExternalId      = externalId;
            this.SerialNumber    = serialNumber;
            this.StockLocationId = stockLocationId;
            this.ExpiryDate      = expiryDate;
            this.Index           = index;
            this.SubItemQuantity = subItemQuantity;
            this.Depth           = depth;
            this.Width           = width;
            this.Height          = height;
            this.Weight          = weight;
        }
Ejemplo n.º 2
0
 public InputResponsePack(InputResponsePackHandling handling)
 {
     this.Handling = handling;
 }