Skip to main content

ProductResponse

ZEPETO.Product.ProductResponse

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

Hierarchy

Constructors

constructor

new ProductResponse()

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: ProductRecord

Product information.

Accessors

ErrorCode

get ErrorCode(): ProductError

Retrieves the error code for a failed product request.

Returns

ProductError

Inherited from

ProductBaseResponse.ErrorCode