public class RetrievePaymentResponse extends BaseResponse
Constructor and Description |
---|
RetrievePaymentResponse(ResultCode code,
java.lang.String reason,
java.lang.String message,
java.lang.String externalPaymentId,
com.clover.remote.QueryStatus queryStatus,
com.clover.sdk.v3.payments.Payment payment)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalPaymentId()
Get the field value
|
com.clover.sdk.v3.payments.Payment |
getPayment()
Get the field value
|
com.clover.remote.QueryStatus |
getQueryStatus()
Get the field value
|
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
public RetrievePaymentResponse(ResultCode code, java.lang.String reason, java.lang.String message, java.lang.String externalPaymentId, com.clover.remote.QueryStatus queryStatus, com.clover.sdk.v3.payments.Payment payment)
code
- The result of the requested operationmessage
- Detailed information about resultexternalPaymentId
- the request external payment idqueryStatus
- the status of the paymentpayment
- the payment object, if foundpublic java.lang.String getExternalPaymentId()
public com.clover.sdk.v3.payments.Payment getPayment()
public com.clover.remote.QueryStatus getQueryStatus()