Пример #1
0
 public static StockLineQuantity Create(string type, decimal quantity, string handlingUnit)
 {
     return(new StockLineQuantity
     {
         Type = type ?? ""
                .ToUpper()
                .Trim(),
         Quantity = MeasureUnitQuantity.Create(quantity, handlingUnit)
     });
 }
Пример #2
0
 public void ChangeQuantity(decimal quantity, string handlingUnit)
 {
     Quantity = MeasureUnitQuantity.Create(quantity, handlingUnit);
 }