Package jadex.bdiv3.examples.shop
Class CustomerCapability.BuyItem
- java.lang.Object
- 
- jadex.bdiv3.examples.shop.CustomerCapability.BuyItem
 
- 
- Enclosing class:
- CustomerCapability
 
 public static class CustomerCapability.BuyItem extends java.lang.ObjectGoal to buy an item.
- 
- 
Field SummaryFields Modifier and Type Field Description java.lang.StringnameThe item name.doublepriceThe price.IShopServiceshopThe shop.
 - 
Constructor SummaryConstructors Constructor Description BuyItem(java.lang.String name, IShopService shop, double price)Create a buy item goal.
 
- 
- 
- 
Field Detail- 
namepublic java.lang.String name The item name.
 - 
shoppublic IShopService shop The shop.
 - 
pricepublic double price The price.
 
- 
 - 
Constructor Detail- 
BuyItempublic BuyItem(java.lang.String name, IShopService shop, double price)Create a buy item goal.
 
- 
 
-