PNMembershipsResult
in package
Table of Contents
Properties
- $data : array<string|int, mixed>
- $next : string
- $prev : string
- $totalCount : int
Methods
- __construct() : mixed
- PNMembershipsResult constructor.
- __toString() : mixed
- fromPayload() : PNMembershipsResult
- getData() : array<string|int, mixed>
- getNext() : string
- getPrev() : string
- getTotalCount() : int
Properties
$data
protected
array<string|int, mixed>
$data
$next
protected
string
$next
$prev
protected
string
$prev
$totalCount
protected
int
$totalCount
Methods
__construct()
PNMembershipsResult constructor.
public
__construct(int $totalCount, string $prev, string $next, array<string|int, mixed> $data) : mixed
Parameters
- $totalCount : int
- $prev : string
- $next : string
- $data : array<string|int, mixed>
__toString()
public
__toString() : mixed
fromPayload()
public
static fromPayload(array<string|int, mixed> $payload) : PNMembershipsResult
Parameters
- $payload : array<string|int, mixed>
Return values
PNMembershipsResultgetData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getNext()
public
getNext() : string
Return values
stringgetPrev()
public
getPrev() : string
Return values
stringgetTotalCount()
public
getTotalCount() : int