onOffice WP Plugin

FormAddressCreator
in package

Table of Contents

$_pFieldsCollectionBuilderShort  : FieldsCollectionBuilderShort
$_pSDKWrapper  : SDKWrapper
__construct()  : mixed
createOrCompleteAddress()  : int
getAddressDataForEmail()  : array<string|int, mixed>
getAddressDataForApiCall()  : array<string|int, mixed>

Properties

Methods

createOrCompleteAddress()

public createOrCompleteAddress(FormData $pFormData[, bool $mergeExisting = false ][, string $contactType = '' ]) : int
Parameters
$pFormData : FormData
$mergeExisting : bool = false
$contactType : string = ''
Tags
throws
ApiClientException
throws
UnknownFieldException
throws
DependencyException
throws
NotFoundException
Return values
int

the new (or updated) address ID

getAddressDataForEmail()

public getAddressDataForEmail(FormData $pFormData) : array<string|int, mixed>
Parameters
$pFormData : FormData
Tags
throws
UnknownFieldException
throws
DependencyException
throws
NotFoundException
Return values
array<string|int, mixed>

getAddressDataForApiCall()

private getAddressDataForApiCall(FormData $pFormData) : array<string|int, mixed>
Parameters
$pFormData : FormData
Tags
throws
UnknownFieldException
throws
DependencyException
throws
NotFoundException
Return values
array<string|int, mixed>

Search results