public class SapDigitalCommercePaymentAuthorizationStrategy extends DefaultCommercePaymentAuthorizationStrategy implements CommercePaymentAuthorizationStrategy
CommercePaymentAuthorizationStrategy| Constructor and Description |
|---|
SapDigitalCommercePaymentAuthorizationStrategy() |
afterAuthorizePaymentAmount, beforeAuthorizePaymentAmount, getGenerateMerchantTransactionCodeStrategy, getModelService, getPaymentService, setGenerateMerchantTransactionCodeStrategy, setModelService, setPaymentServicepublic SapDigitalCommercePaymentAuthorizationStrategy()
public PaymentTransactionEntryModel authorizePaymentAmount(CommerceCheckoutParameter parameter)
PaymentTransactionEntryModel from the authorization result. If the
PaymentTransactionModel's transaction status is ACCEPTED or REVIEW, set the payment and order information
to the PaymentTransactionModelauthorizePaymentAmount in interface CommercePaymentAuthorizationStrategyauthorizePaymentAmount in class DefaultCommercePaymentAuthorizationStrategyparameter - - CommerceCheckoutParameter containing the cart, payment provider, authorization amount.PaymentTransactionEntryModelpublic I18NService getI18nService()
getI18nService in class DefaultCommercePaymentAuthorizationStrategypublic void setI18nService(I18NService i18nService)
setI18nService in class DefaultCommercePaymentAuthorizationStrategyi18nService - the i18nService to setpublic CisSapDigitalPaymentService getCisSapDigitalPaymentService()
public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
cisSapDigitalPaymentService - the cisSapDigitalPaymentService to setpublic java.util.List<AuthorizePaymentMethodHook> getAuthorizePaymentHooks()
getAuthorizePaymentHooks in class DefaultCommercePaymentAuthorizationStrategypublic void setAuthorizePaymentHooks(java.util.List<AuthorizePaymentMethodHook> authorizePaymentHooks)
setAuthorizePaymentHooks in class DefaultCommercePaymentAuthorizationStrategyauthorizePaymentHooks - the authorizePaymentHooks to setpublic ConfigurationService getConfigurationService()
getConfigurationService in class DefaultCommercePaymentAuthorizationStrategypublic void setConfigurationService(ConfigurationService configurationService)
setConfigurationService in class DefaultCommercePaymentAuthorizationStrategyconfigurationService - the configurationService to setpublic SapDigitalPaymentConfigurationStrategy getSapDigitalPaymentConfigurationStrategy()
public void setSapDigitalPaymentConfigurationStrategy(SapDigitalPaymentConfigurationStrategy sapDigitalPaymentConfigurationStrategy)
sapDigitalPaymentConfigurationStrategy - the sapDigitalPaymentConfigurationStrategy to setpublic SapDigitalPaymentAuthorizationService getSapDigitalPaymentAuthorizationService()
public void setSapDigitalPaymentAuthorizationService(SapDigitalPaymentAuthorizationService sapDigitalPaymentAuthorizationService)
Copyright © 2018 SAP SE. All Rights Reserved.