PHP Class XeroPHP\Models\Assets\Setting

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
getGUIDProperty ( ) : string Get the guid property
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
getassetNumberPrefix ( ) : string
getassetNumberSequence ( ) : string
getassetStartDate ( ) : DateTimeInterface
getdefaultCapitalGainOnDisposalAccount ( ) : string
getdefaultGainOnDisposalAccountId ( ) : string
getdefaultLossOnDisposalAccountId ( ) : string
getlastDepreciationDate ( ) : DateTimeInterface
getoptInForTax ( ) : string
isPageable ( )
setassetNumberPrefix ( string $value ) : Setting
setassetNumberSequence ( string $value ) : Setting
setassetStartDate ( DateTimeInterface $value ) : Setting
setdefaultCapitalGainOnDisposalAccount ( string $value ) : Setting
setdefaultGainOnDisposalAccountId ( string $value ) : Setting
setdefaultLossOnDisposalAccountId ( string $value ) : Setting
setlastDepreciationDate ( DateTimeInterface $value ) : Setting
setoptInForTax ( string $value ) : Setting

Method Details

getAPIStem() public static method

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

getGUIDProperty() public static method

Get the guid property
public static getGUIDProperty ( ) : 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 ( )

getassetNumberPrefix() public method

public getassetNumberPrefix ( ) : string
return string

getassetNumberSequence() public method

public getassetNumberSequence ( ) : string
return string

getassetStartDate() public method

public getassetStartDate ( ) : DateTimeInterface
return DateTimeInterface

getdefaultCapitalGainOnDisposalAccount() public method

getdefaultGainOnDisposalAccountId() public method

getdefaultLossOnDisposalAccountId() public method

getlastDepreciationDate() public method

public getlastDepreciationDate ( ) : DateTimeInterface
return DateTimeInterface

getoptInForTax() public method

public getoptInForTax ( ) : string
return string

isPageable() public static method

public static isPageable ( )

setassetNumberPrefix() public method

public setassetNumberPrefix ( string $value ) : Setting
$value string
return Setting

setassetNumberSequence() public method

public setassetNumberSequence ( string $value ) : Setting
$value string
return Setting

setassetStartDate() public method

public setassetStartDate ( DateTimeInterface $value ) : Setting
$value DateTimeInterface
return Setting

setdefaultCapitalGainOnDisposalAccount() public method

public setdefaultCapitalGainOnDisposalAccount ( string $value ) : Setting
$value string
return Setting

setdefaultGainOnDisposalAccountId() public method

public setdefaultGainOnDisposalAccountId ( string $value ) : Setting
$value string
return Setting

setdefaultLossOnDisposalAccountId() public method

public setdefaultLossOnDisposalAccountId ( string $value ) : Setting
$value string
return Setting

setlastDepreciationDate() public method

public setlastDepreciationDate ( DateTimeInterface $value ) : Setting
$value DateTimeInterface
return Setting

setoptInForTax() public method

public setoptInForTax ( string $value ) : Setting
$value string
return Setting