PHP Class XeroPHP\Models\Accounting\Account

Inheritance: extends XeroPHP\Remote\Object, use trait XeroPHP\Traits\AttachmentTrait
Show file Open project: calcinai/xero-php Class Usage Examples

Public Methods

Method Description
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAccountID ( ) : string
getBankAccountNumber ( ) : string
getBankAccountType ( ) : string
getClass ( ) : string
getCode ( ) : string
getCurrencyCode ( ) : string
getDescription ( ) : string
getEnablePaymentsToAccount ( ) : boolean
getGUIDProperty ( ) : string Get the guid property
getHasAttachments ( ) : boolean
getName ( ) : 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
getReportingCode ( ) : string
getReportingCodeName ( ) : string
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getShowInExpenseClaims ( ) : boolean
getStatus ( ) : string
getSupportedMethods ( ) Get the supported methods
getSystemAccount ( ) : string
getTaxType ( ) : string
getType ( ) : string
getUpdatedDateUTC ( ) : DateTimeInterface
isPageable ( )
setAccountID ( string $value ) : Account
setBankAccountNumber ( string $value ) : Account
setBankAccountType ( string $value ) : Account
setCode ( string $value ) : Account
setCurrencyCode ( string $value ) : Account
setDescription ( string $value ) : Account
setEnablePaymentsToAccount ( boolean $value ) : Account
setName ( string $value ) : Account
setShowInExpenseClaim ( boolean $value ) : Account
setStatus ( string $value ) : Account
setTaxType ( string $value ) : Account
setType ( string $value ) : Account

Method Details

getAPIStem() public static method

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

getAccountID() public method

public getAccountID ( ) : string
return string

getBankAccountNumber() public method

public getBankAccountNumber ( ) : string
return string

getBankAccountType() public method

public getBankAccountType ( ) : string
return string

getClass() public method

public getClass ( ) : string
return string

getCode() public method

public getCode ( ) : string
return string

getCurrencyCode() public method

public getCurrencyCode ( ) : string
return string

getDescription() public method

public getDescription ( ) : string
return string

getEnablePaymentsToAccount() public method

getGUIDProperty() public static method

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

getHasAttachments() public method

public getHasAttachments ( ) : boolean
return boolean

getName() public method

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

getReportingCode() public method

public getReportingCode ( ) : string
return string

getReportingCodeName() public method

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

getShowInExpenseClaims() public method

public getShowInExpenseClaims ( ) : boolean
return boolean

getStatus() public method

public getStatus ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getSystemAccount() public method

public getSystemAccount ( ) : string
return string

getTaxType() public method

public getTaxType ( ) : string
return string

getType() public method

public getType ( ) : string
return string

getUpdatedDateUTC() public method

public getUpdatedDateUTC ( ) : DateTimeInterface
return DateTimeInterface

isPageable() public static method

public static isPageable ( )

setAccountID() public method

public setAccountID ( string $value ) : Account
$value string
return Account

setBankAccountNumber() public method

public setBankAccountNumber ( string $value ) : Account
$value string
return Account

setBankAccountType() public method

public setBankAccountType ( string $value ) : Account
$value string
return Account

setCode() public method

public setCode ( string $value ) : Account
$value string
return Account

setCurrencyCode() public method

public setCurrencyCode ( string $value ) : Account
$value string
return Account

setDescription() public method

public setDescription ( string $value ) : Account
$value string
return Account

setEnablePaymentsToAccount() public method

public setEnablePaymentsToAccount ( boolean $value ) : Account
$value boolean
return Account

setName() public method

public setName ( string $value ) : Account
$value string
return Account

setShowInExpenseClaim() public method

public setShowInExpenseClaim ( boolean $value ) : Account
$value boolean
return Account

setStatus() public method

public setStatus ( string $value ) : Account
$value string
return Account

setTaxType() public method

public setTaxType ( string $value ) : Account
$value string
return Account

setType() public method

public setType ( string $value ) : Account
$value string
return Account