public class SaleRequest extends TransactionRequest
| Constructor and Description |
|---|
SaleRequest(long amount,
java.lang.String externalId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getTipAmount()
Get the field value
|
TipMode |
getTipMode()
Get the field value
|
void |
setTipAmount(java.lang.Long tipAmount)
Set the field value
|
void |
setTipMode(TipMode tipMode)
Set the field value
|
void |
setTipSuggestions(com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion1,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion2,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion3,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion4)
Set the field value
|
getAllowOfflinePayment, getApproveOfflinePaymentWithoutPrompt, getAutoAcceptSignature, getDisableCashback, getForceOfflinePayment, getSignatureEntryLocation, getSignatureThreshold, getTaxAmount, getTippableAmount, getTipSuggestions, getType, setAllowOfflinePayment, setApproveOfflinePaymentWithoutPrompt, setAutoAcceptSignature, setDisableCashback, setForceOfflinePayment, setSignatureEntryLocation, setSignatureThreshold, setTaxAmount, setTippableAmount, setTipSuggestionsgetAmount, 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 SaleRequest(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 setTipAmount(java.lang.Long tipAmount)
tipAmount - Included tippublic java.lang.Long getTipAmount()
public void setTipMode(TipMode tipMode)
tipMode - The tip mode settings overridespublic TipMode getTipMode()
public void setTipSuggestions(com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion1,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion2,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion3,
com.clover.sdk.v3.merchant.TipSuggestion tipSuggestion4)
tipSuggestion1 - - 4 set the tip suggestions