public class CapturePreAuthResponse extends BaseResponse
| Constructor and Description |
|---|
CapturePreAuthResponse(boolean success,
ResultCode result)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getAmount()
Get the field value
|
java.lang.String |
getPaymentID()
Get the field value
|
long |
getTipAmount()
Get the field value
|
void |
setAmount(long amount)
Set the field value
|
void |
setPaymentID(java.lang.String paymentID)
Set the field value
|
void |
setTipAmount(long tipAmount)
Set the field value
|
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccesspublic CapturePreAuthResponse(boolean success,
ResultCode result)
success - If true then the requested operation succeededresult - The result of the requested operationpublic java.lang.String getPaymentID()
public void setPaymentID(java.lang.String paymentID)
paymentID - ID of the pre-auth payment being capturedpublic java.lang.Long getAmount()
public void setAmount(long amount)
amount - the base amount of the capturepublic long getTipAmount()
public void setTipAmount(long tipAmount)
tipAmount - additional tip amount for the capture