# Class Opencart\Catalog\Model\Account\Gdpr

`extends` | `Model`

Class Gdpr

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Account\Gdpr

Located at catalog\model\account\gdpr.php

Methods
`public` | `addGdpr(string $code, string $email, string $action): void` Add Gdpr Add Gdpr | #
`public` | `editStatus(int $gdpr_id, bool $status): void` Edit Status Edit Status | #
`public` | `getGdpr(int $gdpr_id): array<string, mixed>` Get Gdpr Get Gdpr | #
`public` | `getGdprByCode(string $code): array<string, mixed>` Get Gdpr By Code Get Gdpr By Code | #
`public` | `getGdprsByEmail(string $email): array<int, array<string, mixed>>` Get Gdpr(s) By Email Get Gdpr(s) By Email | #
`public` | `getExpires(): array<int, array<string, mixed>>` Get Expires Get Expires | #

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