Documentation

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

$countryVatTypes

private array<string|int, mixed> $countryVatTypes

Methods

fromRequest()

public fromRequest(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

fromStdClass()

public fromStdClass(stdClass $product) : self
Parameters
$product : stdClass
Return values
self

getBackdate()

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

getCommodityCode()

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

getCountryVatTypes()

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

getCurrencyId()

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

getHasError()

public getHasError() : bool
Return values
bool

getHellotaxId()

public getHellotaxId() : string
Return values
string

$hellotaxId

getIntegration()

public getIntegration() : string
Return values
string

getItemName()

public getItemName() : string
Return values
string

getOriginCountryId()

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

getSku()

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

getStatus()

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

getUserModuleId()

public getUserModuleId() : int
Return values
int

getValue()

public getValue() : float|null
Return values
float|null

getVatTypeId()

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

getWeight()

public getWeight() : float|null
Return values
float|null

jsonSerialize()

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>
Return values
array<string|int, mixed>

        
On this page

Search results