docs/api/Opencart.Catalog.Model.Account.Affiliate.html
| extends | Model |
Class Affiliate
Located at catalog\model\account\affiliate.php
| Methods |
|---|
| ` |
public
` | `addAffiliate(int $customer_id, array<string, mixed> $data): void`
Add Affiliate
Add Affiliate
| # | | `
public
` | `editAffiliate(int $customer_id, array<string, mixed> $data): void`
Edit Affiliate
Edit Affiliate
| # | | `
public
` | `deleteAffiliate(int $customer_id): void`
Delete Affiliate
Delete Affiliate
| # | | `
public
` | `getAffiliate(int $customer_id): array<string, mixed>`
Get Affiliate
Get Affiliate
| # | | `
public
` | `getAffiliateByTracking(string $code): array<string, mixed>`
Get Affiliate By Tracking
Get Affiliate By Tracking
| # | | `
public
` | `addReport(int $customer_id, string $ip, string $country = ''): void`
Add Report
Add Report
| # | | `
public
` | `deleteReports(int $customer_id): void`
Delete Customer Affiliate Reports
Delete Customer Affiliate Reports
| # |
| 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