From ce1b2ef6b568f1987bdf920e2f5c3f3ecf744dd7 Mon Sep 17 00:00:00 2001 From: Robert Wittman Date: Sat, 14 Sep 2019 21:59:03 -0700 Subject: [PATCH] Add attachment to ProductImage (#38) Resolves #37 --- src/Enum/Fields/ProductImageFields.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Enum/Fields/ProductImageFields.php b/src/Enum/Fields/ProductImageFields.php index 655a78e..123b15e 100644 --- a/src/Enum/Fields/ProductImageFields.php +++ b/src/Enum/Fields/ProductImageFields.php @@ -4,6 +4,7 @@ class ProductImageFields extends AbstractObjectEnum { + const ATTACHMENT = 'attachment'; const CREATED_AT = 'created_at'; const ID = 'id'; const POSITION = 'position'; @@ -16,7 +17,8 @@ class ProductImageFields extends AbstractObjectEnum public function getFieldTypes() { - return array( + return array( + 'attachment' => 'string', 'created_at' => 'DateTime', 'id' => 'integer', 'position' => 'integer',