class Data

Properties

string $id
string $typeName
PaymentDetails $paymentDetails
Subject $customer
Subject $supplier
DateTime $dateOfExpiration
DateTime $dateOfIssuance
DateTime $dateOfVatRevenueRecognition
array $items

Methods

__construct(string $id, PaymentDetails $paymentDetails, Subject $customer, Subject $supplier, DateTime $dateOfIssuance, DateTime $dateOfExpiration = NULL)

No description

setDateOfExpiration(DateTime $dateOfExpiration)

No description

getDateOfExpiration()

No description

setDateOfIssuance(DateTime $dateOfIssuance)

No description

getDateOfIssuance()

No description

string
getFormatDateOfIssuance()

No description

setDateOfVatRevenueRecognition(DateTime $dateOfVatRevenueRecognition)

No description

setId(string $id)

No description

string
getId()

No description

setTypeName(mixed $typeName)

No description

mixed
getTypeName()

No description

addItem(Item $item)

No description

Item[]
getItems()

No description

setPaymentDetails(PaymentDetails $paymentDetails)

No description

PaymentDetails
getPaymentDetails()

No description

setCustomer(mixed $customer)

No description

mixed
getCustomer()

No description

setSupplier(Subject $supplier)

No description

Subject
getSupplier()

No description

float
getTotalPriceWithVat()

No description

float
getTotalPriceWithoutVat()

No description

float
getTotalVat()

No description

boolean
getIsVatUsed()

No description

Details

at line 101
__construct(string $id, PaymentDetails $paymentDetails, Subject $customer, Subject $supplier, DateTime $dateOfIssuance, DateTime $dateOfExpiration = NULL)

Parameters

string $id
PaymentDetails $paymentDetails
Subject $customer
Subject $supplier
DateTime $dateOfIssuance
DateTime $dateOfExpiration

at line 124
setDateOfExpiration(DateTime $dateOfExpiration)

Parameters

DateTime $dateOfExpiration

at line 134
DateTime getDateOfExpiration()

Return Value

DateTime

at line 144
setDateOfIssuance(DateTime $dateOfIssuance)

Parameters

DateTime $dateOfIssuance

at line 154
DateTime getDateOfIssuance()

Return Value

DateTime

at line 164
string getFormatDateOfIssuance()

Return Value

string

at line 174
setDateOfVatRevenueRecognition(DateTime $dateOfVatRevenueRecognition)

Parameters

DateTime $dateOfVatRevenueRecognition

at line 184
DateTime getDateOfVatRevenueRecognition()

Return Value

DateTime

at line 194
setId(string $id)

Parameters

string $id

at line 204
string getId()

Return Value

string

at line 214
setTypeName(mixed $typeName)

Parameters

mixed $typeName

at line 224
mixed getTypeName()

Return Value

mixed

at line 234
addItem(Item $item)

Parameters

Item $item

at line 250
Item[] getItems()

Return Value

Item[]

at line 260
setPaymentDetails(PaymentDetails $paymentDetails)

Parameters

PaymentDetails $paymentDetails

at line 270
PaymentDetails getPaymentDetails()

Return Value

PaymentDetails

at line 280
setCustomer(mixed $customer)

Parameters

mixed $customer

at line 290
mixed getCustomer()

Return Value

mixed

at line 300
setSupplier(Subject $supplier)

Parameters

Subject $supplier

at line 310
Subject getSupplier()

Return Value

Subject

at line 320
float getTotalPriceWithVat()

Return Value

float

at line 330
float getTotalPriceWithoutVat()

Return Value

float

at line 340
float getTotalVat()

Return Value

float

at line 350
boolean getIsVatUsed()

Return Value

boolean