ProductEntity
in package
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
- $asin : string
- $backdate : bool|null
- $commodityCode : string|null
- $countryVatTypes : array<string|int, mixed>
- $currencyId : int|null
- $hasError : bool
- $hellotaxId : string
- $id : int
- $integration : string
- $itemName : string
- $module : int
- $originCountryId : int|null
- $sku : array<string|int, mixed>
- $status : int
- $userId : int
- $userModuleId : int
- $value : float|null
- $vatTypeId : int|null
- $weight : float|null
Methods
- fromRequest() : self
- fromStdClass() : self
- getAsin() : string
- getBackdate() : bool|null
- getCommodityCode() : string|null
- getCountryVatTypes() : array<string|int, mixed>|null
- getCurrencyId() : int|null
- getHasError() : bool
- getHellotaxId() : string
- getId() : int
- getIntegration() : string
- getItemName() : string
- getModule() : int
- getOriginCountryId() : int|null
- getSku() : array<string|int, mixed>
- getStatus() : int|null
- getUserId() : int
- getUserModuleId() : int
- getValue() : float|null
- getVatTypeId() : int|null
- getWeight() : float|null
- jsonSerialize() : array<string|int, mixed>
- setAsin() : void
- setBackdate() : void
- setCommodityCode() : void
- setCountryVatTypes() : void
- setCurrencyId() : void
- setHasError() : void
- setHellotaxId() : void
- setId() : void
- setIntegration() : void
- setItemName() : void
- setModule() : void
- setOriginCountryId() : void
- setSku() : void
- setStatus() : void
- setUserId() : void
- setUserModuleId() : void
- setValue() : void
- setVatTypeId() : void
- setWeight() : void
- toValidatorArray() : array<string|int, mixed>
Properties
$asin
private
string
$asin
$backdate
private
bool|null
$backdate
$commodityCode
private
string|null
$commodityCode
$countryVatTypes
private
array<string|int, mixed>
$countryVatTypes
$currencyId
private
int|null
$currencyId
$hasError
private
bool
$hasError
$hellotaxId
private
string
$hellotaxId
$id
private
int
$id
$integration
private
string
$integration
$itemName
private
string
$itemName
$module
private
int
$module
$originCountryId
private
int|null
$originCountryId
$sku
private
array<string|int, mixed>
$sku
$status
private
int
$status
$userId
private
int
$userId
$userModuleId
private
int
$userModuleId
$value
private
float|null
$value
$vatTypeId
private
int|null
$vatTypeId
$weight
private
float|null
$weight
Methods
fromRequest()
public
fromRequest(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selffromStdClass()
public
fromStdClass(stdClass $product) : self
Parameters
- $product : stdClass
Return values
selfgetAsin()
public
getAsin() : string
Return values
stringgetBackdate()
public
getBackdate() : bool|null
Return values
bool|nullgetCommodityCode()
public
getCommodityCode() : string|null
Return values
string|nullgetCountryVatTypes()
public
getCountryVatTypes() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetCurrencyId()
public
getCurrencyId() : int|null
Return values
int|nullgetHasError()
public
getHasError() : bool
Return values
boolgetHellotaxId()
public
getHellotaxId() : string
Return values
string —$hellotaxId
getId()
public
getId() : int
Return values
intgetIntegration()
public
getIntegration() : string
Return values
stringgetItemName()
public
getItemName() : string
Return values
stringgetModule()
public
getModule() : int
Return values
intgetOriginCountryId()
public
getOriginCountryId() : int|null
Return values
int|nullgetSku()
public
getSku() : array<string|int, mixed>
Return values
array<string|int, mixed>getStatus()
public
getStatus() : int|null
Return values
int|nullgetUserId()
public
getUserId() : int
Return values
intgetUserModuleId()
public
getUserModuleId() : int
Return values
intgetValue()
public
getValue() : float|null
Return values
float|nullgetVatTypeId()
public
getVatTypeId() : int|null
Return values
int|nullgetWeight()
public
getWeight() : float|null
Return values
float|nulljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setAsin()
public
setAsin(string $asin) : void
Parameters
- $asin : string
setBackdate()
public
setBackdate(bool|null $backdate) : void
Parameters
- $backdate : bool|null
setCommodityCode()
public
setCommodityCode(string|null $commodityCode) : void
Parameters
- $commodityCode : string|null
setCountryVatTypes()
public
setCountryVatTypes(array<string|int, mixed>|null $countryVatTypes) : void
Parameters
- $countryVatTypes : array<string|int, mixed>|null
setCurrencyId()
public
setCurrencyId(int|null $currencyId) : void
Parameters
- $currencyId : int|null
setHasError()
public
setHasError(bool|null $hasError) : void
Parameters
- $hasError : bool|null
setHellotaxId()
public
setHellotaxId(string $hellotaxId) : void
Parameters
- $hellotaxId : string
setId()
public
setId(mixed $id) : void
Parameters
- $id : mixed
setIntegration()
public
setIntegration(string $integration) : void
Parameters
- $integration : string
setItemName()
public
setItemName(string $itemName) : void
Parameters
- $itemName : string
setModule()
public
setModule(int $module) : void
Parameters
- $module : int
setOriginCountryId()
public
setOriginCountryId(int|null $originCountryId) : void
Parameters
- $originCountryId : int|null
setSku()
public
setSku(array<string|int, mixed> $sku) : void
Parameters
- $sku : array<string|int, mixed>
setStatus()
public
setStatus(int|null $status) : void
Parameters
- $status : int|null
setUserId()
public
setUserId(int $userId) : void
Parameters
- $userId : int
setUserModuleId()
public
setUserModuleId(int $userModuleId) : void
Parameters
- $userModuleId : int
setValue()
public
setValue(float|null $value) : void
Parameters
- $value : float|null
setVatTypeId()
public
setVatTypeId(int|null $vatTypeId) : void
Parameters
- $vatTypeId : int|null
setWeight()
public
setWeight(float|null $weight) : void
Parameters
- $weight : float|null
toValidatorArray()
public
toValidatorArray() : array<string|int, mixed>