Documentation

UserModule
in package

Class UserModule

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\UserModuleRepository")

ORM\Table

(name="user_module")

ORM\HasLifecycleCallbacks

()

Table of Contents

Properties

$active  : bool|null
$arrangedUser  : ArrangedUser|null
$cancelationPending  : bool
$cancelledAt  : DateTime|null
$client  : Client|null
$credential  : array<string|int, mixed>|null
$credentialStatus  : int
$credentialStatusText  : string|null
$credentialStatusTime  : DateTime
$cronPulls  : array<string|int, CronPull>|null
$extendTime  : DateTime|null
$extra  : array<string|int, mixed>|null
$id  : int|null
$integrationAlias  : mixed
$integrationImporterRanges  : array<string|int, IntegrationImporterRange>|null
$isDefault  : bool
$module  : Module
$nextCheck  : DateTime
$products  : Product|null
$providerSlotSubscription  : ProviderSlotSubscription|null
$pullEndDate  : DateTime|null
$pullStartDate  : DateTime|null
$startTime  : mixed

Methods

__construct()  : mixed
formatIntegrationAliasWithModuleName()  : mixed
getActive()  : bool
Get the value of active
getCancelationPending()  : bool|null
Get $cancelationPending
getCancelledAt()  : DateTime|null
getClient()  : Client|null
Get the value of client
getCredential()  : array<string|int, mixed>|null
Get the value of credential
getCredentialStatus()  : int
Get the value of credentialStatus
getCredentialStatusText()  : string|null
getCredentialStatusTime()  : DateTime
Get the value of credentialStatusTime
getCronPulls()  : array<string|int, CronPull>|null
Get $cronPulls
getExtendTime()  : DateTime|null
getExtra()  : array<string|int, mixed>|null
Get the value of extra
getId()  : int|null
Get $id
getIntegrationAlias()  : string
Get the value of active
getIntegrationAliasWithModuleName()  : mixed
getIntegrationImporterRanges()  : array<string|int, mixed>|null
getIsDefault()  : bool
getModule()  : Module
Get the value of module
getNextCheck()  : DateTime
Get the value of nextCheck
getNextCheckTime()  : DateTime|null
getProducts()  : array<string|int, Product>|null
getProviderSlotSubscription()  : ProviderSlotSubscription|null
getPullEndDate()  : DateTime|null
Get the value of pullEndDate
getPullStartDate()  : DateTime|null
Get the value of pullStartDate
getStartTime()  : DateTime|null
getUser()  : Client|null
setActive()  : self
Set the value of active
setCancelationPending()  : self
Set the value of active
setCancelledAt()  : self
setClient()  : self
Set the value of client
setCredential()  : self
Set the value of credential
setCredentialStatus()  : self
Set the value of credentialStatus
setCredentialStatusTime()  : self
Set the value of credentialStatusTime
setCronPulls()  : self
Set $cronPulls
setExtendTime()  : self
Set $extendTime
setExtra()  : self
Set the value of extra
setIntegrationAlias()  : self
Set the value of active
setIntegrationImporterRanges()  : void
setIsDefault()  : self
setModule()  : self
Set the value of module
setNextCheck()  : self
Set the value of nextCheck
setProducts()  : self
setProviderSlotSubscription()  : void
setPullEndDate()  : self
Set the value of pullEndDate
setPullStartDate()  : self
Set the value of pullStartDate
setStartTime()  : self
Set $startTime
setTimeForPullEndDate()  : mixed
setTimeForPullStartDate()  : mixed

Properties

$active

private bool|null $active = 1
Tags
ORM\Column

(name="active", type="boolean")

$arrangedUser

private ArrangedUser|null $arrangedUser
Tags
ORM\OneToOne

(targetEntity="ArrangedUser", mappedBy="userModule")

$cancelationPending

private bool $cancelationPending
Tags
ORM\Column

(name="cancelation_pending", type="boolean", nullable=false)

$cancelledAt

private DateTime|null $cancelledAt
Tags
ORM\Column

