Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a class capable of selling, with a percentage of available money allocated to it.

interface

Type Parameters

  • S

    The sell parameters for implementing classes.

Hierarchy

  • ISellable

Implemented by

Index

Methods

Methods

  • sell(params: S): Promise<boolean>
  • Sell an item with parameters params, if possible.

    Parameters

    • params: S

      Parameters for this transaction.

    Returns Promise<boolean>

    Whether the transaction was successful.

Generated using TypeDoc