state property
active: grants what was bought. pending: awaiting payment. ended: ran out or was cancelled. refunded: paid back.
Implementation
final PurchaseState state;
active: grants what was bought. pending: awaiting payment. ended: ran out or was cancelled. refunded: paid back.
final PurchaseState state;