Methods |
public
|
addCustomer(array<string, mixed> $data): int
|
#
|
public
|
editCustomer(int $customer_id, array<string, mixed> $data): void
|
#
|
public
|
editToken(int $customer_id, string $token): void
|
#
|
public
|
editCommenter(int $customer_id, bool $status): void
|
#
|
public
|
deleteCustomer(int $customer_id): void
|
#
|
public
|
getCustomer(int $customer_id): array<string, mixed>
|
#
|
public
|
getCustomerByEmail(string $email): array<string, mixed>
|
#
|
public
|
getCustomers(array<string, mixed> $data = []): array<int, array<string, mixed>>
|
#
|
public
|
getTotalCustomers(array<string, mixed> $data = []): int
|
#
|
public
|
getTotalCustomersByCustomerGroupId(int $customer_group_id): int
Get Total Customers By Customer Group ID
Get Total Customers By Customer Group ID
|
#
|
public
|
deleteActivities(int $customer_id): void
|
#
|
public
|
addAddress(int $customer_id, array<string, mixed> $data): int
|
#
|
public
|
editAddress(int $customer_id, int $address_id, array<string, mixed> $data): void
|
#
|
public
|
deleteAddresses(int $customer_id, int $address_id = 0): void
|
#
|
public
|
getAddress(int $address_id): array<string, mixed>
|
#
|
public
|
getAddresses(int $customer_id): array<int, array<string, mixed>>
|
#
|
public
|
getTotalAddresses(int $customer_id): int
|
#
|
public
|
getTotalAddressesByCountryId(int $country_id): int
Get Total Address By Country ID
Get Total Address By Country ID
|
#
|
public
|
getTotalAddressesByZoneId(int $zone_id): int
Get Total Addresses By Zone ID
Get Total Addresses By Zone ID
|
#
|
public
|
addHistory(int $customer_id, string $comment): void
|
#
|
public
|
deleteHistories(int $customer_id): void
Delete Customer Histories
Delete Customer Histories
|
#
|
public
|
getHistories(int $customer_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalHistories(int $customer_id): int
|
#
|
public
|
deleteWishlists(int $customer_id): void
|
#
|
public
|
addTransaction(int $customer_id, string $description = '', float $amount = 0, int $order_id = 0): void
|
#
|
public
|
deleteTransactions(int $customer_id): void
|
#
|
public
|
deleteTransactionsByOrderId(int $order_id): void
Delete Transactions By Order ID
Delete Transactions By Order ID
|
#
|
public
|
getTransactions(int $customer_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalTransactions(int $customer_id): int
|
#
|
public
|
getTransactionTotal(int $customer_id): float
|
#
|
public
|
getTotalTransactionsByOrderId(int $order_id): int
Get Total Transactions By Order ID
Get Total Transactions By Order ID
|
#
|
public
|
addReward(int $customer_id, string $description = '', int $points = 0, int $order_id = 0): void
|
#
|
public
|
deleteRewards(int $customer_id): void
|
#
|
public
|
deleteRewardsByOrderId(int $order_id): void
Delete Rewards By Order ID
Delete Rewards By Order ID
|
#
|
public
|
getRewards(int $customer_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalRewards(int $customer_id): int
|
#
|
public
|
getRewardTotal(int $customer_id): int
|
#
|
public
|
getTotalRewardsByOrderId(int $order_id): int
Get Total Rewards By Order ID
Get Total Rewards By Order ID
|
#
|
public
|
deleteIps(int $customer_id): void
|
#
|
public
|
getIps(int $customer_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalIps(int $customer_id): int
|
#
|
public
|
getTotalCustomersByIp(string $ip): int
Get Total Customers By Ip
Get Total Customers By Ip
|
#
|
public
|
getTotalLoginAttempts(string $email): array<string, mixed>
|
#
|
public
|
deleteLoginAttempts(string $email): void
|
#
|
public
|
addAuthorize(int $customer_id, array<string, mixed> $data): void
|
#
|
public
|
editAuthorizeStatus(int $customer_authorize_id, bool $status): void
|
#
|
public
|
editAuthorizeTotal(int $customer_authorize_id, int $total): void
|
#
|
public
|
resetAuthorizes(int $customer_id): void
|
#
|
public
|
deleteAuthorizes(int $customer_id, int $customer_authorize_id = 0): void
|
#
|
public
|
getAuthorizeByToken(int $customer_id, string $token): array<string, mixed>
|
#
|
public
|
getAuthorizes(int $customer_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalAuthorizes(int $customer_id): int
|
#
|