extends |
Model |
---|
Class Transaction
Methods | ||
---|---|---|
public
|
addTransaction(int $customer_id, int $order_id, string $description, float $amount): void
|
# |
public
|
deleteTransaction(int $customer_id, int $order_id = 0): void
|
# |
public
|
deleteTransactionByOrderId(int $order_id): void
|
# |
public
|
getTransactions(int $customer_id, array<string, mixed> $data = []): array<int, array<string, mixed>>
|
# |
public
|
getTotalTransactions(int $customer_id): int
|
# |
public
|
getTotalTransactionsByOrderId(int $order_id): int
|
# |
public
|
getTransactionTotal(int $customer_id): float
|
# |
Methods inherited from Opencart\System\Engine\Model |
---|
__construct(), __get(), __set(), __isset() |
Properties inherited from Opencart\System\Engine\Model |
---|
$registry |