(name="cancelled_at",type="datetime", nullable=true)

$client

private Client|null $client
Tags
ORM\ManyToOne

(targetEntity="Client")

ORM\JoinColumn

(name="user_id", referencedColumnName="id")

$credential

private array<string|int, mixed>|null $credential
Tags
ORM\Column

(type="json", name="credential", nullable=true)

$credentialStatus

private int $credentialStatus
Tags
ORM\Column

(type="integer", name="credential_status")

$credentialStatusText

private string|null $credentialStatusText
Tags
ORM\Column

(name="credential_status_text", type="string")

$credentialStatusTime

private DateTime $credentialStatusTime
Tags
ORM\Column

(type="datetime", name="credential_status_time")

$cronPulls

private array<string|int, CronPull>|null $cronPulls
Tags
ORM\OneToMany

(targetEntity="CronPull", mappedBy="userModule")

ORM\JoinColumn

(name="id", referencedColumnName="user_module_id")

$extendTime

private DateTime|null $extendTime
Tags
ORM\Column

(name="extend_time", type="datetime")

$extra

private array<string|int, mixed>|null $extra
Tags
ORM\Column

(type="json", name="extra", nullable=true)

$id

private int|null $id
Tags
ORM\Id

()

ORM\GeneratedValue

()

ORM\Column

(type="integer")

$integrationAlias

private mixed $integrationAlias
Tags
ORM\Column

(name="integration_alias", type="string")

$integrationImporterRanges

private array<string|int, IntegrationImporterRange>|null $integrationImporterRanges
Tags
ORM\OneToMany

(targetEntity="IntegrationImporterRange", mappedBy="userModule", fetch="EXTRA_LAZY")

$isDefault

private bool $isDefault
Tags
ORM\Column

(name="is_default", type="boolean", nullable=false)

$module

private Module $module
Tags
ORM\ManyToOne

(targetEntity="Module")

ORM\JoinColumn

(name="module_id", referencedColumnName="id")

$nextCheck

private DateTime $nextCheck
Tags
ORM\Column

(type="datetime", name="next_check")

$products

private Product|null $products
Tags
ORM\OneToMany

(targetEntity="Product", mappedBy="userModule", fetch="EXTRA_LAZY")

$providerSlotSubscription

private ProviderSlotSubscription|null $providerSlotSubscription
Tags
ORM\OneToOne

(targetEntity="ProviderSlotSubscription", mappedBy="userModule", fetch="EXTRA_LAZY")

$pullEndDate

private DateTime|null $pullEndDate
Tags
ORM\Column

(name="pull_end_date", type="datetime", nullable=true)

$pullStartDate

private DateTime|null $pullStartDate
Tags
ORM\Column

(name="pull_start_date", type="datetime", nullable=true)

Methods

formatIntegrationAliasWithModuleName()

public static formatIntegrationAliasWithModuleName(mixed $userModuleId, mixed $alias) : mixed
Parameters
$userModuleId : mixed
$alias : mixed

getActive()

Get the value of active

public getActive() : bool
Return values
bool

getCancelationPending()

Get $cancelationPending

public getCancelationPending() : bool|null
Return values
bool|null

getCancelledAt()

public getCancelledAt() : DateTime|null
Return values
DateTime|null

getCredential()

Get the value of credential

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

getCredentialStatus()

Get the value of credentialStatus

public getCredentialStatus() : int
Return values
int

getCredentialStatusText()

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

getCredentialStatusTime()

Get the value of credentialStatusTime

public getCredentialStatusTime() : DateTime
Return values
DateTime

getCronPulls()

Get $cronPulls

public getCronPulls() : array<string|int, CronPull>|null
Return values
array<string|int, CronPull>|null

getExtendTime()

public getExtendTime() : DateTime|null
Return values
DateTime|null

getExtra()

Get the value of extra

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

getId()

Get $id

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

getIntegrationAlias()

Get the value of active

public getIntegrationAlias() : string
Return values
string

getIntegrationAliasWithModuleName()

public getIntegrationAliasWithModuleName() : mixed

