public CartItemManager(ICartBuilder cartBuilder, ISession session, IGetUserGuid getUserGuid, IGetExistingCartItem getExistingCartItem) { _cartBuilder = cartBuilder; _session = session; _getUserGuid = getUserGuid; _getExistingCartItem = getExistingCartItem; }
public SagePayService(ITransactionManager transactionManager, ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid, ICartGuidResetter cartGuidResetter) { _transactionManager = transactionManager; _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; _cartGuidResetter = cartGuidResetter; }
public PaypointPaymentService(PaypointSettings paypointSettings, IPaypointRequestService paypointRequestService, ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _paypointSettings = paypointSettings; _paypointRequestService = paypointRequestService; _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public CartItemManagerTests() { _cartModel = new CartModel(); Session.Transact(session => session.SaveOrUpdate(_productVariant)); _getUserGuid = A.Fake<IGetUserGuid>(); _cartBuilder = A.Fake<ICartBuilder>(); A.CallTo(() => _cartBuilder.BuildCart()).Returns(_cartModel); _cartItemManager = new CartItemManager(_cartBuilder, Session, _getUserGuid); }
public CartItemManagerTests() { _cartModel = new CartModel(); Session.Transact(session => session.SaveOrUpdate(_productVariant)); _getUserGuid = A.Fake <IGetUserGuid>(); _cartBuilder = A.Fake <ICartBuilder>(); A.CallTo(() => _cartBuilder.BuildCart()).Returns(_cartModel); _cartItemManager = new CartItemManager(_cartBuilder, Session, _getUserGuid); }
public GetCartImplTests() { var currentUser = new User(); Session.Transact(session => session.Save(currentUser)); CurrentRequestData.CurrentUser = currentUser; _getUserGuid = A.Fake<IGetUserGuid>(); _cartBuilder = new CartBuilder(A.Fake<IAssignBasicCartInfo>(), A.Fake<IAssignShippingInfo>(), A.Fake<IAssignCartDiscountInfo>(), A.Fake<IAssignGiftCardInfo>(), A.Fake<IAssignRewardPointInfo>(), A.Fake<IAssignPaymentInfo>(), _getUserGuid); }
public GetCartImplTests() { var currentUser = new User(); Session.Transact(session => session.Save(currentUser)); CurrentRequestData.CurrentUser = currentUser; _getUserGuid = A.Fake <IGetUserGuid>(); _cartBuilder = new CartBuilder(A.Fake <IAssignBasicCartInfo>(), A.Fake <IAssignShippingInfo>(), A.Fake <IAssignCartDiscountInfo>(), A.Fake <IAssignGiftCardInfo>(), A.Fake <IAssignRewardPointInfo>(), A.Fake <IAssignPaymentInfo>(), _getUserGuid); }
public CartBuilder(IAssignBasicCartInfo assignBasicCartInfo, IAssignShippingInfo assignShippingInfo, IAssignCartDiscountInfo assignCartDiscountInfo, IAssignGiftCardInfo assignGiftCardInfo, IAssignRewardPointInfo assignRewardPointInfo, IAssignPaymentInfo assignPaymentInfo, IGetUserGuid getUserGuid) { _assignBasicCartInfo = assignBasicCartInfo; _assignShippingInfo = assignShippingInfo; _assignCartDiscountInfo = assignCartDiscountInfo; _assignGiftCardInfo = assignGiftCardInfo; _assignRewardPointInfo = assignRewardPointInfo; _assignPaymentInfo = assignPaymentInfo; _getUserGuid = getUserGuid; }
public TermsAndConditionsUIService(ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public CartManager(ICartBuilder cartBuilder, ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartBuilder = cartBuilder; _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public CartRewardPointsUIService(ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public CartItemManager(ICartBuilder cartBuilder, ISession session, IGetUserGuid getUserGuid) { _cartBuilder = cartBuilder; _session = session; _getUserGuid = getUserGuid; }
public TermsAndConditionsUIService(ICartSessionManager cartSessionManager,IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public ClearCartSessionKeys(ICartSessionManager cartSessionManager, IEnumerable <ICartSessionKeyList> sessionKeyLists, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _sessionKeyLists = sessionKeyLists; _getUserGuid = getUserGuid; }
public GiftMessageUIService(ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public CartDiscountCodeService(ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public WishlistUIService(IGetUserGuid getUserGuid, ISession session, IProductVariantAvailabilityService productVariantAvailabilityService) { _getUserGuid = getUserGuid; _session = session; _productVariantAvailabilityService = productVariantAvailabilityService; }
public SetShippingDateService(ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid, IUniquePageService uniquePageService) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; _uniquePageService = uniquePageService; }
public Paypoint3DSecureHelper(ICartGuidResetter cartGuidResetter, ICartSessionManager cartSessionManager, IGetUserGuid getUserGuid) { _cartGuidResetter = cartGuidResetter; _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public ClearCartSessionKeys(ICartSessionManager cartSessionManager, IEnumerable<ICartSessionKeyList> sessionKeyLists, IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _sessionKeyLists = sessionKeyLists; _getUserGuid = getUserGuid; }
public GiftMessageUIService(ICartSessionManager cartSessionManager,IGetUserGuid getUserGuid) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; }
public SetShippingDateService(ICartSessionManager cartSessionManager,IGetUserGuid getUserGuid,IUniquePageService uniquePageService) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; _uniquePageService = uniquePageService; }