PNMembership
in package
Table of Contents
Properties
- $custom : array<string|int, mixed>
- $description : string
- $eTag : string
- $id : string
- $name : string
- $updated : string
Methods
- __construct() : mixed
- PNMembership constructor.
- __toString() : mixed
- fromPayload() : PNMembership
- getCustom() : object
- getDescription() : string
- getETag() : string
- getId() : string
- getName() : string
- getUpdated() : string
Properties
$custom
protected
array<string|int, mixed>
$custom
$description
protected
string
$description
$eTag
protected
string
$eTag
$id
protected
string
$id
$name
protected
string
$name
$updated
protected
string
$updated
Methods
__construct()
PNMembership constructor.
public
__construct(string $id, string $name, string $description[, array<string|int, mixed> $custom = null ][, string $updated = null ][, string $eTag = null ]) : mixed
Parameters
- $id : string
- $name : string
- $description : string
- $custom : array<string|int, mixed> = null
- $updated : string = null
- $eTag : string = null
__toString()
public
__toString() : mixed
fromPayload()
public
static fromPayload(array<string|int, mixed> $payload) : PNMembership
Parameters
- $payload : array<string|int, mixed>
Return values
PNMembershipgetCustom()
public
getCustom() : object
Return values
objectgetDescription()
public
getDescription() : string
Return values
stringgetETag()
public
getETag() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetUpdated()
public
getUpdated() : string