Bitrix API

AddressService extends BaseService uses RepositoryTrait

FinalYes

Class AddressService

Service to work with addresses

Table of Contents

Methods

__clone()  : mixed
__wakeup()  : mixed
delete()  : DeleteResult
Delete Address
findById()  : Address|bool|null
Find Address by addressId.
findByLinkedEntity()  : AddressCollection
Find Address by linked entity
getInstance()  : static
getRepository()  : mixed
save()  : AddResult|Result|UpdateResult
Save Address

Methods

findById()

Find Address by addressId.

public findById(int $addressId) : Address|bool|null
Parameters
$addressId : int
Return values
Address|bool|null

findByLinkedEntity()

Find Address by linked entity

public findByLinkedEntity(string $entityId, string $entityType) : AddressCollection
Parameters
$entityId : string
$entityType : string
Return values
AddressCollection

getInstance()

public static getInstance() : static
Return values
static

        
On this page

Search results