public class DefaultCsOrderUnauthorizedTotalStrategy extends AbstractBusinessService implements CsOrderUnauthorizedTotalStrategy
CsOrderUnauthorizedTotalStrategy interface.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultCsOrderUnauthorizedTotalStrategy() |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic DefaultCsOrderUnauthorizedTotalStrategy()
protected TransactionInfoService getTransactionInfoService()
public void setTransactionInfoService(TransactionInfoService transactionInfoService)
public double getUnauthorizedTotal(AbstractOrderModel order)
CsOrderUnauthorizedTotalStrategygetUnauthorizedTotal in interface CsOrderUnauthorizedTotalStrategyorder - the cart or orderprotected BigDecimal getTransactionViableAuthAmountOrCapturedAmount(AbstractOrderModel order)
protected CurrencyModel getTransactionCurrency(PaymentTransactionModel transaction)
protected BigDecimal getTransactionViableAuthAmountOrCapturedAmount(PaymentTransactionModel transaction)
protected boolean isAuthorisationStillActive(PaymentTransactionModel transaction)
protected boolean isViableAuthorisation(PaymentTransactionEntryModel paymentTransactionEntry)
protected boolean doesEntryInvalidatePreviousAuthorisation(PaymentTransactionEntryModel paymentTransactionEntry)
protected BigDecimal getTransactionPlannedAmount(PaymentTransactionModel transaction)
protected BigDecimal sumSuccessfulCaptures(PaymentTransactionModel transaction)
protected BigDecimal sumSuccessfulEntries(PaymentTransactionModel transaction, PaymentTransactionType transactionType)
Copyright © 2017 SAP SE. All Rights Reserved.