class ContactUpdate extends AbstractContact

Update an existing contact record

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

string
getContactName()

Get contact name

setContactName(string $contactName)

Set contact name

string
getLastName()

Get last name

setLastName(string $lastName)

Set last name

string
getFirstName()

Get first name

setFirstName(string $firstName)

Set first name

string
getMiddleName()

Get middle name

setMiddleName(string $middleName)

Set middle name

string
getPrefix()

Get prefix

setPrefix(string $prefix)

Set prefix

string
getCompanyName()

Get company name

setCompanyName(string $companyName)

Set company name

string
getPrintAs()

Get print as

setPrintAs(string $printAs)

Set print as

boolean
isTaxable()

Get taxable

setTaxable(boolean $taxable)

Set taxable

string
getTaxId()

Get tax ID

setTaxId(string $taxId)

Set tax ID

string
getContactTaxGroupName()

Get contact tax group name

setContactTaxGroupName(string $contactTaxGroupName)

Set contact tax group name

boolean
isActive()

Get active

setActive(boolean $active)

Set active

string
getPrimaryPhoneNo()

Get primary phone number

setPrimaryPhoneNo(string $primaryPhoneNo)

Set primary phone number

string
getSecondaryPhoneNo()

Get secondary phone number

setSecondaryPhoneNo(string $secondaryPhoneNo)

Set secondary phone number

string
getCellularPhoneNo()

Get cellular phone number

setCellularPhoneNo(string $cellularPhoneNo)

Set cellular phone number

string
getPagerNo()

Get pager number

setPagerNo(string $pagerNo)

Set pager number

string
getFaxNo()

Get fax number

setFaxNo(string $faxNo)

Set fax number

string
getPrimaryEmailAddress()

Get primary email address

setPrimaryEmailAddress(string $primaryEmailAddress)

Set primary email address

string
getSecondaryEmailAddress()

Get secondary email address

setSecondaryEmailAddress(string $secondaryEmailAddress)

Set secondary email address

string
getPrimaryUrl()

Get primary URL

setPrimaryUrl(string $primaryUrl)

Set primary URL

string
getSecondaryUrl()

Get secondary URL

setSecondaryUrl(string $secondaryUrl)

Set secondary URL

string
getAddressLine1()

Get address line 1

setAddressLine1(string $addressLine1)

Set address line 1

string
getAddressLine2()

Get address line 2

setAddressLine2(string $addressLine2)

Set address line 2

string
getCity()

Get city

setCity(string $city)

Set city

string
getStateProvince()

Get state/province

setStateProvince(string $stateProvince)

Set state/province

string
getZipPostalCode()

Get zip/postal code

setZipPostalCode(string $zipPostalCode)

Set zip/postal code

string
getCountry()

Get country

setCountry(string $country)

Set country

writeXmlMailAddress(XMLWriter $xml)

No description

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 AbstractContact at line line 110
string getContactName()

Get contact name

Return Value

string

in AbstractContact at line line 120
setContactName(string $contactName)

Set contact name

Parameters

string $contactName

in AbstractContact at line line 130
string getLastName()

Get last name

Return Value

string

in AbstractContact at line line 140
setLastName(string $lastName)

Set last name

Parameters

string $lastName

in AbstractContact at line line 150
string getFirstName()

Get first name

Return Value

string

in AbstractContact at line line 160
setFirstName(string $firstName)

Set first name

Parameters

string $firstName

in AbstractContact at line line 170
string getMiddleName()

Get middle name

Return Value

string

in AbstractContact at line line 180
setMiddleName(string $middleName)

Set middle name

Parameters

string $middleName

in AbstractContact at line line 190
string getPrefix()

Get prefix

Return Value

string

in AbstractContact at line line 200
setPrefix(string $prefix)

Set prefix

Parameters

string $prefix

in AbstractContact at line line 210
string getCompanyName()

Get company name

Return Value

string

in AbstractContact at line line 220
setCompanyName(string $companyName)

Set company name

Parameters

string $companyName

in AbstractContact at line line 230
string getPrintAs()

Get print as

Return Value

string

in AbstractContact at line line 240
setPrintAs(string $printAs)

Set print as

Parameters

string $printAs

in AbstractContact at line line 250
boolean isTaxable()

Get taxable

Return Value

boolean

in AbstractContact at line line 260
setTaxable(boolean $taxable)

