Constructs a new RequestPaymentMessage.
Optional
properties:
IRequestPaymentMessage
Properties to set
Optional
amount
RequestPaymentMessage amount.
Optional
amount1000
RequestPaymentMessage amount1000.
Optional
background
RequestPaymentMessage background.
Optional
currencyRequestPaymentMessage currencyCodeIso4217.
Optional
expiryRequestPaymentMessage expiryTimestamp.
Optional
noteRequestPaymentMessage noteMessage.
Optional
requestRequestPaymentMessage requestFrom.
Static
create
Creates a new RequestPaymentMessage instance using the specified properties.
Optional
properties:
IRequestPaymentMessage
Properties to set
RequestPaymentMessage instance
Static
decode
Decodes a RequestPaymentMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
RequestPaymentMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a RequestPaymentMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
RequestPaymentMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified RequestPaymentMessage message. Does not implicitly verify messages.
RequestPaymentMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified RequestPaymentMessage message, length delimited. Does not implicitly verify messages.
RequestPaymentMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a RequestPaymentMessage message from a plain object. Also converts values to their respective internal types.
Plain object
RequestPaymentMessage
Static
getStatic
toCreates a plain object from a RequestPaymentMessage message. Also converts values to other types if specified.
RequestPaymentMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a RequestPaymentMessage.