/**
  * @param \Spryker\Zed\Kernel\Container $container
  *
  * @return \Spryker\Zed\Kernel\Container
  */
 protected function injectConditions(Container $container)
 {
     $container->extend(OmsDependencyProvider::CONDITION_PLUGINS, function (ConditionCollectionInterface $conditionCollection) {
         $conditionCollection->add(new IsPreAuthorizationApprovedPlugin(), 'Payolution/IsPreAuthorizationApproved')->add(new IsReAuthorizationApprovedPlugin(), 'Payolution/IsReAuthorizationApproved')->add(new IsReversalApprovedPlugin(), 'Payolution/IsReversalApproved')->add(new IsCaptureApprovedPlugin(), 'Payolution/IsCaptureApproved')->add(new IsRefundApprovedPlugin(), 'Payolution/IsRefundApproved');
         return $conditionCollection;
     });
     return $container;
 }
 /**
  * @param \Spryker\Zed\Kernel\Container $container
  *
  * @return \Spryker\Zed\Kernel\Container
  */
 protected function injectConditions(Container $container)
 {
     $container->extend(OmsDependencyProvider::CONDITION_PLUGINS, function (ConditionCollectionInterface $conditionCollection) {
         $conditionCollection->add(new IsZeroAuthorizationSuccess(), 'ZeroPayment/IsZeroAuthorizationSuccess');
         return $conditionCollection;
     });
     return $container;
 }
 /**
  * @param \Spryker\Zed\Kernel\Container $container
  *
  * @return \Spryker\Zed\Kernel\Container
  */
 protected function injectPaymentPlugins(Container $container)
 {
     $container->extend(PaymentDependencyProvider::CHECKOUT_PLUGINS, function (CheckoutPluginCollection $pluginCollection) {
         $pluginCollection->add(new ZeroPaymentPreCheckPlugin(), ZeroPaymentConstants::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_PRE_CHECK_PLUGINS);
         $pluginCollection->add(new ZeroPaymentSaveOrderPlugin(), ZeroPaymentConstants::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_ORDER_SAVER_PLUGINS);
         $pluginCollection->add(new ZeroPaymentPostCheckPlugin(), ZeroPaymentConstants::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_POST_SAVE_PLUGINS);
         return $pluginCollection;
     });
     return $container;
 }