public class FuturePayment extends Payment
| Constructor and Description |
|---|
FuturePayment() |
| Modifier and Type | Method and Description |
|---|---|
Payment |
create(String accessToken,
String correlationId)
Creates a future payment using either authorization code or refresh token with correlation ID.
|
ClientCredentials |
getClientCredential() |
Tokeninfo |
getTokeninfo(CreateFromAuthorizationCodeParameters params) |
Tokeninfo |
getTokeninfo(CreateFromRefreshTokenParameters params,
Tokeninfo info) |
create, create, execute, execute, get, get, getCart, getCreateTime, getExperienceProfileId, getId, getIntent, getLinks, getPayee, getPayer, getRedirectUrls, getState, getTransactions, getUpdateTime, list, list, setCart, setCreateTime, setExperienceProfileId, setId, setIntent, setLinks, setPayee, setPayer, setRedirectUrls, setState, setTransactions, setUpdateTime, update, updateconfigureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientID, getClientSecret, getConfigurations, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaultequals, hashCode, toJSON, toStringpublic Payment create(String accessToken, String correlationId) throws PayPalRESTException, FileNotFoundException, IOException
authorizationCode - an authorization codeaccessToken - an access tokencorrelationId - paypal application correlation IDPayment objectPayPalRESTExceptionIOException - thrown when config file cannot be read properlyFileNotFoundException - thrown when config file does not existpublic Tokeninfo getTokeninfo(CreateFromAuthorizationCodeParameters params) throws PayPalRESTException
PayPalRESTExceptionpublic Tokeninfo getTokeninfo(CreateFromRefreshTokenParameters params, Tokeninfo info) throws PayPalRESTException
PayPalRESTExceptionpublic ClientCredentials getClientCredential() throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionCopyright © 2015. All Rights Reserved.