ClientSubscriptionCheck
in package
Table of Contents
Constants
- ITEM_TYPE = 'subscription-check'
Properties
- $clientTextId : string|null
- $hasSubscription : bool|null
- $itemType : string
- $lastPremiumCheck : int|null
Methods
- fromArray() : mixed
- getClientTextId() : string
- Get the value of clientTextId
- getHasSubscription() : bool
- Get the value of hasSubscription
- getItemType() : string
- Get $itemType
- getLastPremiumCheck() : int
- Get the value of lastPremiumCheck
- setClientTextId() : self
- Set the value of clientTextId
- setHasSubscription() : self
- Set the value of hasSubscription
- setLastPremiumCheck() : self
- Set the value of lastPremiumCheck
Constants
ITEM_TYPE
public
mixed
ITEM_TYPE
= 'subscription-check'
Properties
$clientTextId
private
string|null
$clientTextId
$hasSubscription
private
bool|null
$hasSubscription
$itemType
private
string
$itemType
= self::ITEM_TYPE
$lastPremiumCheck
private
int|null
$lastPremiumCheck
Methods
fromArray()
public
fromArray(mixed $data) : mixed
Parameters
- $data : mixed
getClientTextId()
Get the value of clientTextId
public
getClientTextId() : string
Return values
stringgetHasSubscription()
Get the value of hasSubscription
public
getHasSubscription() : bool
Return values
boolgetItemType()
Get $itemType
public
getItemType() : string
Return values
stringgetLastPremiumCheck()
Get the value of lastPremiumCheck
public
getLastPremiumCheck() : int
Return values
intsetClientTextId()
Set the value of clientTextId
public
setClientTextId(string $clientTextId) : self
Parameters
- $clientTextId : string
Return values
selfsetHasSubscription()
Set the value of hasSubscription
public
setHasSubscription(bool $hasSubscription) : self
Parameters
- $hasSubscription : bool
Return values
selfsetLastPremiumCheck()
Set the value of lastPremiumCheck
public
setLastPremiumCheck(int $lastPremiumCheck) : self
Parameters
- $lastPremiumCheck : int