Class Payer
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.Payer
-
- All Implemented Interfaces:
Serializable
public class Payer extends Object implements Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Payer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressPortable
getAddressPortable()
The address of the payer.String
getBirthDate()
The birth date of the payer in "YYYY-MM-DD" format.String
getEmailAddress()
The email address of the payer.Name
getName()
The name of the payer.String
getPayerId()
The PayPal-assigned ID for the payer.PhoneWithType
getPhone()
The phone number of the customer.TaxInfo
getTaxInfo()
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
setName(Name name)
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.
-
-
-
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.
-
-