Message

data class Message(description: String, code: Int, type: MessageType)

Parameters

description

The text of the result message, indicating order status, success or failure, additional requirements that must be met before placing the order, and so on. Applications typically display this message to the user, which may result in further user action.

code

The standard numeric code of the result message. Refer to the Error Messages documentation for examples. May optionally be displayed to the user, but is primarily intended for internal use.

type

The type used to identify the message

Constructors

Message
Link copied to clipboard
fun Message(description: String, code: Int, type: MessageType)
The text of the result message, indicating order status, success or failure, additional requirements that must be met before placing the order, and so on.

Properties

code
Link copied to clipboard
val code: Int
The standard numeric code of the result message.
description
Link copied to clipboard
val description: String
The text of the result message, indicating order status, success or failure, additional requirements that must be met before placing the order, and so on.
type
Link copied to clipboard
val type: MessageType
The type used to identify the message

Sources

jvm source
Link copied to clipboard