Beispiel #1
0
 public OrderItem(CatalogItemOrdered itemOrdered, decimal unitPrice, int units, string customizeName = null)
 {
     ItemOrdered   = itemOrdered;
     UnitPrice     = unitPrice;
     Units         = units;
     CustomizeName = customizeName;
 }
Beispiel #2
0
 public OrderItem(CatalogItemOrdered itemOrdered, decimal unitPrice, int units, int?option1 = null, int?option2 = null, int?option3 = null, string customizeName = null, string customizeSide = null, CustomizeItemOrdered customizeItem = null)
 {
     ItemOrdered       = itemOrdered;
     CustomizeItem     = customizeItem;
     UnitPrice         = unitPrice;
     Units             = units;
     CatalogAttribute1 = option1;
     CatalogAttribute2 = option2;
     CatalogAttribute3 = option3;
     CustomizeName     = customizeName;
     CustomizeSide     = customizeSide;
 }
 public OrderItem(CatalogItemOrdered itemOrdered, decimal unitPrice, int units)
 {
     ItemOrdered = itemOrdered;
     UnitPrice   = unitPrice;
     Units       = units;
 }
Beispiel #4
0
 public OrderItem(CatalogItemOrdered catalogItemOrdered, decimal unitPrice, int quantity)
 {
     CatalogItemOrdered = catalogItemOrdered;
     UnitPrice          = unitPrice;
     Quantity           = quantity;
 }