public class Refund extends PayPalResource
| Constructor and Description |
|---|
Refund()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Refund |
get(APIContext apiContext,
String refundId)
Obtain the Refund transaction resource for the given identifier.
|
static Refund |
get(String accessToken,
String refundId)
Obtain the Refund transaction resource for the given identifier.
|
Amount |
getAmount()
Getter for amount
|
String |
getCaptureId()
Getter for captureId
|
String |
getCreateTime()
Getter for createTime
|
String |
getDescription()
Getter for description
|
String |
getId()
Getter for id
|
List<Links> |
getLinks()
Getter for links
|
String |
getParentPayment()
Getter for parentPayment
|
String |
getSaleId()
Getter for saleId
|
String |
getState()
Getter for state
|
String |
getUpdateTime()
Getter for updateTime
|
Refund |
setAmount(Amount amount)
Setter for amount
|
Refund |
setCaptureId(String captureId)
Setter for captureId
|
Refund |
setCreateTime(String createTime)
Setter for createTime
|
Refund |
setDescription(String description)
Setter for description
|
Refund |
setId(String id)
Setter for id
|
Refund |
setLinks(List<Links> links)
Setter for links
|
Refund |
setParentPayment(String parentPayment)
Setter for parentPayment
|
Refund |
setSaleId(String saleId)
Setter for saleId
|
Refund |
setState(String state)
Setter for state
|
Refund |
setUpdateTime(String updateTime)
Setter for updateTime
|
configureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientID, getClientSecret, getConfigurations, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaultequals, hashCode, toJSON, toStringpublic String getId()
public String getCreateTime()
public String getUpdateTime()
public Amount getAmount()
public String getState()
public String getSaleId()
public String getCaptureId()
public String getParentPayment()
public String getDescription()
public static Refund get(String accessToken, String refundId) throws PayPalRESTException
accessToken - Access Token used for the API call.refundId - StringPayPalRESTExceptionpublic static Refund get(APIContext apiContext, String refundId) throws PayPalRESTException
apiContext - APIContext used for the API call.refundId - StringPayPalRESTExceptionCopyright © 2015. All Rights Reserved.