public class AccessTokenRequest extends PayPalBaseRequest
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
OAUTH_TOKEN_RESOURCE_PATH |
Constructor and Description |
---|
AccessTokenRequest() |
Modifier and Type | Method and Description |
---|---|
static PayPalRequest |
create(PayPalPlusCredentials credentials) |
private static java.lang.String |
getPayload(PayPalPlusCredentials credentials) |
java.lang.String |
getRequestBody() |
boolean |
isBasicAuthAvailable() |
addHttpHeader, getAccessToken, getContentType, getHttpHeaders, getHttpMethod, getPayload, getPayPalPlusOAuth2Credentials, getTargetResource, setContentType, setHttpMethod, setPayload, setPayPalPlusOAuth2Credentials, setTargetResouce
private static final java.lang.String OAUTH_TOKEN_RESOURCE_PATH
public static PayPalRequest create(PayPalPlusCredentials credentials)
public boolean isBasicAuthAvailable()
isBasicAuthAvailable
in interface PayPalRequest
isBasicAuthAvailable
in class PayPalBaseRequest
private static java.lang.String getPayload(PayPalPlusCredentials credentials)
public java.lang.String getRequestBody()
getRequestBody
in interface PayPalRequest
getRequestBody
in class PayPalBaseRequest