new PaymentRejectedMessage()
Extends
Methods
(static) PaymentRejectedMessage#getPayment() → {payments.Payment}
Get the field value
A payment
Returns:
- Type
- payments.Payment
(static) PaymentRejectedMessage#getReason() → {order.VoidReason}
Get the field value
The reason the payment is being rejected
Returns:
- Type
- order.VoidReason
(static) PaymentRejectedMessage#setPayment(payment)
Set the field value
A payment
Parameters:
Name | Type | Description |
---|---|---|
payment |
payments.Payment |
(static) PaymentRejectedMessage#setReason(reason)
Set the field value
The reason the payment is being rejected
Parameters:
Name | Type | Description |
---|---|---|
reason |
order.VoidReason |