Invoice_Detail

 Methods

Construct a new object and extract data

__construct(array $data) 
Inherited

inherited_from \Moneybird\Domainmodel_Abstract::__construct()
inherited_from \Moneybird\Detail_Abstract::__construct()
inherited_from \Moneybird\Invoice_Detail::__construct()

Parameters

$data

array

Proxy to disclose method

__get(String $key) : mixed
Inherited

inherited_from \Moneybird\Domainmodel_Abstract::__get()
inherited_from \Moneybird\Detail_Abstract::__get()
inherited_from \Moneybird\Invoice_Detail::__get()

Parameters

$key

String

Returns

mixed

Magic set method Do not allow set

__set(string $name, mixed $value) 
Inherited

inherited_from \Moneybird\Domainmodel_Abstract::__set()
inherited_from \Moneybird\Detail_Abstract::__set()
inherited_from \Moneybird\Invoice_Detail::__set()

Parameters

$name

string

$value

mixed

Exceptions

\Moneybird\Domainmodel_Exception

Discloses all values of the object that should be visible in the view layer.

disclose(mixed $key) : mixed
Inherited

access public
inherited_from \Moneybird\Domainmodel_Abstract::disclose()
inherited_from \Moneybird\Detail_Abstract::disclose()
inherited_from \Moneybird\Invoice_Detail::disclose()

Parameters

$key

mixed

Returns

mixed

Return the objects id or null

getId() : int
Inherited

inherited_from \Moneybird\Domainmodel_Abstract::getId()
inherited_from \Moneybird\Detail_Abstract::getId()
inherited_from \Moneybird\Invoice_Detail::getId()

Returns

int

Get delete status

isDeleted() : bool
Inherited

inherited_from \Moneybird\Detail_Abstract::isDeleted()
inherited_from \Moneybird\Invoice_Detail::isDeleted()

Returns

bool

Sets data

setData(array $data) 
Inherited

inherited_from \Moneybird\Domainmodel_Abstract::setData()
inherited_from \Moneybird\Detail_Abstract::setData()
inherited_from \Moneybird\Invoice_Detail::setData()

Parameters

$data

array

Mark deleted

setDeleted() 
Inherited

inherited_from \Moneybird\Detail_Abstract::setDeleted()
inherited_from \Moneybird\Invoice_Detail::setDeleted()

Get array representation of Subject

toArray() : Array
Inherited

inherited_from \Moneybird\Mapper_Mapable::toArray()
inherited_from \Moneybird\Detail_Abstract::toArray()
inherited_from \Moneybird\Invoice_Detail::toArray()

Returns

Array

 Properties