ZEPETO.Multiplay.Product
Enumerations
Interfaces
Functions
getProduct
▸ getProduct(productId
): Promise
<ProductRecord
| null
>
Retrieves the in-World product information based on the provided product ID. Throws ProductError.
Parameters
Name | Type | Description |
---|---|---|
productId | string | ID of the in-World product to fetch. |
Returns
Promise
<ProductRecord
| null
>
Promise
resolved upon completion, with the retrieved ProductRecord object.
getProducts
▸ getProducts(productIds
): Promise
<ProductRecord
[] | null
>
Retrieves the in-World product information list based on provided product IDs. Throws ProductError.
Parameters
Name | Type | Description |
---|---|---|
productIds | string [] | IDs of the in-World products to fetch. |
Returns
Promise
<ProductRecord
[] | null
>
Promise
resolved upon completion, with a array of retrieved ProductRecord objects.