Package com.blockchyp.client.dto
Class PaymentLinkResponse
java.lang.Object
com.blockchyp.client.dto.PaymentLinkResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Creates a payment link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the customer id created or used for the payment.getError()Gets the error, if an error occurred.Gets the payment link code.Gets the hex encoded binary for the QR Code, if requested.Gets the url for a QR Code associated with this link.Gets a narrative description of the transaction result.getUrl()Gets the url for the payment link.booleanGets whether or not the request succeeded.voidsetCustomerId(String value) Sets the customer id created or used for the payment.voidSets the error, if an error occurred.voidsetLinkCode(String value) Sets the payment link code.voidsetQrcodeBinary(String value) Sets the hex encoded binary for the QR Code, if requested.voidsetQrcodeUrl(String value) Sets the url for a QR Code associated with this link.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidSets the url for the payment link.
-
Constructor Details
-
PaymentLinkResponse
public PaymentLinkResponse()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setLinkCode
Sets the payment link code.- Parameters:
value- the payment link code.
-
getLinkCode
Gets the payment link code.- Returns:
- the payment link code.
-
setUrl
Sets the url for the payment link.- Parameters:
value- the url for the payment link.
-
getUrl
Gets the url for the payment link.- Returns:
- the url for the payment link.
-
setQrcodeUrl
Sets the url for a QR Code associated with this link.- Parameters:
value- the url for a QR Code associated with this link.
-
getQrcodeUrl
Gets the url for a QR Code associated with this link.- Returns:
- the url for a QR Code associated with this link.
-
setQrcodeBinary
Sets the hex encoded binary for the QR Code, if requested.- Parameters:
value- the hex encoded binary for the QR Code, if requested. Encoded in PNG format.
-
getQrcodeBinary
Gets the hex encoded binary for the QR Code, if requested.- Returns:
- the hex encoded binary for the QR Code, if requested. Encoded in PNG format.
-
setCustomerId
Sets the customer id created or used for the payment.- Parameters:
value- the customer id created or used for the payment.
-
getCustomerId
Gets the customer id created or used for the payment.- Returns:
- the customer id created or used for the payment.
-