public function synPromotions(array $options = ['types' => NULL]) {
    if ($types = $options['types']) {
      $this->logger->notice(dt('Synchronizing all @types commerce promotions, this usually takes some time...', ['@types' => $types]));
      $types = explode(',', $types);
      $types = array_map('trim', $types);
      $this->acmPromotionsManager->syncPromotions($types);
    }
    else {
      $this->logger->notice(dt('Synchronizing all commerce promotions, this usually takes some time...'));
      $this->acmPromotionsManager->syncPromotions();
    }

    $this->logger->notice(dt('Promotion sync completed.'));
  }