Class Paypal
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.Paypal
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemailAddress
(String emailAddress) experienceContext
(ExperienceContext experienceContext) The PayPal-assigned ID for the PayPal account holder.The address of the PayPal account holder.The birth date of the PayPal account holder in "YYYY-MM-DD" format.The email address of the PayPal account holder.Customizes the payer experience during the approval process for the payment.getName()
The name of the PayPal account holder.The phone number, in its canonical international E.164 numbering plan format.The phone type.The tax information of the PayPal account holder.void
setAccountId
(String accountId) The PayPal-assigned ID for the PayPal account holder.void
setAddress
(AddressPortable address) The address of the PayPal account holder.void
setBirthDate
(String birthDate) The birth date of the PayPal account holder in "YYYY-MM-DD" format.void
setEmailAddress
(String emailAddress) The email address of the PayPal account holder.void
setExperienceContext
(ExperienceContext experienceContext) Customizes the payer experience during the approval process for the payment.void
The name of the PayPal account holder.void
setPhoneNumber
(Phone phoneNumber) The phone number, in its canonical international E.164 numbering plan format.void
setPhoneType
(String phoneType) The phone type.void
setTaxInfo
(TaxInfo taxInfo) The tax information of the PayPal account holder.
-
Constructor Details
-
Paypal
public Paypal()
-
-
Method Details
-
emailAddress
-
experienceContext
-
setAccountId
The PayPal-assigned ID for the PayPal account holder. -
setAddress
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
The birth date of the PayPal account holder in "YYYY-MM-DD" format. -
setEmailAddress
The email address of the PayPal account holder. -
setName
The name of the PayPal account holder. Supports only the "given_name" and "surname" properties. -
setPhoneNumber
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
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
Customizes the payer experience during the approval process for the payment. -
setTaxInfo
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
The PayPal-assigned ID for the PayPal account holder. -
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
The birth date of the PayPal account holder in "YYYY-MM-DD" format. -
getEmailAddress
The email address of the PayPal account holder. -
getName
The name of the PayPal account holder. Supports only the "given_name" and "surname" properties. -
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
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
Customizes the payer experience during the approval process for the payment. -
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.
-