class Member extends OperatorResource implements Creatable, Listable, Retrievable, Deletable

Traits

Constants

STATUS_ACCEPTED

STATUS_PENDING

STATUS_REJECTED

Properties

$imageId string
$id string
$createdAt DateTimeImmutable
$updatedAt DateTimeImmutable
$schemaUri string
$status string

Methods

create (array $userOptions) : Creatable

Create a new resource according to the configuration set in the options.

retrieve () : void

Retrieve details of the current resource from the remote API.

delete () : void

Permanently delete this resource.

updateStatus ($status)

No description

Details

create(array $userOptions)

Create a new resource according to the configuration set in the options.

Parameters

$userOptions array

Return value

Creatable

Example code

$creatable = $member->create($userOptions);

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$member->retrieve();

delete()

Permanently delete this resource.

Return value

void

Example code

$member->delete();

updateStatus($status)

Parameters

$status

Example code

$member->updateStatus($status);