| Method | Description | Returns |
|---|---|---|
| getValue() | Gets the value according to the metadata field type. Number types are returned as numeric strings. | string |
| getId() | int | |
| getTextValue() | string | |
| getNumberValue() | string | |
| getBooleanValue() | bool | |
| getCreated() | Date the record was created. | DateTime |
| getModified() | Last modification date for the record. | DateTime |
| getMetadataField() | MetadataField | |
| getOrder() | BaseOrder | |
| isNewRecord() | Check if the record is a new record | bool |
| isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
| isVersionedModel() | Check whether a model is versioned | bool |
Orders\Models\Frontend\MetadataFieldValue
MetadataFieldValue