\UnleashedAPI
Synopsis
class UnleashedAPI
extends Object
{
- // members
- private static $id;
- private static $key;
- protected static string $format = 'json';
- protected static array $allowed_formats = ;
- // methods
- public static void set_settings()
- public static void set_format()
- public static void get_format()
- public static void post()
- public static void get()
- public static void get_by_guid()
- public static void array2xml()
- public static void array2xmlRecursive()
Hierarchy
Extends
- Object
Members
private
- $id
- $key
protected
- $allowed_formats
- $format
Methods
public
- array2xml()
- array2xmlRecursive()
- get() — Returns an array or an array of arrays or false
- get_by_guid()
- get_format()
- post() — IMPORTANT : Do not use the return values (Test post already created Product and it returns ProductCode = NULL), (Test post new order and it returns GUID = null for the Customer) Add/Update Product XML : InternalServerError
- set_format()
- set_settings()