Examples of UniqueService


Examples of honeycrm.server.domain.UniqueService

    return dtos;
  }

  private Dto getService(boolean uniqueServices) {
    final Dto service = new Dto((uniqueServices ? new UniqueService() : new RecurringService()).getClass().getSimpleName());
    service.set("name", "service" + random.nextInt());
    service.set("price", random.nextDouble());
    return service;
  }
View Full Code Here

Examples of honeycrm.server.domain.UniqueService

    Double sum = 0.0;

    final int servicesCount = 2 + r.nextInt() % 100;

    for (int i = 0; i < servicesCount; i++) {
      final UniqueService s = new UniqueService();
      s.quantity = r.nextInt(100);
      s.price = Math.abs(r.nextDouble() % 10000.0);
      s.discount = r.nextInt(10);
      services.add(s);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.