*/ public function paginate(?string $search, int $perPage = 25): LengthAwarePaginator; /** * Best name matches for autocomplete. * * @return list */ public function search(string $term, int $limit = 10): array; /** * The customer's contacts ordered by name. * * @return list */ public function contactsOf(int $customerId): array; /** * Null when the contact does not exist or belongs to another customer. */ public function findContact(int $customerId, int $contactId): ?ContactSummary; /** * The customer's billing units ordered by name. * * @return list */ public function billingUnitsOf(int $customerId): array; /** * Null when the billing unit does not exist or belongs to another customer. */ public function findBillingUnit(int $customerId, int $billingUnitId): ?BillingUnitSummary; }