Class CapturePreAuthRequest
java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.CapturePreAuthRequest
Request to capture a payment that had been previously
obtained from a preAuth(PreAuthRequest request) call
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the field valueGet the field valueGet the field valuevoidsetAmount(long amount) Set the field valuevoidsetPaymentId(String paymentId) Set the field valuevoidsetTipAmount(Long tipAmount) Set the field value
-
Constructor Details
-
CapturePreAuthRequest
public CapturePreAuthRequest()
-
-
Method Details
-
getPaymentId
Get the field value- Returns:
- unique identifier for the payment
-
setPaymentId
Set the field value- Parameters:
paymentId- unique identifier for the payment
-
getAmount
public long getAmount()Get the field value- Returns:
- total amount paid
-
setAmount
public void setAmount(long amount) Set the field value- Parameters:
amount- total amount paid
-
getTipAmount
Get the field value- Returns:
- amount paid in tips
-
setTipAmount
Set the field value- Parameters:
tipAmount- amount paid in tips
-