|
5 | 5 |
|
6 | 6 | namespace Commercetools\Core\Model\CartDiscount; |
7 | 7 |
|
| 8 | +use Commercetools\Core\Model\Common\CreatedBy; |
| 9 | +use Commercetools\Core\Model\Common\LastModifiedBy; |
8 | 10 | use Commercetools\Core\Model\Common\Resource; |
9 | 11 | use Commercetools\Core\Model\Common\LocalizedString; |
10 | 12 | use Commercetools\Core\Model\Common\ReferenceCollection; |
|
49 | 51 | * @method CartDiscount setStackingMode(string $stackingMode = null) |
50 | 52 | * @method CustomFieldObject getCustom() |
51 | 53 | * @method CartDiscount setCustom(CustomFieldObject $custom = null) |
| 54 | + * @method CreatedBy getCreatedBy() |
| 55 | + * @method CartDiscount setCreatedBy(CreatedBy $createdBy = null) |
| 56 | + * @method LastModifiedBy getLastModifiedBy() |
| 57 | + * @method CartDiscount setLastModifiedBy(LastModifiedBy $lastModifiedBy = null) |
52 | 58 | * @method CartDiscountReference getReference() |
53 | 59 | */ |
54 | 60 | class CartDiscount extends Resource |
@@ -87,7 +93,9 @@ public function fieldDefinitions() |
87 | 93 | 'requiresDiscountCode' => [static::TYPE => 'bool'], |
88 | 94 | 'references' => [static::TYPE => ReferenceCollection::class], |
89 | 95 | 'stackingMode' => [static::TYPE => 'string'], |
90 | | - 'custom' => [static::TYPE => CustomFieldObject::class] |
| 96 | + 'custom' => [static::TYPE => CustomFieldObject::class], |
| 97 | + 'createdBy' => [static::TYPE => CreatedBy::class], |
| 98 | + 'lastModifiedBy' => [static::TYPE => LastModifiedBy::class], |
91 | 99 | ]; |
92 | 100 | } |
93 | 101 | } |
0 commit comments