/**
  * Returns the Saferpay id for this payment method.
  *
  * @return string ID of the payment method.
  */
 public function getPaymentId()
 {
     if ($this->existsPaymentMethodConfigurationValue('credit_card_brands')) {
         $map = $this->getPaymentInformationMap();
         $ids = array();
         $cards = $this->getPaymentMethodConfigurationValue('credit_card_brands');
         foreach ($cards as $card) {
             $ids[] = $map[strtolower($card)]['parameters']['id'];
         }
         return implode(',', $ids);
     } else {
         return parent::getPaymentId();
     }
 }