Interface: BuyableOptions
features/buyable.BuyableOptions
Properties
canPurchase
• Optional
canPurchase: Computable
<boolean
>
Defined in
profectus/src/features/buyable.tsx:36
classes
• Optional
classes: Computable
<Record
<string
, boolean
>>
Defined in
profectus/src/features/buyable.tsx:38
cost
• Optional
cost: Computable
<DecimalSource
>
Defined in
profectus/src/features/buyable.tsx:34
display
• Optional
display: Computable
<BuyableDisplay
>
Defined in
profectus/src/features/buyable.tsx:42
mark
• Optional
mark: Computable
<string
| boolean
>
Defined in
profectus/src/features/buyable.tsx:40
onPurchase
• Optional
onPurchase: (cost
: undefined
| DecimalSource
) => void
Type declaration
▸ (cost
): void
Parameters
Name | Type |
---|---|
cost | undefined | DecimalSource |
Returns
void
Defined in
profectus/src/features/buyable.tsx:43
purchaseLimit
• Optional
purchaseLimit: Computable
<DecimalSource
>
Defined in
profectus/src/features/buyable.tsx:37
resource
• Optional
resource: Resource
<DecimalSource
>
Defined in
profectus/src/features/buyable.tsx:35
small
• Optional
small: Computable
<boolean
>
Defined in
profectus/src/features/buyable.tsx:41
style
• Optional
style: Computable
<StyleValue
>
Defined in
profectus/src/features/buyable.tsx:39
visibility
• Optional
visibility: Computable
<Visibility
>