/// <summary>
 /// default constructor
 /// </summary>
 public Payment() {
     _paymentid = 0;
     _basketid = null;
     _paymenttypeid = (short) PaymentMethodTypeEnum.NotSet;
     _paymentstatusid = 0;
     _currencycode = null;
     _amountDecimal = 0;
     _inserttimestamp = DateTime.Now;
     _updatetimestamp = DateTime.Now;
 }
        /// <summary>
        /// default constructor
        /// </summary>
        public BasketItem() {

            _basketitemid = 0;
            _basket = null;
            _product = null;
            _lineTaxDecimal = 0;
            _linePreTaxDecimal = 0;
            _quantity = 0;
            _itemtypeid = 0;
            _pricingstatusid = 0;
            _inserttimestamp = DateTime.Now;
            _updatetimestamp = DateTime.Now;

            _optionList = new ArrayList();
            Status = PricingStatus.NotChecked;
            ItemType = BasketItemType.StandardItem;

            _linePreTaxMoney = null;
        }
 public IBasket CreateBasket(IStoreContext context) {
     Basket basket = new Basket(context);
     _commonDao.SaveOrUpdateObject(basket);
     return basket;
 }