The purchase parameters for implementing classes.
Checks whether the user can purchase based on parameters params
.
Parameters for this transaction.
Whether this transaction is possible.
Gets the amount of money available to this store.
Available money according to specified budget.
Get cost of purchase with parameters params
.
Parameters for this transaction.
Cost of the transaction.
Purchase an item with parameters params
if there is money available.
Parameters for this transaction.
Whether the transaction was successful.
Generated using TypeDoc
Represents a class capable of purchasing and selling, with a percentage of available money allocated to it.
The sell parameters for implementing classes.