Order
data class Order(val channelId: String, val siteName: String, val previewText: String, val previewTimestamp: String?, val headerTitle: String, val subheaderTitle: String, val hasUnseenMessages: Boolean, val deletedTimestamp: String?, val orderNumber: String, val subProjectId: String?, val orderStatus: OrderStatus, val customerName: String) : ChatChannel
Represents an Order channel, which is a 3-way conversation between customer, driver, and site.
Properties
Link copied to clipboard
Name of the customer associated with the order.
Link copied to clipboard
Timestamp when the channel was deleted. Null if the channel is active.
Link copied to clipboard
Indicates whether there are unread messages in the channel.
Link copied to clipboard
Main title displayed for the channel.
Link copied to clipboard
The unique identifier for the order.
Link copied to clipboard
Current status of the order.
Link copied to clipboard
A short preview of the last message in the channel.
Link copied to clipboard
Timestamp of the last message. Null if the channel has no messages.
Link copied to clipboard
Secondary title or additional information about the channel.
Link copied to clipboard
Identifier for the sub-project. Null if the order is not part of a sub-project.