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, setSuccess
public 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