# Class Opencart\System\Library\Cart\Customer

Class Customer

Located at system\library\cart\customer.php

Methods
`public` | `__construct(Registry $registry)` Constructor Constructor | #
`public` | `login(string $email, string $password, bool $override = false): bool` Login Login | #
`public` | `logout(): void` Logout Logout | #
`public` | `isLogged(): bool` isLogged isLogged | #
`public` | `getId(): int` getId getId | #
`public` | `getFirstName(): string` getFirstName getFirstName | #
`public` | `getLastName(): string` getLastName getLastName | #
`public` | `getGroupId(): int` getGroupId getGroupId | #
`public` | `getEmail(): string` getEmail getEmail | #
`public` | `getTelephone(): string` getTelephone getTelephone | #
`public` | `getNewsletter(): bool` getNewsletter getNewsletter | #
`public` | `isSafe(): bool` isSafe isSafe | #
`public` | `isCommenter(): bool` isCommenter isCommenter | #
`public` | `getAddressId(): int` getAddressId getAddressId | #
`public` | `getBalance(): float` getBalance getBalance | #
`public` | `getRewardPoints(): float` getRewardPoints getRewardPoints | #

OpenCart API API documentation generated by ApiGen dev-master