# ProductI18n

class ProductI18n extends DataModel

Locale specific texts for product

## Properties

protected array | $fields |  | from DataModel
protected boolean | $isEncrypted |  | from DataModel
protected Identity | $productId |  |
protected string | $deliveryStatus |  |
protected string | $description |  |
protected string | $languageISO |  |
protected string | $measurementUnitName |  |
protected string | $metaDescription |  |
protected string | $metaKeywords |  |
protected string | $name |  |
protected string | $shortDescription |  |
protected string | $titleTag |  |
protected string | $unitName |  |
protected string | $urlPath |  |

## Methods

__construct()

Constructor

multitype:
getProperties()

Get the Model Properties

from Model
Model
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
toJson()

No description

from Model
mixed:string
getFields()

Fields Getter

from DataModel
validate()

Object Validation

from DataModel
mixed:string|NULL
getField(boolean $toWawi = false, string $key)

Get a Model Member Name

from DataModel
map(boolean $toWawi = false, stdClass $obj = null)

Object Mapping

from DataModel
DataType
getModelType()

No description

from DataModel
boolean
isEncrypted()

Encrypted Status

from DataModel
setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)

No description

from DataModel
setProperty($name, $value, $type)

No description

from DataModel
validateType($value, $type)

No description

from DataModel
ProductI18n
setProductId(Identity $productId)

No description

Identity
getProductId()

No description

ProductI18n
setDeliveryStatus(string $deliveryStatus)

No description

string
getDeliveryStatus()

No description

ProductI18n
setDescription(string $description)

No description

string
getDescription()

No description

ProductI18n
setLanguageISO(string $languageISO)

No description

string
getLanguageISO()

No description

ProductI18n
setMeasurementUnitName(string $measurementUnitName)

No description

string
getMeasurementUnitName()

No description

ProductI18n
setMetaDescription(string $metaDescription)

No description

string
getMetaDescription()

No description

ProductI18n
setMetaKeywords(string $metaKeywords)

No description

string
getMetaKeywords()

No description

ProductI18n
setName(string $name)

No description

string
getName()

No description

ProductI18n
setShortDescription(string $shortDescription)

No description

string
getShortDescription()

No description

ProductI18n
setTitleTag(string $titleTag)

No description

string
getTitleTag()

No description

ProductI18n
setUnitName(string $unitName)

No description

string
getUnitName()

No description

ProductI18n
setUrlPath(string $urlPath)

No description

string
getUrlPath()

No description

## Details

###
at line 123
`__construct()`

Constructor

###
in Model at line 33
`multitype: getProperties()`

Get the Model Properties

#### Return Value

multitype: | string

###
in DataModel at line 172
`Model setOptions(stdClass $object = null, array $options = null)`

Sets Properties with matching Array Values

#### Parameters

stdClass | $object |
array | $options |

#### Return Value

Model |

###
in DataModel at line 70
`stdClass getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))`

Convert the Model into stdClass Object

#### Parameters

array | $publics |

#### Return Value

stdClass | $object

###
in Model at line 115
`toJson()`

###
in DataModel at line 35
`mixed:string getFields()`

Fields Getter

#### Return Value

mixed:string |

###
in DataModel at line 45
`validate()`

Object Validation

#### Exceptions

SchemaException |

###
in DataModel at line 59
`mixed:string|NULL getField(boolean $toWawi = false, string $key)`

Get a Model Member Name

#### Parameters

boolean | $toWawi |
string | $key |

#### Return Value

mixed:string|NULL |

###
in DataModel at line 81
`map(boolean $toWawi = false, stdClass $obj = null)`

Object Mapping

#### Parameters

boolean | $toWawi |
stdClass | $obj | Object to map

###
in DataModel at line 42
`DataType getModelType()`

#### Return Value

DataType |

###
in DataModel at line 59
`boolean isEncrypted()`

Encrypted Status

#### Return Value

boolean |

###
in DataModel at line 123
`setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)`

#### Parameters

string | $propertyName |
string|null | $endpoint |
int|null | $host |

###
in DataModel at line 179
`protected setProperty($name, $value, $type)`

#### Parameters

| $name |
| $value |
| $type |

###
in DataModel at line 190
`protected validateType($value, $type)`

#### Parameters

| $value |
| $type |

###
at line 133
`ProductI18n setProductId(Identity $productId)`

#### Parameters

Identity | $productId | Reference to product

#### Return Value

ProductI18n |

#### Exceptions

InvalidArgumentException | if the provided argument is not of type 'Identity'.

###
at line 141
`Identity getProductId()`

#### Return Value

Identity | Reference to product

###
at line 150
`ProductI18n setDeliveryStatus(string $deliveryStatus)`

#### Parameters

string | $deliveryStatus |

#### Return Value

ProductI18n |

###
at line 158
`string getDeliveryStatus()`

#### Return Value

string |

###
at line 167
`ProductI18n setDescription(string $description)`

#### Parameters

string | $description | Optional product description

#### Return Value

ProductI18n |

###
at line 175
`string getDescription()`

#### Return Value

string | Optional product description

###
at line 184
`ProductI18n setLanguageISO(string $languageISO)`

#### Parameters

string | $languageISO | locale

#### Return Value

ProductI18n |

###
at line 192
`string getLanguageISO()`

#### Return Value

string | locale

###
at line 201
`ProductI18n setMeasurementUnitName(string $measurementUnitName)`

#### Parameters

string | $measurementUnitName |

#### Return Value

ProductI18n |

###
at line 209
`string getMeasurementUnitName()`

#### Return Value

string |

###
at line 218
`ProductI18n setMetaDescription(string $metaDescription)`

#### Parameters

string | $metaDescription |

#### Return Value

ProductI18n |

###
at line 226
`string getMetaDescription()`

#### Return Value

string |

###
at line 235
`ProductI18n setMetaKeywords(string $metaKeywords)`

#### Parameters

string | $metaKeywords |

#### Return Value

ProductI18n |

###
at line 243
`string getMetaKeywords()`

#### Return Value

string |

###
at line 252
`ProductI18n setName(string $name)`

#### Parameters

string | $name | Product name / title

#### Return Value

ProductI18n |

###
at line 260
`string getName()`

#### Return Value

string | Product name / title

###
at line 269
`ProductI18n setShortDescription(string $shortDescription)`

#### Parameters

string | $shortDescription | Optional product shortdescription

#### Return Value

ProductI18n |

###
at line 277
`string getShortDescription()`

#### Return Value

string | Optional product shortdescription

###
at line 286
`ProductI18n setTitleTag(string $titleTag)`

#### Parameters

string | $titleTag |

#### Return Value

ProductI18n |

###
at line 294
`string getTitleTag()`

#### Return Value

string |

###
at line 303
`ProductI18n setUnitName(string $unitName)`

#### Parameters

string | $unitName |

#### Return Value

ProductI18n |

###
at line 311
`string getUnitName()`

#### Return Value

string |

###
at line 320
`ProductI18n setUrlPath(string $urlPath)`

#### Parameters

string | $urlPath | Optional path of product URL

#### Return Value

ProductI18n |

###
at line 328
`string getUrlPath()`

#### Return Value

string | Optional path of product URL