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 Summary
Fields Modifier and Type Field Description java.lang.StringnameThe item name.doublepriceThe price.IShopServiceshopThe shop.
-
Constructor Summary
Constructors Constructor Description BuyItem(java.lang.String name, IShopService shop, double price)Create a buy item goal.
-
-
-
Field Detail
-
name
public java.lang.String name
The item name.
-
shop
public IShopService shop
The shop.
-
price
public double price
The price.
-
-
Constructor Detail
-
BuyItem
public BuyItem(java.lang.String name, IShopService shop, double price)Create a buy item goal.
-
-