org.drools.examples.petstore
Class PetStoreExample.Order

java.lang.Object
  extended by org.drools.examples.petstore.PetStoreExample.Order
Enclosing class:
PetStoreExample

public static class PetStoreExample.Order
extends Object


Constructor Summary
PetStoreExample.Order()
           
 
Method Summary
 void addItem(PetStoreExample.Purchase item)
           
 double getDiscountedTotal()
           
 double getGrossTotal()
           
 List<PetStoreExample.Purchase> getItems()
           
 void setDiscountedTotal(double discountedCost)
           
 void setGrossTotal(double grossCost)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PetStoreExample.Order

public PetStoreExample.Order()
Method Detail

addItem

public void addItem(PetStoreExample.Purchase item)

getItems

public List<PetStoreExample.Purchase> getItems()

setGrossTotal

public void setGrossTotal(double grossCost)

getGrossTotal

public double getGrossTotal()

setDiscountedTotal

public void setDiscountedTotal(double discountedCost)

getDiscountedTotal

public double getDiscountedTotal()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.