PHP Класс XeroPHP\Models\Accounting\BankTransaction\LineItem

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

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

Метод Описание
addTracking ( TrackingCategory $value ) : LineItem
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAccountCode ( ) : string
getDescription ( ) : string
getGUIDProperty ( ) : string Get the guid property
getItemCode ( ) : string
getLineAmount ( ) : float
getLineItemID ( ) : 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
getQuantity ( ) : 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
getTaxType ( ) : string
getTracking ( ) : TrackingCategory[] | Collection
getUnitAmount ( ) : float
isPageable ( )
setAccountCode ( string $value ) : LineItem
setDescription ( string $value ) : LineItem
setItemCode ( string $value ) : LineItem
setLineAmount ( float $value ) : LineItem
setLineItemID ( string $value ) : LineItem
setQuantity ( string $value ) : LineItem
setTaxType ( string $value ) : LineItem
setUnitAmount ( float $value ) : LineItem

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

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

public addTracking ( TrackingCategory $value ) : LineItem
$value XeroPHP\Models\Accounting\TrackingCategory
Результат LineItem

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

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

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

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

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

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

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

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

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

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

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

public getLineAmount ( ) : float
Результат float

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

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

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

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

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

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

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

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

public getTracking ( ) : TrackingCategory[] | Collection
Результат XeroPHP\Models\Accounting\TrackingCategory[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

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

public getUnitAmount ( ) : float
Результат float

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

public static isPageable ( )

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

public setAccountCode ( string $value ) : LineItem
$value string
Результат LineItem

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

public setDescription ( string $value ) : LineItem
$value string
Результат LineItem

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

public setItemCode ( string $value ) : LineItem
$value string
Результат LineItem

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

public setLineAmount ( float $value ) : LineItem
$value float
Результат LineItem

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

public setLineItemID ( string $value ) : LineItem
$value string
Результат LineItem

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

public setQuantity ( string $value ) : LineItem
$value string
Результат LineItem

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

public setTaxType ( string $value ) : LineItem
$value string
Результат LineItem

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

public setUnitAmount ( float $value ) : LineItem
$value float
Результат LineItem