getIntegrationImporterRanges()

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

getIsDefault()

public getIsDefault() : bool
Return values
bool

getNextCheck()

Get the value of nextCheck

public getNextCheck() : DateTime
Return values
DateTime

getNextCheckTime()

public getNextCheckTime() : DateTime|null
Return values
DateTime|null

getPullEndDate()

Get the value of pullEndDate

public getPullEndDate() : DateTime|null
Return values
DateTime|null

getPullStartDate()

Get the value of pullStartDate

public getPullStartDate() : DateTime|null
Return values
DateTime|null

getStartTime()

public getStartTime() : DateTime|null
Return values
DateTime|null

setActive()

Set the value of active

public setActive(bool $active) : self
Parameters
$active : bool
Return values
self

setCancelationPending()

Set the value of active

public setCancelationPending(bool $cancelationPending) : self
Parameters
$cancelationPending : bool
Return values
self

setCancelledAt()

public setCancelledAt(DateTime|null $cancelledAt) : self
Parameters
$cancelledAt : DateTime|null
Return values
self

setClient()

Set the value of client

public setClient(Client|null $client) : self
Parameters
$client : Client|null
Return values
self

setCredential()

Set the value of credential

public setCredential(array<string|int, mixed>|null $credential) : self
Parameters
$credential : array<string|int, mixed>|null
Return values
self

setCredentialStatus()

Set the value of credentialStatus

public setCredentialStatus(int $credentialStatus) : self
Parameters
$credentialStatus : int
Return values
self

setCredentialStatusTime()

Set the value of credentialStatusTime

public setCredentialStatusTime(DateTime $credentialStatusTime) : self
Parameters
$credentialStatusTime : DateTime
Return values
self

setCronPulls()

Set $cronPulls

public setCronPulls(array<string|int, CronPull>|null $cronPulls) : self
Parameters
$cronPulls : array<string|int, CronPull>|null

$cronPulls

Return values
self

setExtendTime()

Set $extendTime

public setExtendTime(DateTime|null $extendTime) : self
Parameters
$extendTime : DateTime|null

$extendTime

Return values
self

setExtra()

Set the value of extra

public setExtra(array<string|int, mixed>|null $extra) : self
Parameters
$extra : array<string|int, mixed>|null
Return values
self

setIntegrationAlias()

Set the value of active

public setIntegrationAlias(string $integrationAlias) : self
Parameters
$integrationAlias : string
Return values
self

setIntegrationImporterRanges()

public setIntegrationImporterRanges(array<string|int, mixed>|null $integrationImporterRanges) : void
Parameters
$integrationImporterRanges : array<string|int, mixed>|null

setIsDefault()

public setIsDefault(bool $isDefault) : self
Parameters
$isDefault : bool
Return values
self

setModule()

Set the value of module

public setModule(Module $module) : self
Parameters
$module : Module
Return values
self

setNextCheck()

Set the value of nextCheck

public setNextCheck(DateTime $nextCheck) : self
Parameters
$nextCheck : DateTime
Return values
self

setProducts()

public setProducts(array<string|int, Product>|null $products) : self
Parameters
$products : array<string|int, Product>|null
Return values
self

setPullEndDate()

Set the value of pullEndDate

public setPullEndDate(DateTime|null $pullEndDate) : self
Parameters
$pullEndDate : DateTime|null
Return values
self

setPullStartDate()

Set the value of pullStartDate

public setPullStartDate(DateTime|null $pullStartDate) : self
Parameters
$pullStartDate : DateTime|null
Return values
self

setStartTime()

Set $startTime

public setStartTime(DateTime|null $startTime) : self
Parameters
$startTime : DateTime|null

$startTime

Return values
self

setTimeForPullEndDate()

public setTimeForPullEndDate() : mixed
Tags
ORM\PreFlush

()

ORM\PostLoad

()

access

private

setTimeForPullStartDate()

public setTimeForPullStartDate() : mixed
Tags
ORM\PreFlush

()

ORM\PostLoad

()

access

private


        
On this page

Search results