Open Journal Systems  3.3.0
Omnipay\Common\Message\ResponseInterface Interface Reference
Inheritance diagram for Omnipay\Common\Message\ResponseInterface:
Omnipay\Common\Message\MessageInterface Omnipay\Common\Message\AbstractResponse Omnipay\Common\Message\FetchIssuersResponseInterface Omnipay\Common\Message\FetchPaymentMethodsResponseInterface Omnipay\Common\Message\RedirectResponseInterface Omnipay\Common\Message\AbstractResponseTest_MockRedirectResponse Omnipay\PayPal\Message\Response Omnipay\PayPal\Message\RestResponse Omnipay\Common\Message\AbstractResponseTest_MockRedirectResponse Omnipay\PayPal\Message\ExpressAuthorizeResponse Omnipay\PayPal\Message\RestAuthorizeResponse Omnipay\PayPal\Message\ExpressAuthorizeResponse Omnipay\PayPal\Message\ExpressTransactionSearchResponse Omnipay\PayPal\Message\RestAuthorizeResponse Omnipay\PayPal\Message\ExpressCompletePurchaseResponse Omnipay\PayPal\Message\ExpressInContextAuthorizeResponse Omnipay\PayPal\Message\ExpressCompletePurchaseResponse Omnipay\PayPal\Message\ExpressInContextAuthorizeResponse

Public Member Functions

 getCode ()
 
 getCode ()
 
 getMessage ()
 
 getMessage ()
 
 getRequest ()
 
 getRequest ()
 
 getTransactionReference ()
 
 getTransactionReference ()
 
 isCancelled ()
 
 isCancelled ()
 
 isRedirect ()
 
 isRedirect ()
 
 isSuccessful ()
 
 isSuccessful ()
 
- Public Member Functions inherited from Omnipay\Common\Message\MessageInterface
 getData ()
 
 getData ()
 

Detailed Description

Response Interface

This interface class defines the standard functions that any Omnipay response interface needs to be able to provide. It is an extension of MessageInterface.

See also
MessageInterface

Response Interface

This interface class defines the standard functions that any Omnipay response interface needs to be able to provide. It is an extension of MessageInterface.

Definition at line 16 of file lib/vendor/omnipay/common/src/Omnipay/Common/Message/ResponseInterface.php.

Member Function Documentation

◆ getCode() [1/2]

Omnipay\Common\Message\ResponseInterface::getCode ( )

Response code

Returns
null|string A response code from the payment gateway

Implemented in Omnipay\Common\Message\AbstractResponse, Omnipay\Common\Message\AbstractResponse, Omnipay\PayPal\Message\RestResponse, and Omnipay\PayPal\Message\RestResponse.

◆ getCode() [2/2]

Omnipay\Common\Message\ResponseInterface::getCode ( )

Response code

Returns
null|string A response code from the payment gateway

Implemented in Omnipay\Common\Message\AbstractResponse, Omnipay\Common\Message\AbstractResponse, Omnipay\PayPal\Message\RestResponse, and Omnipay\PayPal\Message\RestResponse.

◆ getMessage() [1/2]

Omnipay\Common\Message\ResponseInterface::getMessage ( )

◆ getMessage() [2/2]

Omnipay\Common\Message\ResponseInterface::getMessage ( )

◆ getRequest() [1/2]

Omnipay\Common\Message\ResponseInterface::getRequest ( )

Get the original request which generated this response

Returns
RequestInterface

Implemented in Omnipay\Common\Message\AbstractResponse, and Omnipay\Common\Message\AbstractResponse.

◆ getRequest() [2/2]

Omnipay\Common\Message\ResponseInterface::getRequest ( )

Get the original request which generated this response

Returns
RequestInterface

Implemented in Omnipay\Common\Message\AbstractResponse, and Omnipay\Common\Message\AbstractResponse.

◆ getTransactionReference() [1/2]

◆ getTransactionReference() [2/2]

◆ isCancelled() [1/2]

Omnipay\Common\Message\ResponseInterface::isCancelled ( )

Is the transaction cancelled by the user?

Returns
boolean

Implemented in Omnipay\Common\Message\AbstractResponse, and Omnipay\Common\Message\AbstractResponse.

◆ isCancelled() [2/2]

Omnipay\Common\Message\ResponseInterface::isCancelled ( )

Is the transaction cancelled by the user?

Returns
boolean

Implemented in Omnipay\Common\Message\AbstractResponse, and Omnipay\Common\Message\AbstractResponse.

◆ isRedirect() [1/2]

◆ isRedirect() [2/2]

◆ isSuccessful() [1/2]

◆ isSuccessful() [2/2]


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