Companion

object Companion

Functions

Link copied to clipboard
fun create(to: String, from: String, exchangeId: String, orderStatusData: OrderStatusData, protocol: String = "1.0", externalId: String? = null): OrderStatus

Creates a new OrderStatus message, autopopulating the id, creation time, and message kind.

Link copied to clipboard
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.