Class BaseTransactionRequest
java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.BaseTransactionRequest
- Direct Known Subclasses:
ManualRefundRequest,PreAuthRequest,TransactionRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueGet the field valueabstract com.clover.common2.payments.PayIntent.TransactionTypegetType()Get the field valuecom.clover.sdk.v3.payments.VaultedCardGet the field valuevoidsetAmount(long amount) Set the field valuevoidsetAutoAcceptPaymentConfirmations(Boolean autoAcceptPaymentConfirmations) Set the field valuevoidsetCardEntryMethods(Integer cardEntryMethods) Set the field valuevoidsetCardNotPresent(Boolean cardNotPresent) Set the field valuevoidsetDisableDuplicateChecking(Boolean disableDuplicateChecking) Set the field valuevoidsetDisablePrinting(Boolean disablePrinting) Set the field valuevoidsetDisableReceiptSelection(Boolean disableReceiptSelection) Set the field valuevoidsetDisableRestartTransactionOnFail(Boolean disableRestartTransactionOnFail) Set the field valuevoidsetExternalId(String externalId) Set the field valuevoidsetExternalReferenceId(String externalReferenceId) Set the field valuevoidSet the field valuevoidsetPresentQrcOnly(Boolean presentQrcOnly) Set the field valuevoidsetRegionalExtras(Map<String, String> regionalExtras) Set the field valuevoidsetVaultedCard(com.clover.sdk.v3.payments.VaultedCard vaultedCard) Set the field value
-
Constructor Details
-
BaseTransactionRequest
-
-
Method Details
-
getDisablePrinting
Get the field value- Returns:
- Do not print
-
setDisablePrinting
Set the field value- Parameters:
disablePrinting- Do not print
-
getCardNotPresent
Get the field value- Returns:
- If true then card not present is accepted
-
setCardNotPresent
Set the field value- Parameters:
cardNotPresent- If true then card not present is accepted
-
getDisableRestartTransactionOnFail
Get the field value- Returns:
- If the transaction times out or fails because of decline, do not restart it
-
setDisableRestartTransactionOnFail
Set the field value- Parameters:
disableRestartTransactionOnFail- If the transaction times out or fails because of decline, do not restart it
-
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
-
getCardEntryMethods
Get the field value- Returns:
- Allowed entry methods
-
setCardEntryMethods
Set the field value- Parameters:
cardEntryMethods- Allowed entry methods
-
getVaultedCard
public com.clover.sdk.v3.payments.VaultedCard getVaultedCard()Get the field value- Returns:
- A saved card
-
setVaultedCard
public void setVaultedCard(com.clover.sdk.v3.payments.VaultedCard vaultedCard) Set the field value- Parameters:
vaultedCard- A saved card
-
getExternalId
Get the field value- Returns:
- An id that will be persisted with transactions.
-
setExternalId
Set the field value- Parameters:
externalId- An id that will be persisted with transactions.
-
getType
public abstract com.clover.common2.payments.PayIntent.TransactionType getType()Get the field value- Returns:
- The type of the transaction.
-
getDisableDuplicateChecking
Get the field value- Returns:
- The disable duplicate transaction validation settings overrides
-
setDisableDuplicateChecking
Set the field value- Parameters:
disableDuplicateChecking- The disable duplicate transaction validation settings overrides
-
setDisableReceiptSelection
Set the field value- Parameters:
disableReceiptSelection- The disable receipt options screen settings overrides
-
getDisableReceiptSelection
Get the field value- Returns:
- The disable receipt options screen settings overrides
-
setAutoAcceptPaymentConfirmations
Set the field value- Parameters:
autoAcceptPaymentConfirmations- The automatically accept payment confirmations settings override
-
getAutoAcceptPaymentConfirmations
Get the field value- Returns:
- The automatically accept payment confirmations settings override
-
getExtras
Get the field value- Returns:
- Extra pass-through data used by external systems.
-
setExtras
Set the field value- Parameters:
extras- Extra pass-through data used by external systems.
-
getRegionalExtras
Get the field value- Returns:
- A map of all the regionalExtras that have been provided
-
setRegionalExtras
Set the field value- Parameters:
regionalExtras- any extra region specific data. Keys are referenced in RegionalExtras.java
-
getExternalReferenceId
Get the field value- Returns:
- An id that can be passed to the merchant's gateway, and ultimately appear in settlement records.
-
setExternalReferenceId
Set the field value- Parameters:
externalReferenceId- An id that can be passed to the merchant's gateway, and ultimately appear in settlement records.
-
getPresentQrcOnly
Get the field value- Returns:
- If the QR Code entry method should be the only method presented
-
setPresentQrcOnly
Set the field value- Parameters:
presentQrcOnly- If the QR Code entry method should be the only method presented
-