Class Payer

    • Constructor Detail

      • Payer

        public Payer()
    • Method Detail

      • setEmailAddress

        public void setEmailAddress​(String emailAddress)
        The email address of the payer.
      • setPayerId

        public void setPayerId​(String payerId)
        The PayPal-assigned ID for the payer.
      • setAddressPortable

        public void setAddressPortable​(AddressPortable addressPortable)
        The address of the payer. Supports only the "address_line_1", "address_line_2", "admin_area_1", "admin_area_2", "postal_code", and "country_code" properties. Also referred to as the billing address of the customer.
      • setBirthDate

        public void setBirthDate​(String birthDate)
        The birth date of the payer in "YYYY-MM-DD" format.
      • setName

        public void setName​(Name name)
        The name of the payer. Supports only the "given_name" and "surname" properties.
      • setPhone

        public void setPhone​(PhoneWithType phone)
        The phone number of the customer. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant's PayPal account. The "phone.phone_number" supports only national_number.
      • setTaxInfo

        public void setTaxInfo​(TaxInfo taxInfo)
        The tax information of the payer. Required only for Brazilian payer's. Both "tax_id" and "tax_id_type" are required.
      • getEmailAddress

        public String getEmailAddress()
        The email address of the payer.
      • getPayerId

        public String getPayerId()
        The PayPal-assigned ID for the payer.
      • getAddressPortable

        public AddressPortable getAddressPortable()
        The address of the payer. Supports only the "address_line_1", "address_line_2", "admin_area_1", "admin_area_2", "postal_code", and "country_code" properties. Also referred to as the billing address of the customer.
      • getBirthDate

        public String getBirthDate()
        The birth date of the payer in "YYYY-MM-DD" format.
      • getName

        public Name getName()
        The name of the payer. Supports only the "given_name" and "surname" properties.
      • getPhone

        public PhoneWithType getPhone()
        The phone number of the customer. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant's PayPal account. The "phone.phone_number" supports only national_number.
      • getTaxInfo

        public TaxInfo getTaxInfo()
        The tax information of the payer. Required only for Brazilian payer's. Both "tax_id" and "tax_id_type" are required.