public class WebProfile extends PayPalResource
| Constructor and Description |
|---|
WebProfile()
Default Constructor
|
WebProfile(java.lang.String name)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
CreateProfileResponse |
create(APIContext apiContext)
Creates a web experience profile.
|
CreateProfileResponse |
create(java.lang.String accessToken)
Deprecated.
Please use
create(APIContext) instead. |
void |
delete(APIContext apiContext)
Deletes a web experience profile, by ID.
|
void |
delete(java.lang.String accessToken)
Deprecated.
Please use
delete(APIContext) instead. |
boolean |
equals(java.lang.Object o) |
static WebProfile |
get(APIContext apiContext,
java.lang.String profileId)
Shows details for a web experience profile, by ID.
|
static WebProfile |
get(java.lang.String accessToken,
java.lang.String profileId)
Deprecated.
Please use
get(APIContext, String) instead. |
FlowConfig |
getFlowConfig()
Parameters for flow configuration.
|
java.lang.String |
getId()
The unique ID of the web experience profile.
|
InputFields |
getInputFields()
Parameters for input fields customization.
|
static java.util.List<WebProfile> |
getList(APIContext apiContext)
Lists all web experience profiles for a merchant or subject.
|
static java.util.List<WebProfile> |
getList(java.lang.String accessToken)
Deprecated.
Please use
getList(APIContext) instead. |
java.lang.String |
getName()
The web experience profile name.
|
Presentation |
getPresentation()
Parameters for style and presentation.
|
java.lang.Boolean |
getTemporary()
Indicates whether the profile persists for three hours or permanently.
|
int |
hashCode() |
void |
partialUpdate(APIContext apiContext,
PatchRequest patchRequest)
Partially-updates a web experience profile.
|
void |
partialUpdate(java.lang.String accessToken,
PatchRequest patchRequest)
Deprecated.
Please use
partialUpdate(APIContext, PatchRequest) instead. |
WebProfile |
setFlowConfig(FlowConfig flowConfig)
Parameters for flow configuration.
|
WebProfile |
setId(java.lang.String id)
The unique ID of the web experience profile.
|
WebProfile |
setInputFields(InputFields inputFields)
Parameters for input fields customization.
|
WebProfile |
setName(java.lang.String name)
The web experience profile name.
|
WebProfile |
setPresentation(Presentation presentation)
Parameters for style and presentation.
|
WebProfile |
setTemporary(java.lang.Boolean temporary)
Indicates whether the profile persists for three hours or permanently.
|
void |
update(APIContext apiContext)
Updates a web experience profile.
|
void |
update(java.lang.String accessToken)
Deprecated.
Please use
update(APIContext) instead. |
configureAndExecute, configureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientCredential, getClientID, getClientSecret, getConfigurations, getCredential, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaulttoJSON, toStringpublic WebProfile()
public WebProfile(java.lang.String name)
public CreateProfileResponse create(java.lang.String accessToken) throws PayPalRESTException
create(APIContext) instead.accessToken - Access Token used for the API call.PayPalRESTExceptionpublic CreateProfileResponse create(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionpublic void update(java.lang.String accessToken)
throws PayPalRESTException
update(APIContext) instead.accessToken - Access Token used for the API call.PayPalRESTExceptionpublic void update(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionpublic void partialUpdate(java.lang.String accessToken,
PatchRequest patchRequest)
throws PayPalRESTException
partialUpdate(APIContext, PatchRequest) instead.accessToken - Access Token used for the API call.patchRequest - PatchRequestPayPalRESTExceptionpublic void partialUpdate(APIContext apiContext, PatchRequest patchRequest) throws PayPalRESTException
apiContext - APIContext used for the API call.patchRequest - PatchRequestPayPalRESTExceptionpublic static WebProfile get(java.lang.String accessToken, java.lang.String profileId) throws PayPalRESTException
get(APIContext, String) instead.accessToken - Access Token used for the API call.profileId - StringPayPalRESTExceptionpublic static WebProfile get(APIContext apiContext, java.lang.String profileId) throws PayPalRESTException
apiContext - APIContext used for the API call.profileId - StringPayPalRESTExceptionpublic static java.util.List<WebProfile> getList(java.lang.String accessToken) throws PayPalRESTException
getList(APIContext) instead.accessToken - Access Token used for the API call.PayPalRESTExceptionpublic static java.util.List<WebProfile> getList(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionpublic void delete(java.lang.String accessToken)
throws PayPalRESTException
delete(APIContext) instead.accessToken - Access Token used for the API call.PayPalRESTExceptionpublic void delete(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionpublic java.lang.String getId()
public java.lang.String getName()
public java.lang.Boolean getTemporary()
public FlowConfig getFlowConfig()
public InputFields getInputFields()
public Presentation getPresentation()
public WebProfile setId(java.lang.String id)
public WebProfile setName(java.lang.String name)
public WebProfile setTemporary(java.lang.Boolean temporary)
public WebProfile setFlowConfig(FlowConfig flowConfig)
public WebProfile setInputFields(InputFields inputFields)
public WebProfile setPresentation(Presentation presentation)
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