Skip to main content

ProductRecord

ZEPETO.Multiplay.Product.ProductRecord

In-World product information.

Properties

currency

currency: Object

Returns the type of the currency used for purchasing the in-World product.

Type declaration

NameTypeDescription
currencyIdstringCurrency ID.
isOfficialCurrencybooleanIndicates whether the currency is ZEPETO’s official currency (ZEM) or an in-World currency.
namestringCurrency name.

currencyPackageUnits

Optional currencyPackageUnits: { currencyId: string ; currencyName: string ; quantity: number }[]

Currencies included in the in-World product if ProductType is CurrencyPackage.


itemPackageUnits

Optional itemPackageUnits: { itemName: string ; productId: string ; quantity: number }[]

Items included in the in-World product if ProductType is ItemPackage.


name

name: string

In-World Product name.


price

price: number

In-World Product price.


productId

productId: string

In-World Product ID.


productType

productType: ProductType

ProductType of the in-World product.


purchaseType

purchaseType: PurchaseType

PurchaseType of the in-World product.


status

status: ProductStatus

ProductStatus of the in-World product.