Set taxable

Parameters

boolean $taxable

in AbstractContact at line line 270
string getTaxId()

Get tax ID

Return Value

string

in AbstractContact at line line 280
setTaxId(string $taxId)

Set tax ID

Parameters

string $taxId

in AbstractContact at line line 290
string getContactTaxGroupName()

Get contact tax group name

Return Value

string

in AbstractContact at line line 300
setContactTaxGroupName(string $contactTaxGroupName)

Set contact tax group name

Parameters

string $contactTaxGroupName

in AbstractContact at line line 310
boolean isActive()

Get active

Return Value

boolean

in AbstractContact at line line 320
setActive(boolean $active)

Set active

Parameters

boolean $active

in AbstractContact at line line 330
string getPrimaryPhoneNo()

Get primary phone number

Return Value

string

in AbstractContact at line line 340
setPrimaryPhoneNo(string $primaryPhoneNo)

Set primary phone number

Parameters

string $primaryPhoneNo

in AbstractContact at line line 350
string getSecondaryPhoneNo()

Get secondary phone number

Return Value

string

in AbstractContact at line line 360
setSecondaryPhoneNo(string $secondaryPhoneNo)

Set secondary phone number

Parameters

string $secondaryPhoneNo

in AbstractContact at line line 370
string getCellularPhoneNo()

Get cellular phone number

Return Value

string

in AbstractContact at line line 380
setCellularPhoneNo(string $cellularPhoneNo)

Set cellular phone number

Parameters

string $cellularPhoneNo

in AbstractContact at line line 390
string getPagerNo()

Get pager number

Return Value

string

in AbstractContact at line line 400
setPagerNo(string $pagerNo)

Set pager number

Parameters

string $pagerNo

in AbstractContact at line line 410
string getFaxNo()

Get fax number

Return Value

string

in AbstractContact at line line 420
setFaxNo(string $faxNo)

Set fax number

Parameters

string $faxNo

in AbstractContact at line line 430
string getPrimaryEmailAddress()

Get primary email address

Return Value

string

in AbstractContact at line line 440
setPrimaryEmailAddress(string $primaryEmailAddress)

Set primary email address

Parameters

string $primaryEmailAddress

in AbstractContact at line line 453
string getSecondaryEmailAddress()

Get secondary email address

Return Value

string

in AbstractContact at line line 463
setSecondaryEmailAddress(string $secondaryEmailAddress)

Set secondary email address

Parameters

string $secondaryEmailAddress

in AbstractContact at line line 476
string getPrimaryUrl()

Get primary URL

Return Value

string

in AbstractContact at line line 486
setPrimaryUrl(string $primaryUrl)

Set primary URL

Parameters

string $primaryUrl

in AbstractContact at line line 496
string getSecondaryUrl()

Get secondary URL

Return Value

string

in AbstractContact at line line 506
setSecondaryUrl(string $secondaryUrl)

Set secondary URL

Parameters

string $secondaryUrl

in AbstractContact at line line 516
string getAddressLine1()

Get address line 1

Return Value

string

in AbstractContact at line line 526
setAddressLine1(string $addressLine1)

Set address line 1

Parameters

string $addressLine1

in AbstractContact at line line 536
string getAddressLine2()

Get address line 2

Return Value

string

in AbstractContact at line line 546
setAddressLine2(string $addressLine2)

Set address line 2

Parameters

string $addressLine2

in AbstractContact at line line 556
string getCity()

Get city

Return Value

string

in AbstractContact at line line 566
setCity(string $city)

Set city

Parameters

string $city

in AbstractContact at line line 576
string getStateProvince()

Get state/province

Return Value

string

in AbstractContact at line line 586
setStateProvince(string $stateProvince)

Set state/province

Parameters

string $stateProvince

in AbstractContact at line line 596
string getZipPostalCode()

Get zip/postal code

Return Value

string

in AbstractContact at line line 606
setZipPostalCode(string $zipPostalCode)

Set zip/postal code

Parameters

string $zipPostalCode

in AbstractContact at line line 616
string getCountry()

Get country

Return Value

string

in AbstractContact at line line 626
setCountry(string $country)

Set country

Parameters

string $country

in AbstractContact at line line 634
writeXmlMailAddress(XMLWriter $xml)

Parameters

XMLWriter $xml