Class PaymentLinkDisplayOptions


  • public class PaymentLinkDisplayOptions
    extends java.lang.Object
    PaymentLinkDisplayOptions

    Customizable display options for a payment link.

    • Constructor Detail

      • PaymentLinkDisplayOptions

        public PaymentLinkDisplayOptions​(java.lang.String title,
                                         java.lang.String description,
                                         CallToAction callToAction)
    • Method Detail

      • title

        public java.lang.String title()
        The payment page title displayed to the user.
      • description

        public java.lang.String description()
        A payment description displayed to the user.
      • callToAction

        public CallToAction callToAction()
        The text to be displayed on web form's submit button.

        If set to "auto" the UI will automatically select between "pay" and "confirm" for payments and payouts respectively.

      • withTitle

        public PaymentLinkDisplayOptions withTitle​(java.lang.String title)
        The payment page title displayed to the user.
      • withDescription

        public PaymentLinkDisplayOptions withDescription​(java.lang.String description)
        A payment description displayed to the user.
      • withCallToAction

        public PaymentLinkDisplayOptions withCallToAction​(CallToAction callToAction)
        The text to be displayed on web form's submit button.

        If set to "auto" the UI will automatically select between "pay" and "confirm" for payments and payouts respectively.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object