Class TmaPaymentMethodPlaceOrderMethodHook

java.lang.Object
de.hybris.platform.b2ctelcoservices.order.hook.TmaPaymentMethodPlaceOrderMethodHook
All Implemented Interfaces:
de.hybris.platform.commerceservices.order.hook.CommercePlaceOrderMethodHook

public class TmaPaymentMethodPlaceOrderMethodHook extends Object implements de.hybris.platform.commerceservices.order.hook.CommercePlaceOrderMethodHook
Cart validation hook to verify if payment method is required
Since:
1911
  • Constructor Details

    • TmaPaymentMethodPlaceOrderMethodHook

      public TmaPaymentMethodPlaceOrderMethodHook(TmaBillingTimeService billingTimeService, de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
  • Method Details

    • afterPlaceOrder

      public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) throws de.hybris.platform.order.InvalidCartException
      Specified by:
      afterPlaceOrder in interface de.hybris.platform.commerceservices.order.hook.CommercePlaceOrderMethodHook
      Throws:
      de.hybris.platform.order.InvalidCartException
    • beforePlaceOrder

      public void beforePlaceOrder(CommerceCheckoutParameter parameter) throws de.hybris.platform.order.InvalidCartException
      Specified by:
      beforePlaceOrder in interface de.hybris.platform.commerceservices.order.hook.CommercePlaceOrderMethodHook
      Throws:
      de.hybris.platform.order.InvalidCartException
    • beforeSubmitOrder

      public void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws de.hybris.platform.order.InvalidCartException
      Specified by:
      beforeSubmitOrder in interface de.hybris.platform.commerceservices.order.hook.CommercePlaceOrderMethodHook
      Throws:
      de.hybris.platform.order.InvalidCartException
    • isPaymentMethodRequired

      protected boolean isPaymentMethodRequired(CartModel cartModel)
    • getBillingTimeService

      protected TmaBillingTimeService getBillingTimeService()
    • getConfigurationService

      @Deprecated(since="2007") protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Deprecated.
      since 2007
      Returns the configuration service.
      Returns:
      the configuration service