CustomerConsentApi extends V3ApiBase
V3ApiBase
Add constructors and some basic scaffolding that will work for all API classes regardless of which endpoints they implement
Table of Contents
- __construct() : mixed
- get() : CustomerConsentResponse
- getClient() : Client
- getParentResourceId() : int|null
- getResourceId() : int|null
- singleResourceUrl() : string
- update() : CustomerConsentResponse
Methods
__construct()
public
__construct(Client $client[, int|null $resourceId = null ][, int|null $parentResourceId = null ]) : mixed
Parameters
- $client : Client
- $resourceId : int|null = null
- $parentResourceId : int|null = null
Return values
mixed —get()
public
get() : CustomerConsentResponse
Return values
CustomerConsentResponse —getClient()
public
getClient() : Client
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Return values
int|null —getResourceId()
public
getResourceId() : int|null
Return values
int|null —singleResourceUrl()
public
singleResourceUrl() : string
Return values
string —update()
public
update(mixed $consent) : CustomerConsentResponse
Parameters
- $consent : mixed