public ItemPromotion( Id id, int nCategoryTypeID, int nGroupID, Promotion promotion, Product productstrCode ) { this._id = id; this._nCategoryTypeID = nCategoryTypeID; this._nGroupID = nGroupID; this._promotion = promotion; this._productstrCode = productstrCode; _id.StringId1 = _promotion.Id; _id.StringId2 = _productstrCode.Id; }
public PromotionFreebie(Id id, Product strItemCode, Promotion promotion ) { this._id = id; this._strItemCode = strItemCode; this._promotion = promotion; }