Class Recipient.RecipientBuilder

  • Enclosing class:
    Recipient

    public static class Recipient.RecipientBuilder
    extends java.lang.Object
    • Method Detail

      • dob

        public Recipient.RecipientBuilder dob​(java.time.Instant dob)
        The recipient's date of birth, in the format YYYY-MM-DD.
        Returns:
        this.
      • accountNumber

        public Recipient.RecipientBuilder accountNumber​(java.lang.String accountNumber)
        An identifier related to the primary recipient's account. For example, an IBAN, an internal account number, a phone number, or the first six and last four digits of the PAN.
        Returns:
        this.
      • firstName

        public Recipient.RecipientBuilder firstName​(java.lang.String firstName)
        The recipient's first name.
        Returns:
        this.
      • toString

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