Class DefaultCisPaymentService
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.payment.impl.DefaultAcceleratorPaymentService
-
- de.hybris.platform.integration.cis.payment.impl.DefaultCisPaymentService
-
- All Implemented Interfaces:
PaymentService
public class DefaultCisPaymentService extends DefaultAcceleratorPaymentService
Implementation of CyberSourceAcceleratorPaymentService using CIS web services calls.
-
-
Constructor Summary
Constructors Constructor Description DefaultCisPaymentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PaymentTransactionEntryModelcreateReviewTransactionEntry(CisFraudTransactionResult fraudTransactionResult)Method create PaymentTransactionEntryModel of type REVIEW_DECISIONprotected java.lang.StringgetContentParameter(java.util.Map<java.lang.String,java.lang.String> parameters)Method return value for parameter holding update commandFraudClientgetFraudClient()protected java.lang.StringgetTenantId()Converter<CisFraudTransactionResult,PaymentTransactionEntryModel>getTransactionResultConverter()voidhandleFraudUpdateCallback(java.util.Map<java.lang.String,java.lang.String> parameters)Uses the fraud call back strategy to handle fraud call backvoidsetFraudClient(FraudClient fraudClient)voidsetTenantId(java.lang.String tenantId)voidsetTransactionResultConverter(Converter<CisFraudTransactionResult,PaymentTransactionEntryModel> transactionResultConverter)-
Methods inherited from class de.hybris.platform.acceleratorservices.payment.impl.DefaultAcceleratorPaymentService
beginHopCreatePaymentSubscription, beginSopCreatePaymentSubscription, completeHopCreatePaymentSubscription, completeSopCreatePaymentSubscription, getCartService, getClientReferenceLookupStrategy, getCommonI18NService, getCreateSubscriptionRequestStrategy, getCreateSubscriptionResultValidationStrategy, getCreditCardPaymentInfoCreateStrategy, getCreditCardPaymentSubscriptionDao, getFraudCallbackStrategy, getHopPaymentResponseInterpretation, getModelService, getPaymentDataConverter, getPaymentFormActionUrlStrategy, getPaymentResponseInterpretation, getPaymentTransactionStrategy, getSignatureValidationStrategy, getSiteConfigService, getUserService, handleCreateSubscriptionCallback, markPaymentValidated, setCartService, setClientReferenceLookupStrategy, setCommonI18NService, setCreateSubscriptionRequestStrategy, setCreateSubscriptionResultValidationStrategy, setCreditCardPaymentInfoCreateStrategy, setCreditCardPaymentSubscriptionDao, setFraudCallbackStrategy, setHopPaymentResponseInterpretation, setModelService, setPaymentDataConverter, setPaymentFormActionUrlStrategy, setPaymentResponseInterpretation, setPaymentTransactionReviewResult, setPaymentTransactionStrategy, setSignatureValidationStrategy, setSiteConfigService, setUserService
-
-
-
-
Method Detail
-
handleFraudUpdateCallback
public void handleFraudUpdateCallback(java.util.Map<java.lang.String,java.lang.String> parameters)
Description copied from interface:PaymentServiceUses the fraud call back strategy to handle fraud call back- Specified by:
handleFraudUpdateCallbackin interfacePaymentService- Overrides:
handleFraudUpdateCallbackin classDefaultAcceleratorPaymentService- Parameters:
parameters- a Map of key-value paired Strings with the result data returned from the callback handler
-
getContentParameter
protected java.lang.String getContentParameter(java.util.Map<java.lang.String,java.lang.String> parameters)
Method return value for parameter holding update command- Parameters:
parameters- - parameters map- Returns:
- update command or null
-
createReviewTransactionEntry
protected PaymentTransactionEntryModel createReviewTransactionEntry(CisFraudTransactionResult fraudTransactionResult)
Method create PaymentTransactionEntryModel of type REVIEW_DECISION- Parameters:
fraudTransactionResult- - object contains information about review decision- Returns:
- paymentTransactionEntryModel of type REVIEW_DECISION
-
getTransactionResultConverter
public Converter<CisFraudTransactionResult,PaymentTransactionEntryModel> getTransactionResultConverter()
-
setTransactionResultConverter
public void setTransactionResultConverter(Converter<CisFraudTransactionResult,PaymentTransactionEntryModel> transactionResultConverter)
-
getFraudClient
public FraudClient getFraudClient()
-
setFraudClient
public void setFraudClient(FraudClient fraudClient)
-
getTenantId
protected java.lang.String getTenantId()
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
-