PHP Class XeroPHP\Models\Accounting\CreditNote\Allocation

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
getAppliedAmount ( ) : float
getDate ( ) : DateTimeInterface
getGUIDProperty ( ) : string Get the guid property
getInvoice ( ) : Invoice
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
isPageable ( )
setAppliedAmount ( float $value ) : Allocation
setDate ( DateTimeInterface $value ) : Allocation
setInvoice ( Invoice $value ) : Allocation

Method Details

getAPIStem() public static method

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

getAppliedAmount() public method

public getAppliedAmount ( ) : float
return float

getDate() public method

public getDate ( ) : DateTimeInterface
return DateTimeInterface

getGUIDProperty() public static method

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

getInvoice() public method

public getInvoice ( ) : Invoice
return XeroPHP\Models\Accounting\Invoice

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

isPageable() public static method

public static isPageable ( )

setAppliedAmount() public method

public setAppliedAmount ( float $value ) : Allocation
$value float
return Allocation

setDate() public method

public setDate ( DateTimeInterface $value ) : Allocation
$value DateTimeInterface
return Allocation

setInvoice() public method

public setInvoice ( Invoice $value ) : Allocation
$value XeroPHP\Models\Accounting\Invoice
return Allocation