Class PaymentLinkResponse

java.lang.Object
com.onlinepayments.domain.PaymentLinkResponse

public class PaymentLinkResponse extends Object
  • Constructor Details

    • PaymentLinkResponse

      public PaymentLinkResponse()
  • Method Details

    • getExpirationDate

      public ZonedDateTime getExpirationDate()
      The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset.
    • setExpirationDate

      public void setExpirationDate(ZonedDateTime value)
      The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset.
    • withExpirationDate

      public PaymentLinkResponse withExpirationDate(ZonedDateTime value)
      The date after which the payment link will not be usable to complete the payment. The date will contain the UTC offset.
    • getPaymentId

      public String getPaymentId()
      The unique payment transaction identifier. This id is only set when a payment was processed with this payment link.
    • setPaymentId

      public void setPaymentId(String value)
      The unique payment transaction identifier. This id is only set when a payment was processed with this payment link.
    • withPaymentId

      public PaymentLinkResponse withPaymentId(String value)
      The unique payment transaction identifier. This id is only set when a payment was processed with this payment link.
    • getPaymentLinkEvents

      public List<PaymentLinkEvent> getPaymentLinkEvents()
    • setPaymentLinkEvents

      public void setPaymentLinkEvents(List<PaymentLinkEvent> value)
    • withPaymentLinkEvents

      public PaymentLinkResponse withPaymentLinkEvents(List<PaymentLinkEvent> value)
    • getPaymentLinkId

      public String getPaymentLinkId()
      The unique link identifier.
    • setPaymentLinkId

      public void setPaymentLinkId(String value)
      The unique link identifier.
    • withPaymentLinkId

      public PaymentLinkResponse withPaymentLinkId(String value)
      The unique link identifier.
    • getPaymentLinkOrder

      public PaymentLinkOrderOutput getPaymentLinkOrder()
      An object containing the details of the related payment output.
    • setPaymentLinkOrder

      public void setPaymentLinkOrder(PaymentLinkOrderOutput value)
      An object containing the details of the related payment output.
    • withPaymentLinkOrder

      public PaymentLinkResponse withPaymentLinkOrder(PaymentLinkOrderOutput value)
      An object containing the details of the related payment output.
    • getRecipientName

      public String getRecipientName()
      The payment link recipient name.
    • setRecipientName

      public void setRecipientName(String value)
      The payment link recipient name.
    • withRecipientName

      public PaymentLinkResponse withRecipientName(String value)
      The payment link recipient name.
    • getRedirectionUrl

      public String getRedirectionUrl()
      The URL that will redirect the customer to the Hosted Checkout page to process the payment.
    • setRedirectionUrl

      public void setRedirectionUrl(String value)
      The URL that will redirect the customer to the Hosted Checkout page to process the payment.
    • withRedirectionUrl

      public PaymentLinkResponse withRedirectionUrl(String value)
      The URL that will redirect the customer to the Hosted Checkout page to process the payment.
    • getStatus

      public String 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

      public void setStatus(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.
    • withStatus

      public PaymentLinkResponse 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.