Package com.onlinepayments.domain
Class PaymentLinkResponse
java.lang.Object
com.onlinepayments.domain.PaymentLinkResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe date after which the payment link will not be usable to complete the payment.The unique payment transaction identifier.The unique link identifier.An object containing the details of the related payment output.The payment link recipient name.The URL that will redirect the customer to the Hosted Checkout page to process the payment.The state of the payment link: ACTIVE: The payment link is ready to be used. PAID: The payment has been completed. CANCELLED: The payment link has been manually cancelled. EXPIRED: The payment link is not usable anymore.voidsetExpirationDate(ZonedDateTime value) The date after which the payment link will not be usable to complete the payment.voidsetPaymentId(String value) The unique payment transaction identifier.voidsetPaymentLinkEvents(List<PaymentLinkEvent> value) voidsetPaymentLinkId(String value) The unique link identifier.voidAn object containing the details of the related payment output.voidsetRecipientName(String value) The payment link recipient name.voidsetRedirectionUrl(String value) The URL that will redirect the customer to the Hosted Checkout page to process the payment.voidThe state of the payment link: ACTIVE: The payment link is ready to be used. PAID: The payment has been completed. CANCELLED: The payment link has been manually cancelled. EXPIRED: The payment link is not usable anymore.withExpirationDate(ZonedDateTime value) The date after which the payment link will not be usable to complete the payment.withPaymentId(String value) The unique payment transaction identifier.withPaymentLinkId(String value) The unique link identifier.An object containing the details of the related payment output.withRecipientName(String value) The payment link recipient name.withRedirectionUrl(String value) The URL that will redirect the customer to the Hosted Checkout page to process the payment.withStatus(String value) The state of the payment link: ACTIVE: The payment link is ready to be used. PAID: The payment has been completed. CANCELLED: The payment link has been manually cancelled. EXPIRED: The payment link is not usable anymore.
-
Constructor Details
-
PaymentLinkResponse
public PaymentLinkResponse()
-
-
Method Details
-
getExpirationDate
The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset. -
setExpirationDate
The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset. -
withExpirationDate
The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset. -
getPaymentId
The unique payment transaction identifier. This id is only set when a payment was processed with this payment link. -
setPaymentId
The unique payment transaction identifier. This id is only set when a payment was processed with this payment link. -
withPaymentId
The unique payment transaction identifier. This id is only set when a payment was processed with this payment link. -
getPaymentLinkEvents
-
setPaymentLinkEvents
-
withPaymentLinkEvents
-
getPaymentLinkId
The unique link identifier. -
setPaymentLinkId
The unique link identifier. -
withPaymentLinkId
The unique link identifier. -
getPaymentLinkOrder
An object containing the details of the related payment output. -
setPaymentLinkOrder
An object containing the details of the related payment output. -
withPaymentLinkOrder
An object containing the details of the related payment output. -
getRecipientName
The payment link recipient name. -
setRecipientName
The payment link recipient name. -
withRecipientName
The payment link recipient name. -
getRedirectionUrl
The URL that will redirect the customer to the Hosted Checkout page to process the payment. -
setRedirectionUrl
The URL that will redirect the customer to the Hosted Checkout page to process the payment. -
withRedirectionUrl
The URL that will redirect the customer to the Hosted Checkout page to process the payment. -
getStatus
The state of the payment link:- ACTIVE: The payment link is ready to be used.
- PAID: The payment has been completed.
- CANCELLED: The payment link has been manually cancelled.
- EXPIRED: The payment link is not usable anymore.
-
setStatus
The state of the payment link:- ACTIVE: The payment link is ready to be used.
- PAID: The payment has been completed.
- CANCELLED: The payment link has been manually cancelled.
- EXPIRED: The payment link is not usable anymore.
-
withStatus
The state of the payment link:- ACTIVE: The payment link is ready to be used.
- PAID: The payment has been completed.
- CANCELLED: The payment link has been manually cancelled.
- EXPIRED: The payment link is not usable anymore.
-