Open Journal Systems  3.3.0
Omnipay\PayPal\Message\RestResponse Class Reference
Inheritance diagram for Omnipay\PayPal\Message\RestResponse:
Omnipay\Common\Message\AbstractResponse Omnipay\Common\Message\ResponseInterface Omnipay\Common\Message\MessageInterface Omnipay\PayPal\Message\RestAuthorizeResponse

Public Member Functions

 __construct (RequestInterface $request, $data, $statusCode=200)
 
 __construct (RequestInterface $request, $data, $statusCode=200)
 
 getCardReference ()
 
 getCardReference ()
 
 getCode ()
 
 getCode ()
 
 getMessage ()
 
 getMessage ()
 
 getTransactionReference ()
 
 getTransactionReference ()
 
 isSuccessful ()
 
 isSuccessful ()
 
- Public Member Functions inherited from Omnipay\Common\Message\AbstractResponse
 __construct (RequestInterface $request, $data)
 
 __construct (RequestInterface $request, $data)
 
 getData ()
 
 getData ()
 
 getRedirectData ()
 
 getRedirectMethod ()
 
 getRedirectResponse ()
 
 getRedirectResponse ()
 
 getRedirectUrl ()
 
 getRequest ()
 
 getRequest ()
 
 getTransactionId ()
 
 getTransactionId ()
 
 isCancelled ()
 
 isCancelled ()
 
 isPending ()
 
 isPending ()
 
 isRedirect ()
 
 isRedirect ()
 
 isTransparentRedirect ()
 
 isTransparentRedirect ()
 
 redirect ()
 
 redirect ()
 

Protected Attributes

 $statusCode
 
- Protected Attributes inherited from Omnipay\Common\Message\AbstractResponse
 $data
 
 $request
 

Additional Inherited Members

- Protected Member Functions inherited from Omnipay\Common\Message\AbstractResponse
 validateRedirect ()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct() [1/2]

Omnipay\PayPal\Message\RestResponse::__construct ( RequestInterface  $request,
  $data,
  $statusCode = 200 
)

◆ __construct() [2/2]

Omnipay\PayPal\Message\RestResponse::__construct ( RequestInterface  $request,
  $data,
  $statusCode = 200 
)

Member Function Documentation

◆ getCardReference() [1/2]

Omnipay\PayPal\Message\RestResponse::getCardReference ( )

◆ getCardReference() [2/2]

Omnipay\PayPal\Message\RestResponse::getCardReference ( )

◆ getCode() [1/2]

Omnipay\PayPal\Message\RestResponse::getCode ( )

Response code

Returns
null|string A response code from the payment gateway

Reimplemented from Omnipay\Common\Message\AbstractResponse.

Definition at line 61 of file vendor/omnipay/paypal/src/Message/RestResponse.php.

References Omnipay\PayPal\Message\RestResponse\$statusCode.

◆ getCode() [2/2]

Omnipay\PayPal\Message\RestResponse::getCode ( )

◆ getMessage() [1/2]

Omnipay\PayPal\Message\RestResponse::getMessage ( )

Response Message

Returns
null|string A response message from the payment gateway

Reimplemented from Omnipay\Common\Message\AbstractResponse.

Definition at line 48 of file lib/vendor/omnipay/paypal/src/Message/RestResponse.php.

◆ getMessage() [2/2]

Omnipay\PayPal\Message\RestResponse::getMessage ( )

Response Message

Returns
null|string A response message from the payment gateway

Reimplemented from Omnipay\Common\Message\AbstractResponse.

Definition at line 48 of file vendor/omnipay/paypal/src/Message/RestResponse.php.

◆ getTransactionReference() [1/2]

Omnipay\PayPal\Message\RestResponse::getTransactionReference ( )

Gateway Reference

Returns
null|string A reference provided by the gateway to represent this transaction

Reimplemented from Omnipay\Common\Message\AbstractResponse.

Reimplemented in Omnipay\PayPal\Message\RestAuthorizeResponse, and Omnipay\PayPal\Message\RestAuthorizeResponse.

Definition at line 29 of file vendor/omnipay/paypal/src/Message/RestResponse.php.

◆ getTransactionReference() [2/2]

Omnipay\PayPal\Message\RestResponse::getTransactionReference ( )

Gateway Reference

Returns
null|string A reference provided by the gateway to represent this transaction

Reimplemented from Omnipay\Common\Message\AbstractResponse.

Reimplemented in Omnipay\PayPal\Message\RestAuthorizeResponse, and Omnipay\PayPal\Message\RestAuthorizeResponse.

Definition at line 29 of file lib/vendor/omnipay/paypal/src/Message/RestResponse.php.

◆ isSuccessful() [1/2]

Omnipay\PayPal\Message\RestResponse::isSuccessful ( )

◆ isSuccessful() [2/2]

Omnipay\PayPal\Message\RestResponse::isSuccessful ( )

Field Documentation

◆ $statusCode

Omnipay\PayPal\Message\RestResponse::$statusCode
protected

The documentation for this class was generated from the following file: