ProductFileDownload
class ProductFileDownload extends DataModel
Properties
protected array | $fields | from DataModel | |
protected boolean | $isEncrypted | from DataModel | |
protected Identity | $productId | ||
protected DateTime | $creationDate | ||
protected integer | $maxDays | ||
protected integer | $maxDownloads | ||
protected string | $path | ||
protected string | $previewPath | ||
protected integer | $sort | ||
protected ProductFileDownloadI18n[] | $i18ns |
Methods
__construct()
Constructor
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
from DataModel
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
from DataModel
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
from DataModel
setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)
No description
from DataModel
getProductId()
No description
getCreationDate()
No description
setMaxDays(integer $maxDays)
No description
integer
getMaxDays()
No description
setMaxDownloads(integer $maxDownloads)
No description
integer
getMaxDownloads()
No description
setPath(string $path)
No description
string
getPath()
No description
setPreviewPath(string $previewPath)
No description
string
getPreviewPath()
No description
setSort(integer $sort)
No description
integer
getSort()
No description
setI18ns(array $i18ns)
No description
getI18ns()
No description
clearI18ns()
No description
Details
at line 90
__construct()
Constructor
in Model at line 33
multitype:
getProperties()
Get the Model Properties
in DataModel at line 172
Model
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
in DataModel at line 70
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
in Model at line 115
toJson()
in DataModel at line 35
mixed:string
getFields()
Fields Getter
in DataModel at line 45
validate()
Object Validation
in DataModel at line 59
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
in DataModel at line 59
boolean
isEncrypted()
Encrypted Status