Esempio n. 1
0
 /**
  * @return array the data
  * @throws Error\Required
  */
 protected function getData()
 {
     if (empty($this->hash)) {
         throw new Error\Required('Hash is niet geset');
     }
     $this->data['hash'] = $this->hash;
     return parent::getData();
 }
Esempio n. 2
0
 /**
  * @return array The data
  * @throws Error\Required
  */
 protected function getData()
 {
     if (empty($this->transactionId)) {
         throw new Error\Required('transactionId is niet geset');
     }
     $this->data['transactionId'] = $this->transactionId;
     if (!empty($this->terminalId)) {
         $this->data['terminalId'] = $this->terminalId;
     }
     return parent::getData();
 }
Esempio n. 3
0
 /**
  * @return array The data
  * @throws Error\Required
  */
 protected function getData()
 {
     if (empty($this->hash)) {
         throw new Error\Required('Hash is required');
     }
     $this->data['hash'] = $this->hash;
     if (!empty($this->emailAddress)) {
         $this->data['emailAddress'] = $this->emailAddress;
     }
     if (!empty($this->languageId)) {
         $this->data['languageId'] = $this->languageId;
     }
     return parent::getData();
 }