Product
in package
implements
JsonSerializable
Class Product
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $amazonProduct : AmazonProduct|null
- $client : Client
- $commodityCode : string|null
- $countryVatTypes : array<string|int, VatType>|null
- $currency : Currency|null
- $currencyId : mixed
- $id : int|null
- $itemName : string|null
- $module : Module
- $originCountry : Country|null
- $productId : string|null
- $status : int
- $userModule : UserModule
- $value : float|null
- $variantId : string|null
- $vatType : VatType|null
- $vatTypeId : mixed
- $weight : float|null
Methods
- 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
$amazonProduct
private
AmazonProduct|null
$amazonProduct
Tags
$client
private
Client
$client
Tags
$commodityCode
private
string|null
$commodityCode
Tags
$countryVatTypes
private
array<string|int, VatType>|null
$countryVatTypes
Tags
$currency
private
Currency|null
$currency
Tags
$currencyId
private
mixed
$currencyId
Tags
$id
private
int|null
$id
Tags
$itemName
private
string|null
$itemName
Tags
$module
private
Module
$module
Tags
$originCountry
private
Country|null
$originCountry
Tags
$productId
private
string|null
$productId
Tags
$status
private
int
$status
Tags
$userModule
private
UserModule
$userModule
Tags
$value
private
float|null
$value
Tags
$variantId
private
string|null
$variantId
Tags
$vatType
private
VatType|null
$vatType
Tags
$vatTypeId
private
mixed
$vatTypeId
Tags
$weight
private
float|null
$weight
Tags
Methods
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