Class

Buy

Buy(buyData)

Constructor

# new Buy(buyData)

Represents a Buy.
Parameters:
Name Type Description
buyData BuyData

View Source structures/stalks/weeks/Buy.js, line 8

Members

string

# nullable label

String to mark where the turnips were purchased from.

View Source structures/stalks/weeks/Buy.js, line 19

boolean

# local

Indicating whether the turnips were purchased locally.

View Source structures/stalks/weeks/Buy.js, line 13

number

# price

Buy price of the turnips (between 90 and 110, inclusive).

View Source structures/stalks/weeks/Buy.js, line 25

number

# quantity

The number of turnips purchased.

View Source structures/stalks/weeks/Buy.js, line 31