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