/**
  * @param Paysera_WalletApi_Event_RequestEvent $event
  */
 public function onBeforeRequest(Paysera_WalletApi_Event_RequestEvent $event)
 {
     $uri = $event->getRequest()->getFullUri();
     if (substr($uri, 0, 7) !== 'http://' && substr($uri, 0, 8) !== 'https://') {
         $event->getRequest()->setFullUri($this->endpoint . $uri);
     }
 }
 /**
  * @param Paysera_WalletApi_Event_RequestEvent $event
  */
 public function onBeforeRequest(Paysera_WalletApi_Event_RequestEvent $event)
 {
     $options = $event->getOptions();
     $parameters = isset($options['parameters']) ? $options['parameters'] : array();
     $options['parameters'] = $this->parameters + $parameters;
     $event->setOptions($options);
 }
 /**
  * @param Paysera_WalletApi_Event_RequestEvent $event
  */
 public function onBeforeRequest(Paysera_WalletApi_Event_RequestEvent $event)
 {
     $options = $event->getOptions();
     $parameters = isset($options['parameters']) ? $options['parameters'] : array();
     $this->signer->signRequest($event->getRequest(), $parameters);
 }