| Package | Description |
|---|---|
| com.paypal.api.payments |
| Modifier and Type | Class and Description |
|---|---|
class |
FuturePayment |
| Modifier and Type | Method and Description |
|---|---|
Payment |
Payment.create(APIContext apiContext)
Creates (and processes) a new Payment Resource.
|
Payment |
Payment.create(String accessToken)
Creates (and processes) a new Payment Resource.
|
Payment |
FuturePayment.create(String accessToken,
String correlationId)
Creates a future payment using either authorization code or refresh token with correlation ID.
|
Payment |
Payment.execute(APIContext apiContext,
PaymentExecution paymentExecution)
Executes the payment (after approved by the Payer) associated with this resource when the payment method is PayPal.
|
Payment |
Payment.execute(String accessToken,
PaymentExecution paymentExecution)
Executes the payment (after approved by the Payer) associated with this resource when the payment method is PayPal.
|
static Payment |
Payment.get(APIContext apiContext,
String paymentId)
Obtain the Payment resource for the given identifier.
|
static Payment |
Payment.get(String accessToken,
String paymentId)
Obtain the Payment resource for the given identifier.
|
Payment |
Payment.setCart(Object cart)
Setter for cart
|
Payment |
Payment.setCreateTime(String createTime)
Setter for createTime
|
Payment |
Payment.setId(String id)
Setter for id
|
Payment |
Payment.setIntent(String intent)
Setter for intent
|
Payment |
Payment.setLinks(List<Links> links)
Setter for links
|
Payment |
Payment.setPayee(Payee payee) |
Payment |
Payment.setPayer(Payer payer)
Setter for payer
|
Payment |
Payment.setRedirectUrls(RedirectUrls redirectUrls)
Setter for redirectUrls
|
Payment |
Payment.setState(String state)
Setter for state
|
Payment |
Payment.setTransactions(List<Transaction> transactions)
Setter for transactions
|
Payment |
Payment.setUpdateTime(String updateTime)
Setter for updateTime
|
| Modifier and Type | Method and Description |
|---|---|
List<Payment> |
PaymentHistory.getPayments()
Getter for payments
|
| Modifier and Type | Method and Description |
|---|---|
PaymentHistory |
PaymentHistory.setPayments(List<Payment> payments)
Setter for payments
|
Copyright © 2015. All Rights Reserved.