Documentation

Document extends Base
in package

Class Document.

Table of Contents

$amount  : float
$attribute  : DocumentAttribute
$customerId  : int
$date  : string
$documentId  : int
$hash  : string
$id  : int
$orderId  : int
$type  : DocumentType
$typeId  : int
getAmount()  : float
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getAttribute()  : DocumentAttribute
getCustomerId()  : int
getDate()  : string
getDocumentId()  : int
getHash()  : string
getId()  : int
getOrderId()  : int
getType()  : DocumentType
getTypeId()  : int
setAmount()  : Document
setAttribute()  : Document
setCustomerId()  : Document
setDate()  : Document
setDocumentId()  : Document
setEntityAttributes()  : $this
Sets the attributes of this entity.
setHash()  : Document
setId()  : Document
setOrderId()  : Document
setType()  : Document
setTypeId()  : Document

Properties

Methods

getAmount()

public getAmount() : float
Return values
float

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCustomerId()

public getCustomerId() : int
Return values
int

getDate()

public getDate() : string
Return values
string

getDocumentId()

public getDocumentId() : int
Return values
int

getHash()

public getHash() : string
Return values
string

getId()

public getId() : int
Return values
int

getOrderId()

public getOrderId() : int
Return values
int

getTypeId()

public getTypeId() : int
Return values
int

setCustomerId()

public setCustomerId(int $customerId) : Document
Parameters
$customerId : int
Return values
Document

setDocumentId()

public setDocumentId(int $documentId) : Document
Parameters
$documentId : int
Return values
Document

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

Search results