Package com.clover.common2.payments
Class PayIntent.Builder
- java.lang.Object
-
- com.clover.common2.payments.PayIntent.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
intent
public PayIntent.Builder intent(Intent intent)
-
buildTransactionSettingsFromIntent
public static TransactionSettings buildTransactionSettingsFromIntent(Intent intent)
-
buildTransactionSettingsFromPayIntent
public static TransactionSettings buildTransactionSettingsFromPayIntent(PayIntent payIntent)
-
payment
public PayIntent.Builder payment(Payment payment)
-
payIntent
public PayIntent.Builder payIntent(PayIntent payIntent)
-
action
public PayIntent.Builder action(String action)
-
amount
public PayIntent.Builder amount(long amount)
-
tippableAmount
@Deprecated public PayIntent.Builder tippableAmount(long tippableAmount)
Deprecated.Please useTransactionSettings.setTippableAmount(Long)
-
taxAmount
public PayIntent.Builder taxAmount(long taxAmount)
-
employeeId
public PayIntent.Builder employeeId(String employeeId)
-
tipAmount
public PayIntent.Builder tipAmount(long tipAmount)
-
cashbackAmount
public PayIntent.Builder cashbackAmount(long cashbackAmount)
-
transactionType
public PayIntent.Builder transactionType(PayIntent.TransactionType transactionType)
-
cardEntryMethods
@Deprecated public PayIntent.Builder cardEntryMethods(int cardEntryMethods)
Deprecated.
-
cardDataMessage
public PayIntent.Builder cardDataMessage(String cardDataMessage)
-
taxableAmountRates
public PayIntent.Builder taxableAmountRates(List<TaxableAmountRate> taxableAmountRates)
-
serviceChargeAmount
public PayIntent.Builder serviceChargeAmount(ServiceChargeAmount serviceChargeAmount)
-
orderId
public PayIntent.Builder orderId(String orderId)
-
paymentId
public PayIntent.Builder paymentId(String paymentId)
-
remotePrint
@Deprecated public PayIntent.Builder remotePrint(boolean remotePrint)
Deprecated.Please useTransactionSettings.setCloverShouldHandleReceipts(Boolean)
NOTE - The boolean value for setCloverShouldHandleReceipts is the inverse of remotePrint (i.e. remotePrint(true) is the equivalent of TransactionSettings.setCloverShouldHandleReceipts(false))
-
disableCashback
@Deprecated public PayIntent.Builder disableCashback(boolean disableCashBack)
Deprecated.
-
transactionNo
@Deprecated public PayIntent.Builder transactionNo(String transactionNo)
Deprecated., generated internally in the SPS/SPA
-
forceSwipePinEntry
@Deprecated public PayIntent.Builder forceSwipePinEntry(boolean isForceSwipePinEntry)
Deprecated.
-
disableRestartTransactionWhenFailed
@Deprecated public PayIntent.Builder disableRestartTransactionWhenFailed(boolean disableRestartTransactionWhenFailed)
Deprecated.
-
externalPaymentId
public PayIntent.Builder externalPaymentId(String externalPaymentId)
-
externalReferenceId
public PayIntent.Builder externalReferenceId(String externalReferenceId)
-
originatingPaymentPackage
public PayIntent.Builder originatingPaymentPackage(String originatingPaymentPackage)
-
vaultedCard
public PayIntent.Builder vaultedCard(VaultedCard vaultedCard)
-
allowOfflinePayment
@Deprecated public PayIntent.Builder allowOfflinePayment(Boolean allowOfflinePayment)
Deprecated.
-
approveOfflinePaymentWithoutPrompt
@Deprecated public PayIntent.Builder approveOfflinePaymentWithoutPrompt(Boolean approveOfflinePaymentWithoutPrompt)
Deprecated.
-
themeName
public PayIntent.Builder themeName(Themes themeName)
-
requiresRemoteConfirmation
@Deprecated public PayIntent.Builder requiresRemoteConfirmation(Boolean requiresRemoteConfirmation)
Deprecated.
-
requiresFinalRemoteApproval
public PayIntent.Builder requiresFinalRemoteApproval(Boolean requiresFinalRemoteApproval)
-
skipELVLimitOverride
public PayIntent.Builder skipELVLimitOverride(Boolean skipELVLimitOverride)
-
applicationTracking
public PayIntent.Builder applicationTracking(AppTracking applicationTracking)
-
allowPartialAuth
public PayIntent.Builder allowPartialAuth(boolean allowPartialAuth)
-
useLastSwipe
public PayIntent.Builder useLastSwipe(boolean useLastSwipe)
-
germanInfo
public PayIntent.Builder germanInfo(GermanInfo germanInfo)
-
germanELVTransaction
public PayIntent.Builder germanELVTransaction(String germanELVTransaction)
-
customerIdentification
public PayIntent.Builder customerIdentification(CashAdvanceCustomerIdentification customerIdentification)
-
transactionSettings
public PayIntent.Builder transactionSettings(TransactionSettings transactionSettings)
-
cardNotPresent
public PayIntent.Builder cardNotPresent(boolean cardNotPresent)
-
vasSettings
public PayIntent.Builder vasSettings(VasSettings vasSettings)
-
originatingTransaction
public PayIntent.Builder originatingTransaction(CardTransaction originatingTransaction)
Deprecated.pass originatingPayment instead, originating tx will be auto-populated from the payment card tx
-
originatingPayment
public PayIntent.Builder originatingPayment(Payment originatingPayment)
-
originatingCredit
public PayIntent.Builder originatingCredit(Credit originatingCredit)
-
passThroughValues
public PayIntent.Builder passThroughValues(Map<String,String> originatingPassThroughValues)
-
applicationSpecificValues
public PayIntent.Builder applicationSpecificValues(Map<String,String> originatingappSpecificValues)
-
refund
public PayIntent.Builder refund(Refund refund)
-
customerTender
public PayIntent.Builder customerTender(Tender customerTender)
Pre-selected customer tender. If present, pay with this tender. The customer will not have the option to select a different tender or pay with a card. If the tender is not valid for this merchant this extra is ignored.- See Also:
Intents.ACTION_CUSTOMER_TENDER
-
disableCreditSurcharge
public PayIntent.Builder disableCreditSurcharge(boolean disableCreditSurcharge)
-
isPresentQrcOnly
public PayIntent.Builder isPresentQrcOnly(boolean isPresentQrcOnly)
-
isManualCardEntryByPassMode
public PayIntent.Builder isManualCardEntryByPassMode(boolean isManualCardEntryByPassMode)
-
isAllowManualCardEntryOnMFD
public PayIntent.Builder isAllowManualCardEntryOnMFD(boolean isAllowManualCardEntryOnMFD)
-
quickPaymentTransactionUuid
public PayIntent.Builder quickPaymentTransactionUuid(String quickPaymentTransactionUuid)
-
tokenRequest
public PayIntent.Builder tokenRequest(TokenizeCardRequest tokenizeCardRequest)
-
tokenResponse
public PayIntent.Builder tokenResponse(TokenizeCardResponse tokenizeCardResponse)
-
dataReadMode
public PayIntent.Builder dataReadMode(String dataReadMode)
-
refundReason
public PayIntent.Builder refundReason(String refundReason)
-
thresholdManagerName
public PayIntent.Builder thresholdManagerName(String thresholdManagerName)
-
thresholdManagerId
public PayIntent.Builder thresholdManagerId(String thresholdManagerId)
-
ebtManualCardEntryScreenFlow
public PayIntent.Builder ebtManualCardEntryScreenFlow(String ebtManualCardEntryScreenFlow)
-
paymentType
public PayIntent.Builder paymentType(String paymentType)
-
createAuth
public PayIntent.Builder createAuth(Boolean createAuth)
-
testing
@Deprecated public PayIntent.Builder testing(boolean isTesting)
Deprecated.
-
build
public PayIntent build()
-
-