CustomerGroup
class CustomerGroup extends DataModel
Customer group model.
Properties
protected array | $fields | from DataModel | |
protected boolean | $isEncrypted | from DataModel | |
protected Identity | $id | ||
protected boolean | $applyNetPrice | ||
protected double | $discount | ||
protected boolean | $isDefault | ||
protected CustomerGroupAttr[] | $attributes | ||
protected CustomerGroupI18n[] | $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
setApplyNetPrice(boolean $applyNetPrice)
No description
boolean
getApplyNetPrice()
No description
setDiscount(double $discount)
No description
double
getDiscount()
No description
setIsDefault(boolean $isDefault)
No description
boolean
getIsDefault()
No description
setAttributes(array $attributes)
No description
getAttributes()
No description
clearAttributes()
No description
setI18ns(array $i18ns)
No description
getI18ns()
No description
clearI18ns()
No description
Details
at line 75
__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