Documentation

UserWrapper
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Constants

ACCESS_BUSINESS_COUNTRY  = "business-country"
ACCESS_CHECKOUT  = "checkout"
ACCESS_CLIENT_LIST  = "client-list"
ACCESS_DASHBOARD  = "dashboard"
ACCESS_EMAIL_CONFIRMATION  = "confirmation"
ACCESS_INTEGRATION  = "integrations"
ACCESS_NONE  = "none"
CLIENT_COMPANY_COUNTRY_FIELD_NAME  = "client.company_country_id"
CLIENT_LANGUAGE_FIELD_NAME  = "client.client_language"
CLIENT_STATUS_FIELD_NAME  = "client.active"

Properties

$client  : Client|null
$hasActiveOssRegistration  : bool
$hasActiveSubscription  : bool
$hasOnlyNewSellerSubscriptions  : bool
$hasSubscription  : bool|null
$isPremium  : bool|null
$modifiedFields  : mixed
$prevUserAccount  : UserAccount|null
$token  : string|null
$userAccount  : UserAccount

Methods

__call()  : mixed
activateUserModulesThatWereDeactivatedWithClient()  : mixed
deactivateActiveUserModules()  : mixed
find()  : mixed
findFirst()  : mixed
getAccountAccessBlocked()  : bool|null
getAccountCreateDate()  : string|null
getAccountCreation()  : AccountCreation|null
getAccountCreationMethod()  : AccountCreationMethod|null
getAccountManager()  : mixed
getActive()  : bool|null
getActiveClient()  : Client|null
getActiveUserAccount()  : UserAccount
getAmazonUserId()  : string|null
getApi()  : int|null
getAvatar()  : string|null
getAvatarPath()  : string|null
getCanAccessOnly()  : string
getChargebeeUserId()  : string|null
getClient()  : string|null
getClientAccessBlocked()  : bool|null
getClientActive()  : bool|null
getClientId()  : string|null
getClientLanguage()  : mixed
getClientTextId()  : string|null
getCompanyAddress()  : string|null
getCompanyAddressHouseNumber()  : string|null
getCompanyAddressLineTwo()  : string|null
getCompanyAddressStreet()  : string|null
getCompanyCity()  : string|null
getCompanyCountry()  : Country|null
getCompanyCountryId()  : int|null
getCompanyLogo()  : string|null
getCompanyLogoFileName()  : string|null
getCompanyName()  : string|null
getCompanyState()  : string|null
getCompanyZip()  : string|null
getCountry()  : Country|null
getCountryId()  : int|null
getDateOfBirth()  : DateTime|null
getDateOfBirthString()  : string|null
getDefaultTraderType()  : TraderType|null
getDefaultTraderTypeId()  : int|null
getDisabledOssServices()  : array<string|int, mixed>
getDrEnabled()  : bool
getEmail()  : string|null
getFirstName()  : string|null
getFullName()  : string
getGoCardLessUserId()  : string|null
getHasActiveOssRegistration()  : bool
Get the value of hasActiveOssRegistration
getHasActiveSubscription()  : bool
Get the value of hasActiveSubscription
getHasOnlyNewSellerSubscriptions()  : bool
Get the value of hasOnlyNewSeller
getHasProviders()  : mixed
getHasSubscription()  : bool
getId()  : mixed
getIsPremium()  : bool
Get the value of isPremium
getLanguage()  : string|null
getLastName()  : string|null
getModules()  : Collection|null
getName()  : string|null
getNewSellerPlanSwitcher()  : mixed
getNonZeroProductCount()  : int|null
getNotificationEmail()  : string|null
getOnboardingStatus()  : array<string|int, OnboardingStatus>|null
getOnboardingStatusFor()  : OnboardingStatus|null
getPassword()  : string|null
getPermission()  : int|null
getPerson()  : Person|null
getPhone()  : string|null
getPhoneCode()  : int|null
getPhoneNumber()  : string|null
getPrevUserAccount()  : UserAccount|null
Get the value of prevUserAccount
getProductCount()  : int|null
getProductNonZeroValuePercent()  : int|null
getProductNonZeroValueRate()  : mixed
getSalesAgent()  : mixed
getSiretNumber()  : string|null
getToken()  : string|null
Get the value of token
getUser()  : self
getUserAccount()  : UserAccount
Get $actor
getUserAccountId()  : int|null
getUserClient()  : string
getUserVats()  : Collection|null
getWarehouseCountry()  : Country|null
getWizardStep()  : int|null
hasChargebeeUserId()  : bool
hashPassword()  : string
hasPartner()  : mixed
isDemo()  : bool
isFieldModified()  : mixed
isSubAccount()  : mixed
jsonSerialize()  : array<string|int, mixed>
save()  : mixed
serializeActiveClient()  : array<string|int, mixed>|null
serializeUserAccount()  : array<string|int, mixed>
setAccountAccessBlocked()  : self
setAccountCreateDate()  : mixed
setAccountCreation()  : self
setActive()  : UserWrapper
setActiveClient()  : self
setAmazonUserId()  : self
setApi()  : self
Does nothing.
setAvatar()  : self
setChargebeeUserId()  : self
setClient()  : self
setClientAccessBlocked()  : self
setClientActive()  : self
setClientId()  : self
setClientLanguage()  : self
setClientTextId()  : self
setCompanyAddress()  : self
setCompanyAddressHouseNumber()  : self
setCompanyAddressLineTwo()  : self
setCompanyAddressStreet()  : self
setCompanyCity()  : self
setCompanyCountry()  : self
setCompanyCountryId()  : self
setCompanyLogo()  : self
setCompanyName()  : self
setCompanyState()  : self
setCompanyZip()  : self
setCountry()  : self
setCountryId()  : self
setDateOfBirth()  : self
setDateOfBirthString()  : mixed
setDeactivatedAt()  : self
setDeactivateRequestAt()  : self
setDefaultTraderType()  : self
setDefaultTraderTypeId()  : self
setDrEnabled()  : mixed
setEmail()  : self
setFirstName()  : self
setGoCardLessUserId()  : self
setHasActiveOssRegistration()  : self
Set the value of hasActiveOssRegistration
setHasActiveSubscription()  : self
Set the value of hasActiveSubscription
setHasOnlyNewSellerSubscriptions()  : self
Set the value of hasOnlyNewSeller
setHasSubscription()  : self
setIsPremium()  : self
Set the value of isPremium
setLanguage()  : self
setLastName()  : self
setNewSellerPlanSwitcher()  : mixed
setNotificationEmail()  : self
setPassword()  : self
setPhoneCode()  : self
setPhoneNumber()  : self
setPrevUserAccount()  : self
Set the value of prevUserAccount
setSiretNumber()  : self
setToken()  : self
Set the value of token
setUserAccount()  : self
Set $actor
setWarehouseCountry()  : mixed
setWizardStep()  : self
setFieldIsModified()  : mixed

