public class AuthRequest extends TransactionRequest
| Constructor and Description |
|---|
AuthRequest(long amount,
java.lang.String externalId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAllowOfflinePayment()
Get the field value
|
java.lang.Boolean |
getApproveOfflinePaymentWithoutPrompt()
Get the field value
|
java.lang.Boolean |
getDisableCashback()
Get the field value
|
java.lang.Boolean |
getForceOfflinePayment()
Get the field value
|
java.lang.Long |
getTaxAmount()
Get the field value
|
java.lang.Long |
getTippableAmount()
Get the field value
|
com.clover.common2.payments.PayIntent.TransactionType |
getType()
Get the field value
|
void |
setAllowOfflinePayment(java.lang.Boolean allowOfflinePayment)
Set the field value
|
void |
setApproveOfflinePaymentWithoutPrompt(java.lang.Boolean approveOfflinePaymentWithoutPrompt)
Set the field value
|
void |
setDisableCashback(java.lang.Boolean disableCashback)
Set the field value
|
void |
setForceOfflinePayment(java.lang.Boolean forceOfflinePayment)
Set the field value
|
void |
setTaxAmount(java.lang.Long taxAmount)
Set the field value
|
void |
setTippableAmount(java.lang.Long tippableAmount)
Set the field value
|
getAmount, getAutoAcceptPaymentConfirmations, getAutoAcceptSignature, getCardEntryMethods, getCardNotPresent, getDisableDuplicateChecking, getDisablePrinting, getDisableReceiptSelection, getDisableRestartTransactionOnFail, getExternalId, getSignatureEntryLocation, getSignatureThreshold, getVaultedCard, setAmount, setAutoAcceptPaymentConfirmations, setAutoAcceptSignature, setCardEntryMethods, setCardNotPresent, setDisableDuplicateChecking, setDisablePrinting, setDisableReceiptSelection, setDisableRestartTransactionOnFail, setExternalId, setSignatureEntryLocation, setSignatureThreshold, setVaultedCardpublic AuthRequest(long amount,
java.lang.String externalId)
amount - The amount of the transaction. This includes amount, tax, service charges, etc. except the tipexternalId - An id assigned by the POS that can be used to track a payment through the Clover systempublic void setDisableCashback(java.lang.Boolean disableCashback)
disableCashback - If true then do not allow cash backpublic java.lang.Boolean getDisableCashback()
public void setTaxAmount(java.lang.Long taxAmount)
taxAmount - Amount paid in taxespublic java.lang.Long getTaxAmount()
public void setAllowOfflinePayment(java.lang.Boolean allowOfflinePayment)
allowOfflinePayment - If true then offline payments can be acceptedpublic void setForceOfflinePayment(java.lang.Boolean forceOfflinePayment)
forceOfflinePayment - If true then the payment will be taken offlinepublic java.lang.Boolean getAllowOfflinePayment()
public java.lang.Boolean getForceOfflinePayment()
public void setApproveOfflinePaymentWithoutPrompt(java.lang.Boolean approveOfflinePaymentWithoutPrompt)
approveOfflinePaymentWithoutPrompt - If true then offline payments will be approved without a prompt.public java.lang.Boolean getApproveOfflinePaymentWithoutPrompt()
public com.clover.common2.payments.PayIntent.TransactionType getType()
TransactionRequestgetType in class TransactionRequestpublic java.lang.Long getTippableAmount()
public void setTippableAmount(java.lang.Long tippableAmount)
tippableAmount - If true then offline payments will be approved without a prompt. Currently must be true.