private ChargeBeeApi() { Addon = new AddonActions(this); Address = new AddressActions(this); Card = new CardActions(this); Comment = new CommentActions(this); Coupon = new CouponActions(this); CouponCode = new CouponCodeActions(this); CreditNote = new CreditNoteActions(this); Customer = new CustomerActions(this); Estimate = new EstimateActions(this); Event = new EventActions(this); HostedPage = new HostedPageActions(this); Invoice = new InvoiceActions(this); Order = new OrderActions(this); PaymentSource = new PaymentSourceActions(this); Plan = new PlanActions(this); PortalSession = new PortalSessionActions(this); ResourceMigration = new ResourceMigrationActions(this); SiteMigrationDetail = new SiteMigrationDetailActions(this); Subscription = new SubscriptionActions(this); TimeMachine = new TimeMachineActions(this); Transaction = new TransactionActions(this); UnbilledCharge = new UnbilledChargeActions(this); }
public void CustomerFilterValidation() { LoginActions.LoginAsPartner(); CustomerActions.NavigateToCustomers(); CustomerActions.ClickFilterButton(); CustomerActions.AddAndApplyFilters(); }
// GET: Lookup public async Task <ActionResult> Index() { CustomerActions action = new CustomerActions(); List <Customer> customers = await action.GetAll(); return(Json(new { draw = 1, recordsFiltered = customers, recordsTotal = customers.Count, data = customers })); }
public void SharedCartPortalOrders() { LoginActions.LoginAsPartner(); CustomerActions.NavigateToCustomers(); CustomerActions.SelectFirstCustomer(); CustomerActions.SelectFirstCustomerDetails(); CustomerActions.SelectFirstCustomerOrders(); }
public void SwitchCountryInCart() { LoginActions.LoginAsPartner(); CustomerActions.NavigateToCustomers(); CustomerActions.SelectFirstCustomer(); CustomerActions.SelectFirstCustomerDetails(); CustomerActions.SelectFirstCustomerOrders(); }
public SignupMenu(StoreAppContext context, IManagerRepoActions managerRepoActions, ICustomerRepoActions customerRepoActions, ILocationRepoActions locationRepoActions, IBaseballBatRepoActions baseballBatRepoActions, IOrderRepoActions orderRepoActions, IInventoryRepoActions inventoryRepoActions) { this.context = context; this.customerRepoActions = customerRepoActions; this.managerRepoActions = managerRepoActions; this.locationRepoActions = locationRepoActions; this.inventoryRepoActions = inventoryRepoActions; this.baseballBatRepoActions = baseballBatRepoActions; this.orderRepoActions = orderRepoActions; this.customerActions = new CustomerActions(context, customerRepoActions); }
public CustomerMainMenu(StoreAppContext context, ICustomerRepoActions customerRepoActions, ILocationRepoActions locationRepoActions, IOrderRepoActions orderRepoActions, IInventoryRepoActions inventoryRepoActions, IBaseballBatRepoActions batRepoActions, Customer signedInCustomer, Location location) { this.context = context; this.customerActions = new CustomerActions(context, customerRepoActions); this.locationActions = new LocationActions(context, locationRepoActions); this.inventoryActions = new InventoryActions(context, inventoryRepoActions); this.orderActions = new OrderActions(context, orderRepoActions); this.batActions = new BaseballBatActions(context, batRepoActions); this.customerRepoActions = customerRepoActions; this.locationRepoActions = locationRepoActions; this.orderRepoActions = orderRepoActions; this.inventoryRepoActions = inventoryRepoActions; this.batRepoActions = batRepoActions; this.currLocation = location; this.signedInCustomer = signedInCustomer; }