Constants

ACCESS_BUSINESS_COUNTRY

public mixed ACCESS_BUSINESS_COUNTRY = "business-country"

ACCESS_CHECKOUT

public mixed ACCESS_CHECKOUT = "checkout"

ACCESS_CLIENT_LIST

public mixed ACCESS_CLIENT_LIST = "client-list"

ACCESS_DASHBOARD

public mixed ACCESS_DASHBOARD = "dashboard"

ACCESS_EMAIL_CONFIRMATION

public mixed ACCESS_EMAIL_CONFIRMATION = "confirmation"

ACCESS_INTEGRATION

public mixed ACCESS_INTEGRATION = "integrations"

CLIENT_COMPANY_COUNTRY_FIELD_NAME

public mixed CLIENT_COMPANY_COUNTRY_FIELD_NAME = "client.company_country_id"

CLIENT_LANGUAGE_FIELD_NAME

public mixed CLIENT_LANGUAGE_FIELD_NAME = "client.client_language"

CLIENT_STATUS_FIELD_NAME

public mixed CLIENT_STATUS_FIELD_NAME = "client.active"

Properties

$hasActiveOssRegistration

private bool $hasActiveOssRegistration = false

$hasActiveSubscription

private bool $hasActiveSubscription = false

$hasOnlyNewSellerSubscriptions

private bool $hasOnlyNewSellerSubscriptions = false

$hasSubscription

private bool|null $hasSubscription = false

Methods

__call()

public __call(mixed $name, mixed $arguments) : mixed
Parameters
$name : mixed
$arguments : mixed

activateUserModulesThatWereDeactivatedWithClient()

public activateUserModulesThatWereDeactivatedWithClient() : mixed
Tags
throws
Exception

deactivateActiveUserModules()

public deactivateActiveUserModules() : mixed

find()

public static find(int $id) : mixed
Parameters
$id : int

findFirst()

public static findFirst(int $id) : mixed
Parameters
$id : int

getAccountAccessBlocked()

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

getAccountCreateDate()

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

getAccountManager()

public getAccountManager() : mixed

getActive()

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

getAmazonUserId()

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

getApi()

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

getAvatar()

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

getAvatarPath()

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

getCanAccessOnly()

public getCanAccessOnly() : string
Return values
string

getChargebeeUserId()

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

getClient()

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

getClientAccessBlocked()

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

getClientActive()

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

getClientId()

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

getClientLanguage()

public getClientLanguage() : mixed

getClientTextId()

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

getCompanyAddress()

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

getCompanyAddressHouseNumber()

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

