# Class Opencart\Catalog\Model\Marketing\Marketing

`extends` | `Model`

Class Marketing

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Marketing\Marketing

Located at catalog\model\marketing\marketing.php

Methods
`public` | `getMarketingByCode(string $code): array<string, mixed>` Get Marketing By Code Get Marketing By Code | #
`public` | `addReport(int $marketing_id, string $ip, string $country = ''): void` Add Report Add Report | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master