EPG PHP SDK
Loading...
Searching...
No Matches
Response Class Reference

Public Member Functions

 __construct (mixed $rawResponse=null)
 
 getRedirectUrl ()
 Gets the redirect URL from the response.
 
 getAuthToken ()
 Retrieves the authentication token obtained from the request.
 
 getRawResponse ()
 Gets the response of the H2H request.
 
 getTransaction ()
 Gets the response if xml or json parsed.
 
 isJsonOrXml (string $data)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( mixed  $rawResponse = null)

Member Function Documentation

◆ getAuthToken()

getAuthToken ( )

Retrieves the authentication token obtained from the request.

Returns
string|null The authentication token or null if not set.

◆ getRawResponse()

getRawResponse ( )

Gets the response of the H2H request.

Returns
mixed The response or null if not set.

◆ getRedirectUrl()

getRedirectUrl ( )

Gets the redirect URL from the response.

Returns
string|null Returns the redirect URL or null if not set.

◆ getTransaction()

getTransaction ( )

Gets the response if xml or json parsed.

Returns
mixed The response or null if not set.

◆ isJsonOrXml()

isJsonOrXml ( string  $data)

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