getCompanyAddressLineTwo()

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

getCompanyAddressStreet()

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

getCompanyCity()

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

getCompanyCountryId()

public getCompanyCountryId() : int|null
Return values
int|null
public getCompanyLogo() : string|null
Return values
string|null

getCompanyLogoFileName()

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

getCompanyName()

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

getCompanyState()

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

getCompanyZip()

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

getCountryId()

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

$countryId

getDateOfBirth()

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

getDateOfBirthString()

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

getDefaultTraderTypeId()

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

getDisabledOssServices()

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

getDrEnabled()

public getDrEnabled() : bool
Return values
bool

getEmail()

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

getFirstName()

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

getFullName()

public getFullName() : string
Return values
string

getGoCardLessUserId()

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

getHasActiveOssRegistration()

Get the value of hasActiveOssRegistration

public getHasActiveOssRegistration() : bool
Return values
bool

getHasActiveSubscription()

Get the value of hasActiveSubscription

public getHasActiveSubscription() : bool
Return values
bool

getHasOnlyNewSellerSubscriptions()

Get the value of hasOnlyNewSeller

public getHasOnlyNewSellerSubscriptions() : bool
Return values
bool

getHasProviders()

public getHasProviders() : mixed

getHasSubscription()

public getHasSubscription() : bool
Return values
bool

getIsPremium()

Get the value of isPremium

public getIsPremium() : bool
Return values
bool

getLanguage()

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

getLastName()

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

getModules()

public getModules() : Collection|null
Return values
Collection|null

getName()

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

getNewSellerPlanSwitcher()

public getNewSellerPlanSwitcher() : mixed

getNonZeroProductCount()

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

getNotificationEmail()

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

getPassword()

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

getPermission()

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

getPhone()

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

getPhoneCode()

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

$phoneCode

getPhoneNumber()

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

getProductCount()

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

getProductNonZeroValuePercent()

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

getProductNonZeroValueRate()

public getProductNonZeroValueRate() : mixed

getSiretNumber()

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

getToken()

Get the value of token

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

getUser()

public getUser() : self
Return values
self

getUserAccountId()

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

getUserClient()

public getUserClient() : string
Return values
string

getUserVats()

public getUserVats() : Collection|null
Return values
Collection|null

getWizardStep()

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

hasChargebeeUserId()

public hasChargebeeUserId() : bool
Return values
bool

hashPassword()

public hashPassword(string $password) : string
Parameters
$password : string
Return values
string

$password

isDemo()

public isDemo() : bool
Return values
bool

isFieldModified()

public isFieldModified(string $field) : mixed
Parameters
$field : string

jsonSerialize()

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

serializeActiveClient()

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

serializeUserAccount()

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

setAccountAccessBlocked()

public setAccountAccessBlocked(bool|null $bool) : self
Parameters
$bool : bool|null
Return values
self

setAccountCreateDate()

public setAccountCreateDate(DateTime $createTime) : mixed
Parameters
$createTime : DateTime

setActiveClient()

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

setAmazonUserId()

public setAmazonUserId(string|null $amazonUserId) : self
Parameters
$amazonUserId : string|null
Return values
self

setApi()

Does nothing.

public setApi(mixed $api) : self
Parameters
$api : mixed
Return values
self

setAvatar()

public setAvatar(string|null $avatar) : self
Parameters
$avatar : string|null
Return values
self

setChargebeeUserId()

public setChargebeeUserId(string|null $chargebeeUserId) : self
Parameters
$chargebeeUserId : string|null
Return values
self

setClient()

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

setClientAccessBlocked()

public setClientAccessBlocked(bool|null $bool) : self
Parameters
$bool : bool|null
Return values
self

setClientActive()

public setClientActive(bool|null $bool) : self
Parameters
$bool : bool|null
Return values
self

setClientId()

public setClientId(string|null $clientId) : self
Parameters
$clientId : string|null
Return values
self

setClientLanguage()

public setClientLanguage(string $clientLanguage) : self
Parameters
$clientLanguage : string
Return values
self

setClientTextId()

public setClientTextId(mixed $textId) : self
Parameters
$textId : mixed
Return values
self

setCompanyAddress()

public setCompanyAddress(string|null $companyAddress) : self
Parameters
$companyAddress : string|null
Return values
self

setCompanyAddressHouseNumber()

public setCompanyAddressHouseNumber(string|null $companyAddressHouseNumber) : self
Parameters
$companyAddressHouseNumber : string|null
Return values
self

setCompanyAddressLineTwo()

public setCompanyAddressLineTwo(string|null $companyAddressLineTwo) : self
Parameters
$companyAddressLineTwo : string|null
Return values
self

setCompanyAddressStreet()

public setCompanyAddressStreet(string|null $companyAddressStreet) : self
Parameters
$companyAddressStreet : string|null
Return values
self

