class LocationUpdate extends AbstractLocation

Update an existing location record

Traits

Methods

getControlId()

Get control ID

setControlId($controlId = null)

Set control ID

__construct(string $controlId = null)

Initializes the class with the given parameters.

writeXml(XMLWriter $xml)

Write the function block XML

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

string
getLocationId()

Get location ID

setLocationId(string $locationId)

Set location ID

string
getLocationName()

Get location name

setLocationName(string $locationName)

Set location name

string
getParentLocationId()

Get parent location ID

setParentLocationId(string $parentLocationId)

Set parent location ID

string
getManagerEmployeeId()

Get manager employee ID

setManagerEmployeeId(string $managerEmployeeId)

Set manager employee ID

string
getLocationContactName()

Get location contact name

setLocationContactName(string $locationContactName)

Set location contact name

string
getShipToContactName()

Get ship to contact name

setShipToContactName(string $shipToContactName)

Set ship to contact name

getStartDate()

Get start date

setStartDate(DateType $startDate)

Set start date

getEndDate()

Get end date

setEndDate(DateType $endDate)

Set end date

string
getLocationTitle()

Get location title

setLocationTitle(string $locationTitle)

Set location title

boolean
isActive()

Get active

setActive(boolean $active)

Set active

Details

in AbstractFunction at line line 35
getControlId()

Get control ID

in AbstractFunction at line line 46
setControlId($controlId = null)

Set control ID

Parameters

$controlId

Exceptions

InvalidArgumentException

in AbstractFunction at line line 67
__construct(string $controlId = null)

Initializes the class with the given parameters.

Parameters

string $controlId Control ID, default=random UUID

at line line 35
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractLocation at line line 64
string getLocationId()

Get location ID

Return Value

string

in AbstractLocation at line line 74
setLocationId(string $locationId)

Set location ID

Parameters

string $locationId

in AbstractLocation at line line 84
string getLocationName()

Get location name

Return Value

string

in AbstractLocation at line line 94
setLocationName(string $locationName)

Set location name

Parameters

string $locationName

in AbstractLocation at line line 104
string getParentLocationId()

Get parent location ID

Return Value

string

in AbstractLocation at line line 114
setParentLocationId(string $parentLocationId)

Set parent location ID

Parameters

string $parentLocationId

in AbstractLocation at line line 124
string getManagerEmployeeId()

Get manager employee ID

Return Value

string

in AbstractLocation at line line 134
setManagerEmployeeId(string $managerEmployeeId)

Set manager employee ID

Parameters

string $managerEmployeeId

in AbstractLocation at line line 144
string getLocationContactName()

Get location contact name

Return Value

string

in AbstractLocation at line line 154
setLocationContactName(string $locationContactName)

Set location contact name

Parameters

string $locationContactName

in AbstractLocation at line line 164
string getShipToContactName()

Get ship to contact name

Return Value

string

in AbstractLocation at line line 174
setShipToContactName(string $shipToContactName)

Set ship to contact name

Parameters

string $shipToContactName

in AbstractLocation at line line 184
DateType getStartDate()

Get start date

Return Value

DateType

in AbstractLocation at line line 194
setStartDate(DateType $startDate)

Set start date

Parameters

DateType $startDate

in AbstractLocation at line line 204
DateType getEndDate()

Get end date

Return Value

DateType

in AbstractLocation at line line 214
setEndDate(DateType $endDate)

Set end date

Parameters

DateType $endDate

in AbstractLocation at line line 224
string getLocationTitle()

Get location title

Return Value

string

in AbstractLocation at line line 234
setLocationTitle(string $locationTitle)

Set location title

Parameters

string $locationTitle

in AbstractLocation at line line 244
boolean isActive()

Get active

Return Value

boolean

in AbstractLocation at line line 254
setActive(boolean $active)

Set active

Parameters

boolean $active