Documentation

OssEntity
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Constants

MIN_DATE  = "2021-07-01"

Properties

$countryId  : int|null
$hasAvailableCountries  : bool
$hasRegistration  : bool
$hasSubscription  : bool
$isEuClient  : bool
$plans  : mixed
$registration  : mixed
$subscriptionStartDate  : string|null
$suggestOssRegistration  : bool
$thresholdDate  : string|null

Methods

addPlanOption()  : mixed
addRegistrationOption()  : mixed
getCountryId()  : int|null
getHasAvailableCountries()  : bool
getHasRegistration()  : bool
getHasSubscription()  : bool
Get the value of hasSubscription
getIsEuClient()  : bool
getIsSuggested()  : bool
Get the value of isSuggested
getMinDate()  : mixed
getPlans()  : mixed
getRegistration()  : array<string|int, mixed>
getRegistrationAddonIdByPlanIdAndCountryGroup()  : int
getStartDate()  : string|null
Get the value of startDate
getSubscriptionStartDate()  : string|null
Get the value of subscriptionStartDate
getSuggestOssRegistration()  : bool
getThresholdDate()  : string|null
isDisabled()  : mixed
jsonSerialize()  : array<string|int, mixed>
setCountryId()  : void
setHasAvailableCountries()  : self
setHasRegistration()  : void
setHasSubscription()  : self
Set the value of hasSubscription
setIsEuClient()  : self
setPlans()  : self
setRegistration()  : void
setSubscriptionStartDate()  : self
Set the value of subscriptionStartDate
setSuggestOssRegistration()  : self
setThresholdDate()  : self

Constants

MIN_DATE

public mixed MIN_DATE = "2021-07-01"

Properties

$hasAvailableCountries

private bool $hasAvailableCountries = false

$hasRegistration

private bool $hasRegistration = false

$hasSubscription

private bool $hasSubscription = false

$isEuClient

private bool $isEuClient = false

$plans

private mixed $plans = []
Tags
@var

[][]

$registration

private mixed $registration = []

$subscriptionStartDate

private string|null $subscriptionStartDate

$suggestOssRegistration

private bool $suggestOssRegistration = false

$thresholdDate

private string|null $thresholdDate

Methods

addPlanOption()

public addPlanOption(mixed $optionName, mixed $countryGroup, OssPlanOption $planOption) : mixed
Parameters
$optionName : mixed
$countryGroup : mixed
$planOption : OssPlanOption

getCountryId()

public getCountryId() : int|null
Return values
int|null

getHasAvailableCountries()

public getHasAvailableCountries() : bool
Return values
bool

getHasRegistration()

public getHasRegistration() : bool
Return values
bool

getHasSubscription()

Get the value of hasSubscription

public getHasSubscription() : bool
Return values
bool

getIsEuClient()

public getIsEuClient() : bool
Return values
bool

getIsSuggested()

Get the value of isSuggested

public getIsSuggested() : bool
Return values
bool

getPlans()

public getPlans() : mixed
Tags
@return

[]

getRegistration()

public getRegistration() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRegistrationAddonIdByPlanIdAndCountryGroup()

public getRegistrationAddonIdByPlanIdAndCountryGroup(mixed $planId, mixed $countryGroup) : int
Parameters
$planId : mixed
$countryGroup : mixed
Return values
int

getStartDate()

Get the value of startDate

public getStartDate() : string|null
Return values
string|null

getSubscriptionStartDate()

Get the value of subscriptionStartDate

public getSubscriptionStartDate() : string|null
Return values
string|null

getSuggestOssRegistration()

public getSuggestOssRegistration() : bool
Return values
bool

getThresholdDate()

public getThresholdDate() : string|null
Return values
string|null

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCountryId()

public setCountryId(int|null $countryId) : void
Parameters
$countryId : int|null

setHasAvailableCountries()

public setHasAvailableCountries(bool $hasAvailableCountries) : self
Parameters
$hasAvailableCountries : bool
Return values
self

setHasRegistration()

public setHasRegistration(bool $hasRegistration) : void
Parameters
$hasRegistration : bool

setHasSubscription()

Set the value of hasSubscription

public setHasSubscription(bool $hasSubscription) : self
Parameters
$hasSubscription : bool
Return values
self

setIsEuClient()

public setIsEuClient(bool $isEuClient) : self
Parameters
$isEuClient : bool
Return values
self

setRegistration()

public setRegistration(array<string|int, mixed> $registration) : void
Parameters
$registration : array<string|int, mixed>

setSubscriptionStartDate()

Set the value of subscriptionStartDate

public setSubscriptionStartDate(string|null $subscriptionStartDate) : self
Parameters
$subscriptionStartDate : string|null
Return values
self

setSuggestOssRegistration()

public setSuggestOssRegistration(bool $suggestOssRegistration) : self
Parameters
$suggestOssRegistration : bool
Return values
self

setThresholdDate()

public setThresholdDate(string|null $thresholdDate) : self
Parameters
$thresholdDate : string|null
Return values
self

        
On this page

Search results