Documentation

Product extends Product
in package
implements Proxy

DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR

Table of Contents

Interfaces

Proxy

Properties

$__cloner__  : Closure
$__initializer__  : Closure
$__isInitialized__  : bool
$lazyPropertiesDefaults  : array<string, mixed>
$lazyPropertiesNames  : array<string, null>

Methods

__clone()  : mixed
__construct()  : mixed
__load()  : mixed
Forces initialization of the proxy
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
getAmazonProduct()  : AmazonProduct|null
getClient()  : Client
Get $client
getCommodityCode()  : string|null
getCountryVatTypes()  : array<string|int, VatType>|null
getCurrency()  : Currency|null
getCurrencyId()  : int|null
getId()  : int
getItemName()  : string|null
getModule()  : Module
getOriginCountry()  : Country|null
getProductId()  : string|null
getStatus()  : int
getUser()  : Client
getUserModule()  : UserModule
getValue()  : float|null
getVariantId()  : string|null
getVatType()  : VatType|null
getVatTypeId()  : int|null
getWeight()  : float|null
jsonSerialize()  : mixed
setClient()  : self
Set $client
setCommodityCode()  : void
setCountryVatTypes()  : void
setCurrency()  : void
setCurrencyId()  : void
setItemName()  : void
setModule()  : void
setOriginCountry()  : void
setProductId()  : void
setStatus()  : void
setUser()  : mixed
setUserModule()  : void
setValue()  : void
setVariantId()  : void
setVatType()  : void
setVatTypeId()  : void
setWeight()  : void

Properties

$__cloner__

public Closure $__cloner__

the callback responsible of loading properties that need to be copied in the cloned object

Tags
see
Proxy::__setCloner

$__initializer__

public Closure $__initializer__

the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.

Tags
see
Proxy::__setInitializer

$__isInitialized__

public bool $__isInitialized__ = false

flag indicating if this object was already initialized

Tags
see
Proxy::__isInitialized

$lazyPropertiesDefaults

public static array<string, mixed> $lazyPropertiesDefaults = array()

default values of properties to be lazy loaded, with keys being the property names

Tags
see
Proxy::__getLazyProperties

$lazyPropertiesNames

public static array<string, null> $lazyPropertiesNames = array()

properties to be lazy loaded, indexed by property name

Methods

__construct()

public __construct([Closure|null $initializer = null ][, Closure|null $cloner = null ]) : mixed
Parameters
$initializer : Closure|null = null
$cloner : Closure|null = null

getItemName()

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

getProductId()

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

getVariantId()

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

setCountryVatTypes()

public setCountryVatTypes(Collection|null $countryVatTypes) : void
Parameters
$countryVatTypes : Collection|null

setItemName()

public setItemName(string|null $itemName) : void
Parameters
$itemName : string|null

setProductId()

public setProductId(string|null $productId) : void
Parameters
$productId : string|null

setVariantId()

public setVariantId(string|null $variantId) : void
Parameters
$variantId : string|null

        
On this page

Search results