docs/api/Opencart.Catalog.Model.Account.Address.html
| extends | Model |
Class Address
Located at catalog\model\account\address.php
| Methods |
|---|
| ` |
public
` | `addAddress(int $customer_id, array<string, mixed> $data): int`
Add Address
Add Address
| # | | `
public
` | `editAddress(int $customer_id, int $address_id, array<string, mixed> $data): void`
Edit Address
Edit Address
| # | | `
public
` | `deleteAddress(int $customer_id, int $address_id = 0): void`
Delete Address
Delete Address
| # | | `
public
` | `getAddress(int $customer_id, int $address_id): array<string, mixed>`
Get Address
Get Address
| # | | `
public
` | `getAddresses(int $customer_id): array<int, array<string, mixed>>`
Get Addresses
Get Addresses
| # | | `
public
` | `getTotalAddresses(int $customer_id): int`
Get Total Addresses
Get Total Addresses
| # |
| Methods inherited from Opencart\System\Engine\Model |
|---|
__construct(),__get(), __set(),__isset() |
| Properties inherited from Opencart\System\Engine\Model |
|---|
$registry |
OpenCart API API documentation generated by ApiGen dev-master