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
$amount
protected
float
$amount
$attribute
protected
DocumentAttribute
$attribute
$customerId
protected
int
$customerId
$date
protected
string
$date
$documentId
protected
int
$documentId
$hash
protected
string
$hash
$id
protected
int
$id
$orderId
protected
int
$orderId
$type
protected
DocumentType
$type
$typeId
protected
int
$typeId
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> —getAttribute()
public
getAttribute() : DocumentAttribute
Return values
DocumentAttribute —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 —getType()
public
getType() : DocumentType
Return values
DocumentType —getTypeId()
public
getTypeId() : int
Return values
int —setAmount()
public
setAmount(float $amount) : Document
Parameters
- $amount : float
Return values
Document —setAttribute()
public
setAttribute(DocumentAttribute $attribute) : Document
Parameters
- $attribute : DocumentAttribute
Return values
Document —setCustomerId()
public
setCustomerId(int $customerId) : Document
Parameters
- $customerId : int
Return values
Document —setDate()
public
setDate(string $date) : Document
Parameters
- $date : string
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 —setHash()
public
setHash(string $hash) : Document
Parameters
- $hash : string
Return values
Document —setId()
public
setId(int $id) : Document
Parameters
- $id : int
Return values
Document —setOrderId()
public
setOrderId(int $orderId) : Document
Parameters
- $orderId : int
Return values
Document —setType()
public
setType(DocumentType $type) : Document
Parameters
- $type : DocumentType
Return values
Document —setTypeId()
public
setTypeId(int $typeId) : Document
Parameters
- $typeId : int