ProductFile¶
The ProductFile object represents a single file for product in the storefront.
classDiagram
direction LR
ProductFile --> Url
ProductFile --> Size
class Url{
}
class Size{
}
class ProductFile{
int id
string name
string extension
string description
Url url
Size size,
int type
}
Properties¶
| Attribute name | Type | Description |
|---|---|---|
| id | int |
The unique identifier of the file. |
| name | string |
Name of the file. |
| extension | string |
Extension of the file. |
| description | string |
Description of the file. |
| url | Url |
The Url object of the file. |
| size | Size |
The Size object of the file. |
| type | int |
Type of the file. |
Examples¶
id property¶
name property¶
extension property¶
description property¶
url property¶
size property¶
type property¶
- 0 - type regular
- 1 - type safety - the file contains user manual or safety information (GPSR)