parse

fun parse(payload: String): OrderStatus

Takes an existing OrderStatus in the form of a json string and parses it into an OrderStatus object. Validates object structure and performs an integrity check using the message signature.

Return

The json string parsed into an OrderStatus

Parameters

payload

The OrderStatus as a json string.

Throws

if the payload is not an OrderStatus