# Class Opencart\Admin\Model\Customer\CustomerApproval

`extends` | `Model`

Class Customer Approval

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Customer\CustomerApproval

Located at admin\model\customer\customer_approval.php

Methods
`public` | `deleteApprovalsByCustomerId(int $customer_id): void` Delete Approvals By Customer ID Delete Approvals By Customer ID | #
`public` | `getCustomerApprovals(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Customer Approvals Get Customer Approvals | #
`public` | `getCustomerApproval(int $customer_approval_id): array<string, mixed>` Get Customer Approval Get Customer Approval | #
`public` | `getTotalCustomerApprovals(array<string, mixed> $data = []): int` Get Total Customer Approvals Get Total Customer Approvals | #
`public` | `approveCustomer(int $customer_id): void` Approve Customer Approve Customer | #
`public` | `denyCustomer(int $customer_id): void` Deny Customer Deny Customer | #
`public` | `approveAffiliate(int $customer_id): void` Approve Affiliate Approve Affiliate | #
`public` | `denyAffiliate(int $customer_id): void` Deny Affiliate Deny Affiliate | #

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