setCompanyCity()

public setCompanyCity(string|null $companyCity) : self
Parameters
$companyCity : string|null
Return values
self

setCompanyCountry()

public setCompanyCountry(Country|null $companyCountry) : self
Parameters
$companyCountry : Country|null
Return values
self

setCompanyCountryId()

public setCompanyCountryId(int|null $companyCountryId) : self
Parameters
$companyCountryId : int|null
Return values
self
public setCompanyLogo(string|null $companyLogo) : self
Parameters
$companyLogo : string|null
Return values
self

setCompanyName()

public setCompanyName(string|null $companyName) : self
Parameters
$companyName : string|null
Return values
self

setCompanyState()

public setCompanyState(string|null $companyState) : self
Parameters
$companyState : string|null
Return values
self

setCompanyZip()

public setCompanyZip(string|null $companyZip) : self
Parameters
$companyZip : string|null
Return values
self

setCountryId()

public setCountryId(int|null $countryId) : self
Parameters
$countryId : int|null
Return values
self

setDateOfBirth()

public setDateOfBirth(DateTime|null $dateOfBirth) : self
Parameters
$dateOfBirth : DateTime|null
Return values
self

setDateOfBirthString()

public setDateOfBirthString(string|null $dateOfBirthString) : mixed
Parameters
$dateOfBirthString : string|null

setDeactivatedAt()

public setDeactivatedAt(DateTime|null $dateTime) : self
Parameters
$dateTime : DateTime|null
Return values
self

setDeactivateRequestAt()

public setDeactivateRequestAt(DateTime|null $dateTime) : self
Parameters
$dateTime : DateTime|null
Return values
self

setDefaultTraderTypeId()

public setDefaultTraderTypeId(int $type) : self
Parameters
$type : int
Return values
self

setDrEnabled()

public setDrEnabled(bool $enabled) : mixed
Parameters
$enabled : bool

setEmail()

public setEmail(string|null $email) : self
Parameters
$email : string|null
Return values
self

setFirstName()

public setFirstName(string|null $firstName) : self
Parameters
$firstName : string|null
Return values
self

setGoCardLessUserId()

public setGoCardLessUserId(string|null $goCardLessUserId) : self
Parameters
$goCardLessUserId : string|null
Return values
self

setHasActiveOssRegistration()

Set the value of hasActiveOssRegistration

public setHasActiveOssRegistration(bool $hasActiveOssRegistration) : self
Parameters
$hasActiveOssRegistration : bool
Return values
self

setHasActiveSubscription()

Set the value of hasActiveSubscription

public setHasActiveSubscription(bool $hasActiveSubscription) : self
Parameters
$hasActiveSubscription : bool
Return values
self

setHasOnlyNewSellerSubscriptions()

Set the value of hasOnlyNewSeller

public setHasOnlyNewSellerSubscriptions(bool $hasOnlyNewSeller) : self
Parameters
$hasOnlyNewSeller : bool
Return values
self

setHasSubscription()

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

setIsPremium()

Set the value of isPremium

public setIsPremium(bool $isPremium) : self
Parameters
$isPremium : bool
Return values
self

setLanguage()

public setLanguage(string|null $language) : self
Parameters
$language : string|null
Return values
self

setLastName()

public setLastName(string|null $lastName) : self
Parameters
$lastName : string|null
Return values
self

setNewSellerPlanSwitcher()

public setNewSellerPlanSwitcher(mixed $enabled) : mixed
Parameters
$enabled : mixed

setNotificationEmail()

public setNotificationEmail(string|null $notificationEmail) : self
Parameters
$notificationEmail : string|null
Return values
self

setPassword()

public setPassword(string|null $password) : self
Parameters
$password : string|null
Return values
self

setPhoneCode()

public setPhoneCode(int|null $phoneCode) : self
Parameters
$phoneCode : int|null
Return values
self

setPhoneNumber()

public setPhoneNumber(string|null $phoneNumber) : self
Parameters
$phoneNumber : string|null
Return values
self

setPrevUserAccount()

Set the value of prevUserAccount

public setPrevUserAccount(UserAccount|null $prevUserAccount) : self
Parameters
$prevUserAccount : UserAccount|null
Return values
self

setSiretNumber()

public setSiretNumber(string|null $siretNumber) : self
Parameters
$siretNumber : string|null
Return values
self

setToken()

Set the value of token

public setToken(string|null $token) : self
Parameters
$token : string|null
Return values
self

setWizardStep()

public setWizardStep(mixed $wizardStep) : self
Parameters
$wizardStep : mixed
Return values
self

setFieldIsModified()

private setFieldIsModified(mixed $new) : mixed
Parameters
$new : mixed

        
On this page

Search results