public class BillingInfo extends PayPalModel
| Constructor and Description |
|---|
BillingInfo()
Default Constructor
|
BillingInfo(java.lang.String email)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAdditionalInfo()
Additional information, such as business hours.
|
InvoiceAddress |
getAddress()
The invoice recipient address.
|
java.lang.String |
getBusinessName()
The invoice recipient company business name.
|
java.lang.String |
getEmail()
The invoice recipient email address.
|
java.lang.String |
getFirstName()
The invoice recipient first name.
|
java.lang.String |
getLanguage()
The language in which the email was sent to the payer.
|
java.lang.String |
getLastName()
The invoice recipient last name.
|
java.lang.String |
getNotificationChannel()
Preferred notification channel of the payer.
|
Phone |
getPhone()
Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.
|
int |
hashCode() |
BillingInfo |
setAdditionalInfo(java.lang.String additionalInfo)
Additional information, such as business hours.
|
BillingInfo |
setAddress(InvoiceAddress address)
The invoice recipient address.
|
BillingInfo |
setBusinessName(java.lang.String businessName)
The invoice recipient company business name.
|
BillingInfo |
setEmail(java.lang.String email)
The invoice recipient email address.
|
BillingInfo |
setFirstName(java.lang.String firstName)
The invoice recipient first name.
|
BillingInfo |
setLanguage(java.lang.String language)
The language in which the email was sent to the payer.
|
BillingInfo |
setLastName(java.lang.String lastName)
The invoice recipient last name.
|
BillingInfo |
setNotificationChannel(java.lang.String notificationChannel)
Preferred notification channel of the payer.
|
BillingInfo |
setPhone(Phone phone)
Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.
|
toJSON, toStringpublic BillingInfo()
public BillingInfo(java.lang.String email)
public java.lang.String getEmail()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getBusinessName()
public InvoiceAddress getAddress()
public java.lang.String getLanguage()
public java.lang.String getAdditionalInfo()
public java.lang.String getNotificationChannel()
public Phone getPhone()
public BillingInfo setEmail(java.lang.String email)
public BillingInfo setFirstName(java.lang.String firstName)
public BillingInfo setLastName(java.lang.String lastName)
public BillingInfo setBusinessName(java.lang.String businessName)
public BillingInfo setAddress(InvoiceAddress address)
public BillingInfo setLanguage(java.lang.String language)
public BillingInfo setAdditionalInfo(java.lang.String additionalInfo)
public BillingInfo setNotificationChannel(java.lang.String notificationChannel)
public BillingInfo setPhone(Phone phone)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel