\DevOwl\RealProductManagerWpClient\clientLicenseActivation

Handle Real Product Manager API calls.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
setupConstants()
post()
patch()
get()
delete()
getPluginUpdate()
instance()
No public properties found
ENDPOINT_LICENSE_ACTIVATION
getClientProperties()
No protected properties found
N/A
__construct()
$pluginUpdate
N/A

Constants

ENDPOINT_LICENSE_ACTIVATION

ENDPOINT_LICENSE_ACTIVATION ='1.0.0/license/activation'

Properties

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this package so we can utils package natively.

Returns

string

setupConstants()

setupConstants()

Make sure the RPM_WP_CLIENT constants are available.

post()

post(string  $code = '',string  $uuid = '',string  $installationType = 'prod',boolean  $telemetry = false,boolean  $newsletterOptIn = false,string  $firstName = '',string  $email = '')

`POST` to the REST API of Real Product Manager.

Parameters

string $code
string $uuid
string $installationType
boolean $telemetry
boolean $newsletterOptIn
string $firstName
string $email

patch()

patch(string  $code,string  $uuid)

`PATCH` to the REST API of Real Product Manager.

Parameters

string $code
string $uuid

get()

get(string  $code,string  $uuid)

`GET` to the REST API of Real Product Manager.

Parameters

string $code
string $uuid

delete()

delete(string  $code,string  $uuid)

`DELETE` to the REST API of Real Product Manager.

Parameters

string $code
string $uuid

getPluginUpdate()

getPluginUpdate()

Get plugin update instance.

getClientProperties()

getClientProperties()

Client properties.