Class SapDigitalCommercePaymentAuthorizationStrategy

java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
de.hybris.platform.cissapdigitalpayment.strategies.impl.SapDigitalCommercePaymentAuthorizationStrategy
All Implemented Interfaces:
de.hybris.platform.commerceservices.order.CommercePaymentAuthorizationStrategy

public class SapDigitalCommercePaymentAuthorizationStrategy extends de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy implements de.hybris.platform.commerceservices.order.CommercePaymentAuthorizationStrategy
SAP Digital Payments specific implementation of CommercePaymentAuthorizationStrategy
  • Constructor Details

    • SapDigitalCommercePaymentAuthorizationStrategy

      public SapDigitalCommercePaymentAuthorizationStrategy()
  • Method Details

    • authorizePaymentAmount

      public PaymentTransactionEntryModel authorizePaymentAmount(CommerceCheckoutParameter parameter)
      Authorize the payment amount while placing the order. Calls the SAP DIgital payment client to authorize the payment, Creates an PaymentTransactionEntryModel from the authorization result. If the PaymentTransactionModel's transaction status is ACCEPTED or REVIEW, set the payment and order information to the PaymentTransactionModel
      Specified by:
      authorizePaymentAmount in interface de.hybris.platform.commerceservices.order.CommercePaymentAuthorizationStrategy
      Overrides:
      authorizePaymentAmount in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Parameters:
      parameter - - CommerceCheckoutParameter containing the cart, payment provider, authorization amount.
      Returns:
      PaymentTransactionEntryModel
    • getI18nService

      public de.hybris.platform.servicelayer.i18n.I18NService getI18nService()
      Overrides:
      getI18nService in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Returns:
      the i18nService
    • setI18nService

      public void setI18nService(de.hybris.platform.servicelayer.i18n.I18NService i18nService)
      Overrides:
      setI18nService in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Parameters:
      i18nService - the i18nService to set
    • getCisSapDigitalPaymentService

      public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
      Returns:
      the cisSapDigitalPaymentService
    • setCisSapDigitalPaymentService

      public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
      Parameters:
      cisSapDigitalPaymentService - the cisSapDigitalPaymentService to set
    • getAuthorizePaymentHooks

      public List<de.hybris.platform.commerceservices.order.hook.AuthorizePaymentMethodHook> getAuthorizePaymentHooks()
      Overrides:
      getAuthorizePaymentHooks in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Returns:
      the authorizePaymentHooks
    • setAuthorizePaymentHooks

      public void setAuthorizePaymentHooks(List<de.hybris.platform.commerceservices.order.hook.AuthorizePaymentMethodHook> authorizePaymentHooks)
      Overrides:
      setAuthorizePaymentHooks in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Parameters:
      authorizePaymentHooks - the authorizePaymentHooks to set
    • getConfigurationService

      public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Overrides:
      getConfigurationService in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Overrides:
      setConfigurationService in class de.hybris.platform.commerceservices.order.impl.DefaultCommercePaymentAuthorizationStrategy
      Parameters:
      configurationService - the configurationService to set
    • getSapDigitalPaymentConfigurationStrategy

      public SapDigitalPaymentConfigurationStrategy getSapDigitalPaymentConfigurationStrategy()
      Returns:
      the sapDigitalPaymentConfigurationStrategy
    • setSapDigitalPaymentConfigurationStrategy

      public void setSapDigitalPaymentConfigurationStrategy(SapDigitalPaymentConfigurationStrategy sapDigitalPaymentConfigurationStrategy)
      Parameters:
      sapDigitalPaymentConfigurationStrategy - the sapDigitalPaymentConfigurationStrategy to set
    • getSapDigitalPaymentAuthorizationService

      public SapDigitalPaymentAuthorizationService getSapDigitalPaymentAuthorizationService()
    • setSapDigitalPaymentAuthorizationService

      public void setSapDigitalPaymentAuthorizationService(SapDigitalPaymentAuthorizationService sapDigitalPaymentAuthorizationService)