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.voidsetAddressPortable(AddressPortable addressPortable) The address of the payer.voidsetBirthDate(String birthDate) The birth date of the payer in "YYYY-MM-DD" format.voidsetEmailAddress(String emailAddress) The email address of the payer.voidThe name of the payer.voidsetPayerId(String payerId) The PayPal-assigned ID for the payer.voidsetPhone(PhoneWithType phone) The phone number of the customer.voidsetTaxInfo(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.
-