UbexPayModel extends Connections
UbexPayModel Class
Table of Contents
- $prop : array<string|int, mixed>
- __construct() : mixed
- Set class properties and methods
- execute() : mixed
- Makes the API request
Properties
$prop
public
array<string|int, mixed>
$prop
Class properties
Methods
__construct()
Set class properties and methods
public
__construct([array<string|int, mixed>|null $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed>|null = null
-
data
Return values
mixed —execute()
Makes the API request
public
execute(string $url, string $method, mixed $payload[, mixed $headers = null ]) : mixed
Parameters
- $url : string
-
Request url
- $method : string
-
Request method POST or GET
- $payload : mixed
-
Request Body
- $headers : mixed = null
Return values
mixed —Server response