create
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.
Return
OrderStatus instance.
Parameters
to
DID that the message is being sent to.
from
DID of the sender.
exchange Id
ID of the exchange.
order Status Data
Specific parameters relevant to an OrderStatus.
protocol
version of the tbdex protocol.
external Id
external reference for the order status. Optional.