phpDocumentor

CustomerAddressRepositoryInterface

Interface CustomerAddressRepositoryInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

deleteCustomerAddress()  : mixed
Method to delete a customer address
deleteCustomerAddressesByCustomer()  : mixed
Method to delete all customers addresses with a given customer
filterAddresses()  : array<string|int, mixed>
Filter existing address records by provided string.
findById()  : CustomerAddress|null
Method to find a customer address with a given ID it it exists else it will return null
getAllAddresses()  : array<string|int, mixed>
Get all registered address records.
getById()  : CustomerAddress
Method to get a customer address with a given ID
getCustomerAddresses()  : array<string|int, mixed>
Method to get all customers addresses
store()  : CustomerAddressInterface
Method to store the customer address

Methods

filterAddresses()

Filter existing address records by provided string.

public filterAddresses(string $p_keyword[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : array<string|int, mixed>
Parameters
$p_keyword : string
$pager : Pager|null = null

(Optional) Pager object with pagination information

$sorters : array<string|int, mixed> = []

(Optional) array of Sorter objects with data sorting information

Return values
array<string|int, mixed>

Returns an array of CustomerAddress objects.

getAllAddresses()

Get all registered address records.

public getAllAddresses([Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : array<string|int, mixed>
Parameters
$pager : Pager|null = null

(Optional) Pager object with pagination information

$sorters : array<string|int, mixed> = []

(Optional) array of Sorter objects with data sorting information

Return values
array<string|int, mixed>

Returns an array of CustomerAddress objects.

Search results