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.
|
Tokeninfo |
getTokeninfo(CreateFromAuthorizationCodeParameters params) |
Tokeninfo |
getTokeninfo(CreateFromRefreshTokenParameters params,
Tokeninfo info) |
create, create, execute, execute, get, get, getBillingAgreementTokens, getCart, getCreateTime, getCreditFinancingOffered, getExperienceProfileId, getFailedTransactions, getFailureReason, getId, getIntent, getLastRequest, getLastResponse, getLinks, getNoteToPayer, getPayee, getPayer, getPaymentInstruction, getPotentialPayerInfo, getRedirectUrls, getState, getTransactions, getUpdateTime, list, list, setBillingAgreementTokens, setCart, setCreateTime, setCreditFinancingOffered, setExperienceProfileId, setFailedTransactions, setFailureReason, setId, setIntent, setLinks, setNoteToPayer, setPayee, setPayer, setPaymentInstruction, setPotentialPayerInfo, setRedirectUrls, setState, setTransactions, setUpdateTime, update, updateconfigureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientCredential, getClientID, getClientSecret, getConfigurations, 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
PayPalRESTExceptionCopyright © 2016. All Rights Reserved.