public class Templates extends PayPalResource
| Constructor and Description |
|---|
Templates()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
static Template |
get(APIContext apiContext,
java.lang.String templateId)
Deprecated.
Please use
Template.get(APIContext, String) instead. |
java.util.List<Address> |
getAddresses()
List of addresses in merchant's profile.
|
static Templates |
getAll(APIContext apiContext)
Retrieves the template information of the merchant.
|
java.util.List<java.lang.String> |
getEmails()
List of emails in merchant's profile.
|
java.util.List<Links> |
getLinks()
HATEOS links representing all the actions over the template list returned.
|
java.util.List<Phone> |
getPhones()
List of phone numbers in merchant's profile.
|
java.util.List<Template> |
getTemplates()
Array of templates.
|
int |
hashCode() |
Templates |
setAddresses(java.util.List<Address> addresses)
List of addresses in merchant's profile.
|
Templates |
setEmails(java.util.List<java.lang.String> emails)
List of emails in merchant's profile.
|
Templates |
setLinks(java.util.List<Links> links)
HATEOS links representing all the actions over the template list returned.
|
Templates |
setPhones(java.util.List<Phone> phones)
List of phone numbers in merchant's profile.
|
Templates |
setTemplates(java.util.List<Template> templates)
Array of templates.
|
configureAndExecute, configureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientCredential, getClientID, getClientSecret, getConfigurations, getCredential, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaulttoJSON, toStringpublic static Template get(APIContext apiContext, java.lang.String templateId) throws PayPalRESTException
Template.get(APIContext, String) instead.apiContext - APIContext used for the API call.templateId - StringPayPalRESTExceptionpublic static Templates getAll(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionpublic java.util.List<Address> getAddresses()
public java.util.List<java.lang.String> getEmails()
public java.util.List<Phone> getPhones()
public java.util.List<Template> getTemplates()
public java.util.List<Links> getLinks()
public Templates setAddresses(java.util.List<Address> addresses)
public Templates setEmails(java.util.List<java.lang.String> emails)
public Templates setPhones(java.util.List<Phone> phones)
public Templates setTemplates(java.util.List<Template> templates)
public Templates setLinks(java.util.List<Links> links)
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