SendPaymentRequest

data class SendPaymentRequest(account: String, address: JsonAddress, payment: Payment, when: Long?) : SignaldRequestBodyV1<SendResponse>

send a mobilecoin payment

Constructors

SendPaymentRequest
Link copied to clipboard
common
fun SendPaymentRequest(account: String, address: JsonAddress, payment: Payment, when: Long? = null)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): SendResponse
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): SendResponse

Properties

account
Link copied to clipboard
common
val account: String
the account to useExample: "+12024561414"
address
Link copied to clipboard
common
val address: JsonAddress
the address to send the payment message to
id
Link copied to clipboard
common
val id: String
The id to include in the request.
payment
Link copied to clipboard
common
val payment: Payment
version
Link copied to clipboard
common
val version: String
The version to include in the request.
when
Link copied to clipboard
common
val when: Long? = null