Enum
PurchaseOption
Specifies the type of purchase option in a bulk purchase prompt.
The PurchaseOption enum specifies the type of purchase option when
building the PurchaseOptions array for
MarketplaceService:PromptBulkPurchase().
Use TimedOption for timed option durations and Permanent for standard
full-price purchase. Only one entry is allowed in PurchaseOptions; providing
more than one throws an error.
Do not hardcode duration values when using TimedOption. Always retrieve
available durations from the backend APIs and pass them through, as they may
change at any time.
Items 2#
| Name | Value | Summary |
|---|---|---|
TimedOption | 1 | A timed ownership option. The Value field specifies the duration in
seconds. |
Permanent | 2 | A permanent ownership purchase option. |