Package de.scoopgmbh.copper.monitoring.example.adapter

Examples of de.scoopgmbh.copper.monitoring.example.adapter.Bill


          billableServices.add(((BillableService)response.getResponse()));
        }
      }
      for(Response<?> response: all){
        if (response.getResponse() instanceof Bill){
          Bill bill = ((Bill)response.getResponse());
          BigDecimal sum = new BigDecimal(0);
          for (BillableService billableService: billableServices){
            sum = sum.add(billableService.getAmount());
          }
          bill.setTotalAmount(sum);
          billAdapter.publishBill(bill);
          billableServices.clear();
        }
      }
     
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.monitoring.example.adapter.Bill

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.