Class PaymentLinkCustomerOptions.Builder

  • Enclosing class:
    PaymentLinkCustomerOptions

    public static final class PaymentLinkCustomerOptions.Builder
    extends java.lang.Object
    • Method Detail

      • requireAddress

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

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

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

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

        public PaymentLinkCustomerOptions.Builder metadata​(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.