| 1 | <?php |
||
| 24 | class DiscountCodeReference extends Reference |
||
| 25 | { |
||
| 26 | const TYPE_DISCOUNT_CODE = 'discount-code'; |
||
| 27 | const TYPE_CLASS = '\Commercetools\Core\Model\DiscountCode\DiscountCode'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param $id |
||
| 31 | * @param Context|callable $context |
||
| 32 | * @return DiscountCodeReference |
||
| 33 | */ |
||
| 34 | 5 | public static function ofId($id, $context = null) |
|
| 38 | } |
||
| 39 |