Back to Opencart

Class Opencart\System\Library\Cart\Customer

docs/api/Opencart.System.Library.Cart.Customer.html

4.1.0.34.2 KB
Original Source

Namespaces

Classes

Class Opencart[System](http://localhost\opencart-master/docs/api/namespace-Opencart.System.html)\[Library](http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html)\[Cart](http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Cart.html)\[Customer](http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Customer.html)

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