PHP Class XeroPHP\Models\Accounting\Address

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
getAddressLine1 ( ) : string
getAddressLine2 ( ) : string
getAddressLine3 ( ) : string
getAddressLine4 ( ) : string
getAddressType ( ) : string
getAttentionTo ( ) : string
getCity ( ) : string
getCountry ( ) : string
getGUIDProperty ( ) : string Get the guid property
getPostalCode ( ) : 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
getRegion ( ) : string
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 ( )
setAddressLine1 ( string $value ) : Address
setAddressLine2 ( string $value ) : Address
setAddressLine3 ( string $value ) : Address
setAddressLine4 ( string $value ) : Address
setAddressType ( string $value ) : Address
setAttentionTo ( string $value ) : Address
setCity ( string $value ) : Address
setCountry ( string $value ) : Address
setPostalCode ( string $value ) : Address
setRegion ( string $value ) : Address

Method Details

getAPIStem() public static method

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

getAddressLine1() public method

public getAddressLine1 ( ) : string
return string

getAddressLine2() public method

public getAddressLine2 ( ) : string
return string

getAddressLine3() public method

public getAddressLine3 ( ) : string
return string

getAddressLine4() public method

public getAddressLine4 ( ) : string
return string

getAddressType() public method

public getAddressType ( ) : string
return string

getAttentionTo() public method

public getAttentionTo ( ) : string
return string

getCity() public method

public getCity ( ) : string
return string

getCountry() public method

public getCountry ( ) : string
return string

getGUIDProperty() public static method

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

getPostalCode() public method

public getPostalCode ( ) : 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

getRegion() public method

public getRegion ( ) : string
return string

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 ( )

setAddressLine1() public method

public setAddressLine1 ( string $value ) : Address
$value string
return Address

setAddressLine2() public method

public setAddressLine2 ( string $value ) : Address
$value string
return Address

setAddressLine3() public method

public setAddressLine3 ( string $value ) : Address
$value string
return Address

setAddressLine4() public method

public setAddressLine4 ( string $value ) : Address
$value string
return Address

setAddressType() public method

public setAddressType ( string $value ) : Address
$value string
return Address

setAttentionTo() public method

public setAttentionTo ( string $value ) : Address
$value string
return Address

setCity() public method

public setCity ( string $value ) : Address
$value string
return Address

setCountry() public method

public setCountry ( string $value ) : Address
$value string
return Address

setPostalCode() public method

public setPostalCode ( string $value ) : Address
$value string
return Address

setRegion() public method

public setRegion ( string $value ) : Address
$value string
return Address