ProductSpecialPrice
class ProductSpecialPrice extends DataModel
Special product price properties to specify date and stock limits.
Properties
protected array | $fields | from DataModel | |
protected boolean | $isEncrypted | from DataModel | |
protected Identity | $id | ||
protected Identity | $productId | ||
protected DateTime | $activeFromDate | ||
protected DateTime | $activeUntilDate | ||
protected boolean | $considerDateLimit | ||
protected boolean | $considerStockLimit | ||
protected boolean | $isActive | ||
protected integer | $stockLimit | ||
protected ProductSpecialPriceItem[] | $items |
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
getActiveFromDate()
No description
getActiveUntilDate()
No description
setConsiderDateLimit(boolean $considerDateLimit)
No description
boolean
getConsiderDateLimit()
No description
setConsiderStockLimit(boolean $considerStockLimit)
No description
boolean
getConsiderStockLimit()
No description
setIsActive(boolean $isActive)
No description
boolean
getIsActive()
No description
setStockLimit(integer $stockLimit)
No description
integer
getStockLimit()
No description
setItems(array $items)
No description
getItems()
No description
clearItems()
No description
Details
at line 99
__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