Class PaymentLinkCustomerOptions


  • public class PaymentLinkCustomerOptions
    extends java.lang.Object
    • Constructor Detail

      • PaymentLinkCustomerOptions

        public PaymentLinkCustomerOptions​(java.util.Optional<java.lang.Boolean> requireAddress,
                                          java.util.Optional<java.lang.Boolean> requirePhone,
                                          java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.String>> metadata)
      • PaymentLinkCustomerOptions

        public PaymentLinkCustomerOptions()
    • Method Detail

      • requireAddress

        public java.util.Optional<java.lang.Boolean> requireAddress()
        If true, a billing address is required when completing the payment form.
      • requirePhone

        public java.util.Optional<java.lang.Boolean> requirePhone()
        If true, a phone number is required when completing the payment form.
      • metadata

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> metadata()
        Optional free-form metadata for the Moov account that will represent this customer.
      • withRequireAddress

        public PaymentLinkCustomerOptions withRequireAddress​(boolean requireAddress)
        If true, a billing address is required when completing the payment form.
      • withRequireAddress

        public PaymentLinkCustomerOptions withRequireAddress​(java.util.Optional<java.lang.Boolean> requireAddress)
        If true, a billing address is required when completing the payment form.
      • withRequirePhone

        public PaymentLinkCustomerOptions withRequirePhone​(boolean requirePhone)
        If true, a phone number is required when completing the payment form.
      • withRequirePhone

        public PaymentLinkCustomerOptions withRequirePhone​(java.util.Optional<java.lang.Boolean> requirePhone)
        If true, a phone number is required when completing the payment form.
      • withMetadata

        public PaymentLinkCustomerOptions withMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Optional free-form metadata for the Moov account that will represent this customer.
      • withMetadata

        public PaymentLinkCustomerOptions withMetadata​(java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Optional free-form metadata for the Moov account that will represent this customer.
      • 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