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
$__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
$__isInitialized__
public
bool
$__isInitialized__
= false
flag indicating if this object was already initialized
Tags
$lazyPropertiesDefaults
public
static array<string, mixed>
$lazyPropertiesDefaults
= array()
default values of properties to be lazy loaded, with keys being the property names
Tags
$lazyPropertiesNames
public
static array<string, null>
$lazyPropertiesNames
= array()
properties to be lazy loaded, indexed by property name
Methods
__clone()
public
__clone() : mixed
__construct()
public
__construct([Closure|null $initializer = null ][, Closure|null $cloner = null ]) : mixed
Parameters
- $initializer : Closure|null = null
- $cloner : Closure|null = null
__load()
Forces initialization of the proxy
public
__load() : mixed
__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__wakeup()
public
__wakeup() : mixed
getAmazonProduct()
public
getAmazonProduct() : AmazonProduct|null
Return values
AmazonProduct|null —$amazonProduct
getClient()
Get $client
public
getClient() : Client
Return values
ClientgetCommodityCode()
public
getCommodityCode() : string|null
Return values
string|null —$commodityCode
getCountryVatTypes()
public
getCountryVatTypes() : array<string|int, VatType>|null
Return values
array<string|int, VatType>|null —$countryVatTypes
getCurrency()
public
getCurrency() : Currency|null
Return values
Currency|null —$currency
getCurrencyId()
public
getCurrencyId() : int|null
Return values
int|null —$currencyId
getId()
public
getId() : int
Return values
int —$id
getItemName()
public
getItemName() : string|null
Return values
string|nullgetModule()
public
getModule() : Module
Return values
Module —$module
getOriginCountry()
public
getOriginCountry() : Country|null
Return values
Country|null —$country
getProductId()
public
getProductId() : string|null
Return values
string|nullgetStatus()
public
getStatus() : int
Return values
int —$status
getUser()
public
getUser() : Client
Return values
ClientgetUserModule()
public
getUserModule() : UserModule
Return values
UserModulegetValue()
public
getValue() : float|null
Return values
float|null —$value
getVariantId()
public
getVariantId() : string|null
Return values
string|nullgetVatType()
public
getVatType() : VatType|null
Return values
VatType|null —$vatType
getVatTypeId()
public
getVatTypeId() : int|null
Return values
int|null —$vatTypeId
getWeight()
public
getWeight() : float|null
Return values
float|null —$weight
jsonSerialize()
public
jsonSerialize() : mixed
setClient()
Set $client
public
setClient(Client $client) : self
Parameters
- $client : Client
-
$client
Return values
selfsetCommodityCode()
public
setCommodityCode(string|null $commodityCode) : void
Parameters
- $commodityCode : string|null
setCountryVatTypes()
public
setCountryVatTypes(Collection|null $countryVatTypes) : void
Parameters
- $countryVatTypes : Collection|null
setCurrency()
public
setCurrency(Currency|null $currency) : void
Parameters
- $currency : Currency|null
setCurrencyId()
public
setCurrencyId(int|null $currencyId) : void
Parameters
- $currencyId : int|null
setItemName()
public
setItemName(string|null $itemName) : void
Parameters
- $itemName : string|null
setModule()
public
setModule(Module $module) : void
Parameters
- $module : Module
setOriginCountry()
public
setOriginCountry(Country|null $originCountry) : void
Parameters
- $originCountry : Country|null
setProductId()
public
setProductId(string|null $productId) : void
Parameters
- $productId : string|null
setStatus()
public
setStatus(int $status) : void
Parameters
- $status : int
setUser()
public
setUser(Client $user) : mixed
Parameters
- $user : Client
setUserModule()
public
setUserModule(UserModule $userModule) : void
Parameters
- $userModule : UserModule
setValue()
public
setValue(float|null $value) : void
Parameters
- $value : float|null
setVariantId()
public
setVariantId(string|null $variantId) : void
Parameters
- $variantId : string|null
setVatType()
public
setVatType(VatType|null $vatType) : void
Parameters
- $vatType : VatType|null
setVatTypeId()
public
setVatTypeId(int|null $vatTypeId) : void
Parameters
- $vatTypeId : int|null
setWeight()
public
setWeight(float|null $weight) : void
Parameters
- $weight : float|null