Class RetrievePaymentResponse
java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.RetrievePaymentResponse
Response object for a retrieve payment request
-
Constructor Summary
ConstructorsConstructorDescriptionRetrievePaymentResponse(ResultCode code, String reason, String message, String externalPaymentId, com.clover.remote.QueryStatus queryStatus, com.clover.sdk.v3.payments.Payment payment) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the field valuecom.clover.sdk.v3.payments.PaymentGet the field valuecom.clover.remote.QueryStatusGet the field valueMethods inherited from class com.clover.remote.client.messages.BaseResponse
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
-
Constructor Details
-
RetrievePaymentResponse
public RetrievePaymentResponse(ResultCode code, String reason, String message, String externalPaymentId, com.clover.remote.QueryStatus queryStatus, com.clover.sdk.v3.payments.Payment payment) Constructor- Parameters:
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 found
-
-
Method Details
-
getExternalPaymentId
Get the field value- Returns:
- the request external payment id
-
getPayment
public com.clover.sdk.v3.payments.Payment getPayment()Get the field value- Returns:
- the payment object, if found
-
getQueryStatus
public com.clover.remote.QueryStatus getQueryStatus()Get the field value- Returns:
- the status of the payment
-