Overview

Namespaces

  • mcfedr
    • Paypal
      • Exceptions
      • Notifications
      • Products
  • PHP

Exceptions

  • ACKException
  • CurlException
  • Exception
  • MasspayException
  • NotificationBusinessInvalidException
  • NotificationCurrencyInvalidException
  • NotificationInvalidException
  • NotificationVerificationException
  • RefundException
  • UnsupportedRefundException
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace mcfedr\Paypal\Exceptions;
 4: 
 5: class NotificationVerificationException extends NotificationInvalidException {
 6: 
 7:     private $response;
 8: 
 9:     /**
10:      *
11:      * @param string $response
12:      * @param \mcfedr\Paypal\Notifications\Notification $notification
13:      */
14:     public function __construct($response, $notification) {
15:         $this->response = $response;
16:         $this->notification = $notification;
17:         parent::__construct("Verification failed");
18:     }
19: 
20:     public function getResponse() {
21:         return $this->response;
22:     }
23: 
24: }
25: 
Paypal API documentation generated by ApiGen 2.8.0