Skip to content

Commit ce1b2ef

Browse files
authored
Add attachment to ProductImage (#38)
Resolves #37
1 parent 3921959 commit ce1b2ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Enum/Fields/ProductImageFields.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
class ProductImageFields extends AbstractObjectEnum
66
{
7+
const ATTACHMENT = 'attachment';
78
const CREATED_AT = 'created_at';
89
const ID = 'id';
910
const POSITION = 'position';
@@ -16,7 +17,8 @@ class ProductImageFields extends AbstractObjectEnum
1617

1718
public function getFieldTypes()
1819
{
19-
return array(
20+
return array(
21+
'attachment' => 'string',
2022
'created_at' => 'DateTime',
2123
'id' => 'integer',
2224
'position' => 'integer',

0 commit comments

Comments
 (0)