Class Paypal

    • Constructor Detail

      • Paypal

        public Paypal()
    • Method Detail

      • emailAddress

        public Paypal emailAddress​(String emailAddress)
      • setAccountId

        public void setAccountId​(String accountId)
        The PayPal-assigned ID for the PayPal account holder.
      • setAddress

        public void setAddress​(AddressPortable address)
        The address of the PayPal account holder. 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 PayPal account holder in "YYYY-MM-DD" format.
      • setEmailAddress

        public void setEmailAddress​(String emailAddress)
        The email address of the PayPal account holder.
      • setName

        public void setName​(Name name)
        The name of the PayPal account holder. Supports only the "given_name" and "surname" properties.
      • setPhoneNumber

        public void setPhoneNumber​(Phone phoneNumber)
        The phone number, in its canonical international E.164 numbering plan format. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant's PayPal account. Supports only the "national_number" property.
      • setPhoneType

        public void setPhoneType​(String phoneType)
        The phone type. The possible values are:
        • FAX. A fax machine.
        • HOME. A home phone.
        • MOBILE. A mobile phone.
        • OTHER. Other.
        • PAGER. A pager.
        • WORK. A work phone.
      • setExperienceContext

        public void setExperienceContext​(ExperienceContext experienceContext)
        Customizes the payer experience during the approval process for the payment.
      • setTaxInfo

        public void setTaxInfo​(TaxInfo taxInfo)
        The tax information of the PayPal account holder. Required only for Brazilian PayPal account holder's. Both tax_id and tax_id_type are required.
      • getAccountId

        public String getAccountId()
        The PayPal-assigned ID for the PayPal account holder.
      • getAddress

        public AddressPortable getAddress()
        The address of the PayPal account holder. 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 PayPal account holder in "YYYY-MM-DD" format.
      • getEmailAddress

        public String getEmailAddress()
        The email address of the PayPal account holder.
      • getName

        public Name getName()
        The name of the PayPal account holder. Supports only the "given_name" and "surname" properties.
      • getPhoneNumber

        public Phone getPhoneNumber()
        The phone number, in its canonical international E.164 numbering plan format. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant's PayPal account. Supports only the "national_number" property.
      • getPhoneType

        public String getPhoneType()
        The phone type. The possible values are:
        • FAX. A fax machine.
        • HOME. A home phone.
        • MOBILE. A mobile phone.
        • OTHER. Other.
        • PAGER. A pager.
        • WORK. A work phone.
      • getExperienceContext

        public ExperienceContext getExperienceContext()
        Customizes the payer experience during the approval process for the payment.
      • getTaxInfo

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