public class PayoutItem extends PayPalResource
| Constructor and Description |
|---|
PayoutItem()
Default Constructor
|
PayoutItem(Currency amount,
String receiver)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static PayoutItemDetails |
cancel(APIContext apiContext,
String payoutItemId)
Cancels the unclaimed payment using the items id passed in the request
URI.
|
static PayoutItemDetails |
cancel(String accessToken,
String payoutItemId)
Cancels the unclaimed payment using the items id passed in the request
URI.
|
static PayoutItemDetails |
get(APIContext apiContext,
String payoutItemId)
Obtain the status of a payout item by passing the item ID to the request
URI.
|
static PayoutItemDetails |
get(String accessToken,
String payoutItemId)
Obtain the status of a payout item by passing the item ID to the request
URI.
|
Currency |
getAmount()
Getter for amount
|
String |
getNote()
Getter for note
|
String |
getReceiver()
Getter for receiver
|
String |
getRecipientType()
Getter for recipientType
|
String |
getSenderItemId()
Getter for senderItemId
|
PayoutItem |
setAmount(Currency amount)
Setter for amount
|
PayoutItem |
setNote(String note)
Setter for note
|
PayoutItem |
setReceiver(String receiver)
Setter for receiver
|
PayoutItem |
setRecipientType(String recipientType)
Setter for recipientType
|
PayoutItem |
setSenderItemId(String senderItemId)
Setter for senderItemId
|
configureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientID, getClientSecret, getConfigurations, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaultequals, hashCode, toJSON, toStringpublic PayoutItem setRecipientType(String recipientType)
public String getRecipientType()
public PayoutItem setAmount(Currency amount)
public Currency getAmount()
public PayoutItem setNote(String note)
public String getNote()
public PayoutItem setReceiver(String receiver)
public String getReceiver()
public PayoutItem setSenderItemId(String senderItemId)
public String getSenderItemId()
public static PayoutItemDetails get(String accessToken, String payoutItemId) throws PayPalRESTException
accessToken - Access Token used for the API call.payoutItemId - StringPayPalRESTExceptionpublic static PayoutItemDetails get(APIContext apiContext, String payoutItemId) throws PayPalRESTException
apiContext - APIContext used for the API call.payoutItemId - StringPayPalRESTExceptionpublic static PayoutItemDetails cancel(String accessToken, String payoutItemId) throws PayPalRESTException
accessToken - Access Token used for the API call.payoutItemId - StringPayPalRESTExceptionpublic static PayoutItemDetails cancel(APIContext apiContext, String payoutItemId) throws PayPalRESTException
apiContext - APIContext used for the API call.payoutItemId - StringPayPalRESTExceptionCopyright © 2015. All Rights Reserved.