Skip to main content

Item

ZEPETO.Module.Content.Item

ZEPETO shop item.

Hierarchy

Constructors

constructor

new Item()

Inherited from

System.Object.constructor

Properties

id

id: string

Item code.


isZem

isZem: boolean

Indicates whether the item can be purchased using ZEM currency. If true, the item is purchased with ZEM; if false, it's purchased with coins.


price

price: number

Item price.


property

property: ZepetoPropertyFlag

Item property.

Methods

GetBadgeAsync

GetBadgeAsync(): BaseRequest$1<TextureResponse>

This asynchronous method retrieves the item badge texture.

Returns

BaseRequest$1<TextureResponse>

A BaseRequest object. When the asynchronous process is complete, you can access the TextureResponse object by the responseData property.


GetThumbnailAsync

GetThumbnailAsync(): BaseRequest$1<TextureResponse>

This asynchronous method retrieves the item's thumbnail texture.

Returns

BaseRequest$1<TextureResponse>

A BaseRequest object. When the asynchronous process is complete, you can access the TextureResponse object by the responseData property.