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.Object
Goal to buy an item.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
The item name.double
price
The price.IShopService
shop
The 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.
-
-