PHP Класс XeroPHP\Models\Accounting\ExpenseClaim

Наследование: extends XeroPHP\Remote\Object
Показать файл Открыть проект

Открытые методы

Метод Описание
addReceipt ( Receipt $value ) : ExpenseClaim
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getExpenseClaimID ( ) : string
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
getReceipts ( ) : Receipt[] | Collection
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
getUser ( ) : User
isPageable ( )
setExpenseClaimID ( string $value ) : ExpenseClaim
setUser ( User $value ) : ExpenseClaim

Описание методов

addReceipt() публичный Метод

public addReceipt ( Receipt $value ) : ExpenseClaim
$value Receipt
Результат ExpenseClaim

getAPIStem() публичный статический Метод

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
Результат string | null

getExpenseClaimID() публичный Метод

public getExpenseClaimID ( ) : string
Результат string

getGUIDProperty() публичный статический Метод

Get the guid property
public static getGUIDProperty ( ) : string
Результат string

getProperties() публичный статический Метод

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
Результат array

getReceipts() публичный Метод

public getReceipts ( ) : Receipt[] | Collection
Результат Receipt[] | Collection Always returns a collection, switch is for type hinting

getResourceURI() публичный статический Метод

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Результат string

getRootNodeName() публичный статический Метод

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
Результат string

getSupportedMethods() публичный статический Метод

Get the supported methods
public static getSupportedMethods ( )

getUser() публичный Метод

public getUser ( ) : User
Результат User

isPageable() публичный статический Метод

public static isPageable ( )

setExpenseClaimID() публичный Метод

public setExpenseClaimID ( string $value ) : ExpenseClaim
$value string
Результат ExpenseClaim

setUser() публичный Метод

public setUser ( User $value ) : ExpenseClaim
$value User
Результат ExpenseClaim