Skip to main content

InventoryResponse

ZEPETO.Inventory.InventoryResponse

The InventoryResponse class provides the API call result and the retrieved inventory product information.

Hierarchy

Constructors

constructor

new InventoryResponse()

Overrides

ProductBaseResponse.constructor

Properties

isSuccess

isSuccess: boolean

Represents the success status of the request. Set to true upon successful completion.

Inherited from

ProductBaseResponse.isSuccess


message

message: string

Describes the result of the request.

Inherited from

ProductBaseResponse.message


product

product: InventoryRecord

Inventory product information.

Accessors

ErrorCode

get ErrorCode(): ProductError

Retrieves the error code for a failed product request.

Returns

ProductError

Inherited from

ZEPETO_Product.ProductBaseResponse.ErrorCode