extends |
Model |
---|
Class Coupon
Methods | ||
---|---|---|
public
|
getCoupon(string $code): array<string, mixed>
|
# |
public
|
getCouponByCode(string $code): array<string, mixed>
|
# |
public
|
getProducts(int $coupon_id): array<int, int>
|
# |
public
|
getCategories(int $coupon_id): array<int, int>
|
# |
public
|
addHistory(int $coupon_id, int $order_id, int $customer_id, float $amount = 0.00): void
|
# |
public
|
deleteHistoriesByOrderId(int $order_id): void
|
# |
public
|
getTotalHistories(string $coupon_id): int
|
# |
public
|
getTotalHistoriesByCustomerId(int $coupon_id, int $customer_id): int
|
# |
Methods inherited from Opencart\System\Engine\Model |
---|
__construct(), __get(), __set(), __isset() |
Properties inherited from Opencart\System\Engine\Model |
---|
$registry |