Properties

$disabled

$disabled : boolean

Type

boolean

$locations

$locations : \Doctrine\Common\Collections\Collection

Type

\Doctrine\Common\Collections\Collection

$authenticationSources

$authenticationSources : \Doctrine\Common\Collections\Collection

Type

\Doctrine\Common\Collections\Collection

$deletionDate

$deletionDate : \DateTime

Type

\DateTime

$id

$id : integer

ID

Type

integer

$type

$type : integer

Type of subscription

Type

integer

$status

$status : string

Status of subscription

Type

string

$purchasedAt

$purchasedAt : \DateTime

When the subscription was purchaesd

Type

\DateTime

$expiresAt

$expiresAt : \DateTime

When the subscription expires

Type

\DateTime

$startSchoolYearDate

$startSchoolYearDate : string

Date the school year starts

Type

string

$friendlyName

$friendlyName : string

Fiendly name of the subscription

Type

string

$subscriptionConfiguration

$subscriptionConfiguration : 

Subscription Configuration

Type

$licenses

$licenses : \Doctrine\Common\Collections\Collection

Assoicated Licenses

Type

\Doctrine\Common\Collections\Collection

Methods

setDisabled()

setDisabled(boolean  $boolean = true) 

Parameters

boolean $boolean

disable()

disable() 

isDisabled()

isDisabled() : boolean

Returns

boolean

enable()

enable() : \Pivot\Core\Traits\enable

Returns

\Pivot\Core\Traits\enable

restore()

restore() : object

Returns

object

delete()

delete() : object

Returns

object

isDeleted()

isDeleted() : boolean

Returns

boolean

getDeletionDate()

getDeletionDate() : \DateTime

Returns

\DateTime

__construct()

__construct() 

Constructor

getArrayCopy()

getArrayCopy() : array

Get an array copy

Returns

array

getId()

getId() : integer

Get the value of ID

Returns

integer

setId()

setId(  $id) : self

Set the value of ID

Parameters

$id

Returns

self

getType()

getType() : integer

Get the value of Type of subscription

Returns

integer

setType()

setType(  $type) : self

Set the value of Type of subscription

Parameters

$type

Returns

self

getStatus()

getStatus() : string

Get the value of Status of subscription

Returns

string

setStatus()

setStatus(  $status) : self

Set the value of Status of subscription

Parameters

$status

Returns

self

getPurchasedAt()

getPurchasedAt() : \DateTime

Get the value of When the subscription was purchaesd

Returns

\DateTime

setPurchasedAt()

setPurchasedAt(\DateTime  $purchasedAt) : self

Set the value of When the subscription was purchaesd

Parameters

\DateTime $purchasedAt

Returns

self

getExpiresAt()

getExpiresAt() : \DateTime

Get the value of When the subscription expires

Returns

\DateTime

setExpiresAt()

setExpiresAt(\DateTime  $expiresAt) : self

Set the value of When the subscription expires

Parameters

\DateTime $expiresAt

Returns

self

getStartSchoolYearDate()

getStartSchoolYearDate() : string

Get the value of Date the school year starts

Returns

string

setStartSchoolYearDate()

setStartSchoolYearDate(  $startSchoolYearDate) : self

Set the value of Date the school year starts

Parameters

$startSchoolYearDate

Returns

self

getFriendlyName()

getFriendlyName() : string

Get the value of Fiendly name of the subscription

Returns

string

setFriendlyName()

setFriendlyName(  $friendlyName) : self

Set the value of Fiendly name of the subscription

Parameters

$friendlyName

Returns

self

getSubscriptionConfiguration()

getSubscriptionConfiguration() : mixed

Get the value of Subscription Configuration

Returns

mixed

setSubscriptionConfiguration()

setSubscriptionConfiguration(  $subscriptionConfiguration) : self

Set the value of Subscription Configuration

Parameters

$subscriptionConfiguration

Returns

self

getSubscriber()

getSubscriber() : \Pivot\Common\Entities\AuthUser

Get the value of Subscriber or owner of the subscription

Returns

\Pivot\Common\Entities\AuthUser

setSubscriber()

setSubscriber(  $subscriber) : self

Set the value of Subscriber or owner of the subscription

Parameters

$subscriber

Returns

self

setDistrict()

setDistrict(  $district) : self

Set the value of District

Parameters

$district

Returns

self

setState()

setState(  $state) : self

Set the value of State

Parameters

$state

Returns

self

getLicenses()

getLicenses() : \Doctrine\Common\Collections\Collection

Get the value of Assoicated Licenses

Returns

\Doctrine\Common\Collections\Collection

setLicenses()

setLicenses(  $licenses) : self

Set the value of Assoicated Licenses

Parameters

$licenses

Returns

self

getLocations()

getLocations() : \Doctrine\Common\Collections\Collection

Get the value of Locations

Returns

\Doctrine\Common\Collections\Collection

setLocations()

setLocations(  $locations) : self

Set the value of Locations

Parameters

$locations

Returns

self

getAuthenticationSources()

getAuthenticationSources() : \Doctrine\Common\Collections\Collection

Get the value of Authentication Sources

Returns

\Doctrine\Common\Collections\Collection

setAuthenticationSources()

setAuthenticationSources(  $authenticationSources) : self

Set the value of Authentication Sources

Parameters

$authenticationSources

Returns

self