Method | Description | |
---|---|---|
canPurchase ( Member | null $member = null, integer $quantity = 1 ) : boolean | Checks if the buyable can be purchased. If a buyable cannot be purchased then the method should return false | |
createItem ( integer $quantity = 1, array $filter = [] ) : OrderItem | Create a new OrderItem to add to an order. | |
sellingPrice ( ) : ShopCurrency | The price the customer gets this buyable for, with any additional additions or subtractions. |
public createItem ( integer $quantity = 1, array $filter = [] ) : OrderItem | ||
$quantity | integer | |
$filter | array | |
return | OrderItem | new OrderItem object |
public sellingPrice ( ) : ShopCurrency | ||
return | ShopCurrency |