/**
  * {@inheritdoc}
  */
 public function execute(PaymentInterface $payment = NULL)
 {
     if ($payment) {
         $status = $this->paymentStatusType->getPluginManager()->createInstance($this->configuration['payment_status_plugin_id']);
         $payment->setPaymentStatus($status);
     }
 }