Class Payer
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.Payer
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe address of the payer.The birth date of the payer in "YYYY-MM-DD" format.The email address of the payer.getName()
The name of the payer.The PayPal-assigned ID for the payer.getPhone()
The phone number of the customer.The tax information of the payer.void
setAddressPortable
(AddressPortable addressPortable) The address of the payer.void
setBirthDate
(String birthDate) The birth date of the payer in "YYYY-MM-DD" format.void
setEmailAddress
(String emailAddress) The email address of the payer.void
The name of the payer.void
setPayerId
(String payerId) The PayPal-assigned ID for the payer.void
setPhone
(PhoneWithType phone) The phone number of the customer.void
setTaxInfo
(TaxInfo taxInfo) The tax information of the payer.
-
Constructor Details
-
Payer
public Payer()
-
-
Method Details
-
setEmailAddress
The email address of the payer. -
setPayerId
The PayPal-assigned ID for the payer. -
setAddressPortable
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
The birth date of the payer in "YYYY-MM-DD" format. -
setName
The name of the payer. Supports only the "given_name" and "surname" properties. -
setPhone
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
The tax information of the payer. Required only for Brazilian payer's. Both "tax_id" and "tax_id_type" are required. -
getEmailAddress
The email address of the payer. -
getPayerId
The PayPal-assigned ID for the payer. -
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
The birth date of the payer in "YYYY-MM-DD" format. -
getName
The name of the payer. Supports only the "given_name" and "surname" properties. -
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
The tax information of the payer. Required only for Brazilian payer's. Both "tax_id" and "tax_id_type" are required.
-