new RefundResponseMessage()
Extends
Methods
(static) RefundResponseMessage#getCode() → {remotemessage.TxState}
Get the field value
Transaction state (success|fail)
Returns:
(static) RefundResponseMessage#getMessage() → {String}
Get the field value
Detail message
Returns:
- Type
- String
(static) RefundResponseMessage#getOrderId() → {String}
Get the field value
Unique identifier for a order
Returns:
- Type
- String
(static) RefundResponseMessage#getPaymentId() → {String}
Get the field value
Unique identifier for a payment
Returns:
- Type
- String
(static) RefundResponseMessage#getReason() → {remotemessage.ErrorCode}
Get the field value
Detail code if an error is encountered
Returns:
(static) RefundResponseMessage#getRefund() → {payments.Refund}
Get the field value
The refund
Returns:
- Type
- payments.Refund
(static) RefundResponseMessage#setCode(code)
Set the field value
Transaction state (success|fail)
Parameters:
Name | Type | Description |
---|---|---|
code |
remotemessage.TxState |
(static) RefundResponseMessage#setMessage(message)
Set the field value
Detail message
Parameters:
Name | Type | Description |
---|---|---|
message |
String |
(static) RefundResponseMessage#setOrderId(orderId)
Set the field value
Unique identifier for a order
Parameters:
Name | Type | Description |
---|---|---|
orderId |
String |
(static) RefundResponseMessage#setPaymentId(paymentId)
Set the field value
Unique identifier for a payment
Parameters:
Name | Type | Description |
---|---|---|
paymentId |
String |
(static) RefundResponseMessage#setReason(reason)
Set the field value
Detail code if an error is encountered
Parameters:
Name | Type | Description |
---|---|---|
reason |
remotemessage.ErrorCode |
(static) RefundResponseMessage#setRefund(refund)
Set the field value
The refund
Parameters:
Name | Type | Description |
---|---|---|
refund |
payments.Refund |