Пример #1
0
        internal DTO_WebOrderItem(
            DTO_UID inUID,
            Decimal inBasePrice,
            UInt32 inQty,
            UInt32 inDiscountID,
            DTO_WebOrderItemOptions inItemOptions,
            DTO_WebOrderItemSides inItemSides) : base(inUID, inBasePrice, inQty)
        {
            ServiceLogger.Log(@"internal DTO_WebOrderItem( ... ) {");

            discountID_  = inDiscountID;
            itemOptions_ = createOptions(inItemOptions);
            itemSides_   = createSides(inItemSides);

            ServiceLogger.Log(@"}");
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="inItemOptions"></param>
        /// <returns></returns>
        DTO_WebOrderItemOptions createOptions(DTO_WebOrderItemOptions inItemOptions)
        {
            DTO_WebOrderItemOptions result = new DTO_WebOrderItemOptions(inItemOptions.Items);

            return(result);
        }