public SetLoyalityCustomerSerializeAction(ICustomerRestClient customerRestClient, EntityLayer.Entities.Customer.Customer customerModel) : base("SetLoyalityCustomer") { _customerRestClient = customerRestClient; _customerModel = customerModel; }
public GetAllCustomersSerializeAction( ICustomerRestClient customerRestClient, int pageIndex, bool loyalty) : base("GetAllCustomers") { _restClient = customerRestClient; _pageIndex = pageIndex; _loyalty = loyalty; }
public SetCustomerForSaleSerializeAction(ICustomerRestClient restClient, ICacheManager cacheManager, string customerCode) : base("SetCustomerForSale") { _restClient = restClient; _cacheManager = cacheManager; _customerCode = customerCode; }
public SearchCustomersSerializeAction(ICustomerRestClient restClient, string searchTerm, int pageIndex, bool loyalty) : base("SearchCustomers") { _restClient = restClient; _searchTerm = searchTerm; _pageIndex = pageIndex; _loyalty = loyalty; }
public AddCustomerSerializeAction( ICustomerRestClient customerRestClient, ICacheManager cacheManager, EntityLayer.Entities.Customer.Customer customer) : base("AddCustomer") { _restClient = customerRestClient; _cacheManager = cacheManager; _customer = customer; }
public GetCustomerByCardSerializeAction( ICustomerRestClient customerRestClient, string cardNumber, bool isLoyaltycard, int saleNumber, int tillNumber) : base("GetCustomerByCard") { _restClient = customerRestClient; _customerContract = new CustomerCardContract { cardNumber = cardNumber, isLoyaltycard = isLoyaltycard, saleNumber = saleNumber, tillNumber = tillNumber }; }
public CustomerSerializeManager(ICustomerRestClient customerRestClient, ICacheManager cacheManager) { _customerRestClient = customerRestClient; _cacheManager = cacheManager; }