PHP Class XeroPHP\Models\Accounting\Contact\ContactPerson

Inheritance: extends XeroPHP\Remote\Object
Show file Open project: calcinai/xero-php

Public Methods

Method Description
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getEmailAddress ( ) : string
getFirstName ( ) : string
getGUIDProperty ( ) : string Get the guid property
getIncludeInEmails ( ) : boolean
getLastName ( ) : string
getProperties ( ) : array Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setEmailAddress ( string $value ) : ContactPerson
setFirstName ( string $value ) : ContactPerson
setIncludeInEmail ( boolean $value ) : ContactPerson
setLastName ( string $value ) : ContactPerson

Method Details

getAPIStem() public static method

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
return string | null

getEmailAddress() public method

public getEmailAddress ( ) : string
return string

getFirstName() public method

public getFirstName ( ) : string
return string

getGUIDProperty() public static method

Get the guid property
public static getGUIDProperty ( ) : string
return string

getIncludeInEmails() public method

public getIncludeInEmails ( ) : boolean
return boolean

getLastName() public method

public getLastName ( ) : string
return string

getProperties() public static method

Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
public static getProperties ( ) : array
return array

getResourceURI() public static method

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
return string

getRootNodeName() public static method

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static method

public static isPageable ( )

setEmailAddress() public method

public setEmailAddress ( string $value ) : ContactPerson
$value string
return ContactPerson

setFirstName() public method

public setFirstName ( string $value ) : ContactPerson
$value string
return ContactPerson

setIncludeInEmail() public method

public setIncludeInEmail ( boolean $value ) : ContactPerson
$value boolean
return ContactPerson

setLastName() public method

public setLastName ( string $value ) : ContactPerson
$value string
return ContactPerson