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

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

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

Метод Описание
addTaxComponent ( TaxComponent $value ) : TaxRate
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getCanApplyToAssets ( ) : boolean
getCanApplyToEquity ( ) : boolean
getCanApplyToExpenses ( ) : boolean
getCanApplyToLiabilities ( ) : boolean
getCanApplyToRevenue ( ) : boolean
getDisplayTaxRate ( ) : float
getEffectiveRate ( ) : float
getGUIDProperty ( ) : string Get the guid property
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
getReportTaxType ( ) : string
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getStatus ( ) : string
getSupportedMethods ( ) Get the supported methods
getTaxComponents ( ) : TaxComponent[] | Collection
getTaxType ( ) : string
isPageable ( )
setName ( string $value ) : TaxRate
setReportTaxType ( string $value ) : TaxRate
setStatus ( string $value ) : TaxRate
setTaxType ( string $value ) : TaxRate

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

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

public addTaxComponent ( TaxComponent $value ) : TaxRate
$value XeroPHP\Models\Accounting\TaxRate\TaxComponent
Результат TaxRate

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

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

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

public getCanApplyToAssets ( ) : boolean
Результат boolean

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

public getCanApplyToEquity ( ) : boolean
Результат boolean

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

public getCanApplyToExpenses ( ) : boolean
Результат boolean

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

public getCanApplyToLiabilities ( ) : boolean
Результат boolean

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

public getCanApplyToRevenue ( ) : boolean
Результат boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

Get the supported methods
public static getSupportedMethods ( )

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

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

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

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

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

public static isPageable ( )

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

public setName ( string $value ) : TaxRate
$value string
Результат TaxRate

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

public setReportTaxType ( string $value ) : TaxRate
$value string
Результат TaxRate

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

public setStatus ( string $value ) : TaxRate
$value string
Результат TaxRate

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

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