CatalogCustomAttributeValue
April 22, 2020 ยท View on GitHub
Description
An instance of a custom attribute. Custom attributes can be defined and added to ITEM and ITEM_VARIATION type catalog objects. Read more about custom attributes.
Properties
| Name | Getter | Setter | Type | Description | Notes |
|---|---|---|---|---|---|
| name | getName() | setName($value) | string | The name of the custom attribute. | [optional] |
| string_value | getStringValue() | setStringValue($value) | string | The string value of the custom attribute. Populated if `type` = `STRING`. | [optional] |
| custom_attribute_definition_id | getCustomAttributeDefinitionId() | setCustomAttributeDefinitionId($value) | string | Read-only. The id of the `CatalogCustomAttributeDefinition` this value belongs to. | [optional] |
| type | getType() | setType($value) | string | Read-only. A copy of type from the associated `CatalogCustomAttributeDefinition`. See CatalogCustomAttributeDefinitionType for possible values | [optional] |
| number_value | getNumberValue() | setNumberValue($value) | string | Populated if `type` = `NUMBER`. Contains a string representation of a decimal number, using a `.` as the decimal separator. | [optional] |
| boolean_value | getBooleanValue() | setBooleanValue($value) | bool | A `true` or `false` value. Populated if `type` = `BOOLEAN`. | [optional] |
| selection_uid_values | getSelectionUidValues() | setSelectionUidValues($value) | string[] | One or more choices from `allowed_selections`. Populated if `type` = `SELECTION`. | [optional] |
| key | getKey() | setKey($value) | string | Read-only. A copy of key from the associated `CatalogCustomAttributeDefinition`. | [optional] |
Note: All properties are protected and only accessed via getters and setters.