Package honeycrm.server.domain

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


    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

Related Classes of honeycrm.server.domain.UniqueService

Copyright © 2018 www.massapicom. 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.