public abstract class TransactionRequest extends BaseTransactionRequest
SaleRequest, AuthRequest, etc.| Constructor and Description |
|---|
TransactionRequest(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 |
getAutoAcceptSignature()
Get the field value
|
java.lang.Boolean |
getDisableCashback()
Get the field value
|
java.lang.Boolean |
getForceOfflinePayment()
Get the field value
|
com.clover.sdk.v3.payments.DataEntryLocation |
getSignatureEntryLocation()
Get the field value
|
java.lang.Long |
getSignatureThreshold()
Get the field value
|
java.lang.Long |
getTaxAmount()
Get the field value
|
java.lang.Long |
getTippableAmount()
Get the field value
|
com.clover.sdk.v3.merchant.TipSuggestion[] |
getTipSuggestions()
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 |
setAutoAcceptSignature(java.lang.Boolean autoAcceptSignature)
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 |
setSignatureEntryLocation(com.clover.sdk.v3.payments.DataEntryLocation signatureEntryLocation)
Set the field value
|
void |
setSignatureThreshold(java.lang.Long signatureThreshold)
Set the field value
|
void |
setTaxAmount(java.lang.Long taxAmount)
Set the field value
|
void |
setTippableAmount(java.lang.Long tippableAmount)
Set the field value
|
void |
setTipSuggestions(com.clover.sdk.v3.merchant.TipSuggestion[] tipSuggestions)
Set the field value
|
getAmount, getAutoAcceptPaymentConfirmations, getCardEntryMethods, getCardNotPresent, getDisableDuplicateChecking, getDisablePrinting, getDisableReceiptSelection, getDisableRestartTransactionOnFail, getExternalId, getExternalReferenceId, getExtras, getRegionalExtras, getVaultedCard, setAmount, setAutoAcceptPaymentConfirmations, setCardEntryMethods, setCardNotPresent, setDisableDuplicateChecking, setDisablePrinting, setDisableReceiptSelection, setDisableRestartTransactionOnFail, setExternalId, setExternalReferenceId, setExtras, setRegionalExtras, setVaultedCardpublic TransactionRequest(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 com.clover.common2.payments.PayIntent.TransactionType getType()
BaseTransactionRequestgetType in class BaseTransactionRequestpublic void setSignatureThreshold(java.lang.Long signatureThreshold)
signatureThreshold - The signature threshold settings overridespublic java.lang.Long getSignatureThreshold()
public void setSignatureEntryLocation(com.clover.sdk.v3.payments.DataEntryLocation signatureEntryLocation)
signatureEntryLocation - The signature entry location settings overridespublic com.clover.sdk.v3.payments.DataEntryLocation getSignatureEntryLocation()
public void setAutoAcceptSignature(java.lang.Boolean autoAcceptSignature)
autoAcceptSignature - The automatically accept signature overridepublic java.lang.Boolean getAutoAcceptSignature()
public void setDisableCashback(java.lang.Boolean disableCashback)
disableCashback - If true, 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 java.lang.Boolean getAllowOfflinePayment()
public void setForceOfflinePayment(java.lang.Boolean forceOfflinePayment)
forceOfflinePayment - If true then the payment will be taken offlinepublic java.lang.Boolean getForceOfflinePayment()
public void setApproveOfflinePaymentWithoutPrompt(java.lang.Boolean approveOfflinePaymentWithoutPrompt)
approveOfflinePaymentWithoutPrompt - If true then offline payments will be approved without a promptpublic java.lang.Boolean getApproveOfflinePaymentWithoutPrompt()
public void setTippableAmount(java.lang.Long tippableAmount)
tippableAmount - The total amount used when calculating tipspublic java.lang.Long getTippableAmount()
public com.clover.sdk.v3.merchant.TipSuggestion[] getTipSuggestions()
public void setTipSuggestions(com.clover.sdk.v3.merchant.TipSuggestion[] tipSuggestions)
tipSuggestions - The list of tip suggestions