PHP Class XeroPHP\Models\Accounting\RepeatingInvoice

Inheritance: extends XeroPHP\Remote\Object, use trait XeroPHP\Traits\AttachmentTrait
Show file Open project: calcinai/xero-php

Public Methods

Method Description
addLineItem ( LineItem $value ) : RepeatingInvoice
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getBrandingThemeID ( ) : string
getContact ( ) : Contact
getCurrencyCode ( ) : string
getGUIDProperty ( ) : string Get the guid property
getHasAttachments ( ) : boolean
getLineAmountTypes ( ) : string
getLineItems ( ) : LineItem[] | Collection
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
getReference ( ) : string
getRepeatingInvoiceID ( ) : string
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getSchedule ( ) : Schedule
getStatus ( ) : string
getSubTotal ( ) : float
getSupportedMethods ( ) Get the supported methods
getTotal ( ) : float
getTotalTax ( ) : float
getType ( ) : string
isPageable ( )
setBrandingThemeID ( string $value ) : RepeatingInvoice
setContact ( Contact $value ) : RepeatingInvoice
setCurrencyCode ( string $value ) : RepeatingInvoice
setHasAttachment ( $value )
setLineAmountType ( string $value ) : RepeatingInvoice
setReference ( string $value ) : RepeatingInvoice
setRepeatingInvoiceID ( string $value ) : RepeatingInvoice
setSchedule ( Schedule $value ) : RepeatingInvoice
setStatus ( string $value ) : RepeatingInvoice
setSubTotal ( float $value ) : RepeatingInvoice
setTotal ( float $value ) : RepeatingInvoice
setTotalTax ( float $value ) : RepeatingInvoice
setType ( string $value ) : RepeatingInvoice

Method Details

addLineItem() public method

public addLineItem ( LineItem $value ) : RepeatingInvoice
$value XeroPHP\Models\Accounting\RepeatingInvoice\LineItem
return RepeatingInvoice

getAPIStem() public static method

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

getBrandingThemeID() public method

public getBrandingThemeID ( ) : string
return string

getContact() public method

public getContact ( ) : Contact
return Contact

getCurrencyCode() public method

public getCurrencyCode ( ) : string
return string

getGUIDProperty() public static method

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

getHasAttachments() public method

public getHasAttachments ( ) : boolean
return boolean

getLineAmountTypes() public method

public getLineAmountTypes ( ) : string
return string

getLineItems() public method

public getLineItems ( ) : LineItem[] | Collection
return XeroPHP\Models\Accounting\RepeatingInvoice\LineItem[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

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

getReference() public method

public getReference ( ) : string
return string

getRepeatingInvoiceID() public method

public getRepeatingInvoiceID ( ) : string
return string

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

getSchedule() public method

public getSchedule ( ) : Schedule
return XeroPHP\Models\Accounting\RepeatingInvoice\Schedule

getStatus() public method

public getStatus ( ) : string
return string

getSubTotal() public method

public getSubTotal ( ) : float
return float

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTotal() public method

public getTotal ( ) : float
return float

getTotalTax() public method

public getTotalTax ( ) : float
return float

getType() public method

public getType ( ) : string
return string

isPageable() public static method

public static isPageable ( )

setBrandingThemeID() public method

public setBrandingThemeID ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setContact() public method

public setContact ( Contact $value ) : RepeatingInvoice
$value Contact
return RepeatingInvoice

setCurrencyCode() public method

public setCurrencyCode ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setHasAttachment() public method

Deprecation: - this is a read only property and this method will be removed in future versions
public setHasAttachment ( $value )
$value

setLineAmountType() public method

public setLineAmountType ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setReference() public method

public setReference ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setRepeatingInvoiceID() public method

public setRepeatingInvoiceID ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setSchedule() public method

public setSchedule ( Schedule $value ) : RepeatingInvoice
$value XeroPHP\Models\Accounting\RepeatingInvoice\Schedule
return RepeatingInvoice

setStatus() public method

public setStatus ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice

setSubTotal() public method

public setSubTotal ( float $value ) : RepeatingInvoice
$value float
return RepeatingInvoice

setTotal() public method

public setTotal ( float $value ) : RepeatingInvoice
$value float
return RepeatingInvoice

setTotalTax() public method

public setTotalTax ( float $value ) : RepeatingInvoice
$value float
return RepeatingInvoice

setType() public method

public setType ( string $value ) : RepeatingInvoice
$value string
return RepeatingInvoice