CommercialInvoice

Table name="COMMERCIAL_INVOICE"
Entity Entity

 Methods

Get estimate

getEstimate() : \CommercialEstimate

Get exported

getExported() : boolean

Returns

boolean

Get id

getId() : integer

Returns

integer

Get invoiceNumber

getInvoiceNumber() : string

Returns

string

Get invoiceTotalDf

getInvoiceTotalDf() : \decimal

Returns

\decimal

Get invoiceTotalTi

getInvoiceTotalTi() : \decimal

Returns

\decimal

Get invoicesDate

getInvoicesDate() : \date

Returns

\date

Get invoicesType

getInvoicesType() : string

Returns

string

Get paid

getPaid() : boolean

Returns

boolean

Get pathPdfFile

getPathPdfFile() : string

Returns

string

Get paymentDateLimit

getPaymentDateLimit() : \date

Returns

\date

Get paymentMode

getPaymentMode() : \CommercialSoldType

Get project

getProject() : \CommercialCommercialDocument

Get taxNumCustomer

getTaxNumCustomer() : string

Returns

string

Get userId

getUserId() : integer

Returns

integer

Set estimate

setEstimate(\CommercialEstimate $estimate) : \CommercialInvoice

Parameters

Returns

Set exported

setExported(boolean $exported) : \CommercialInvoice

Parameters

$exported

boolean

Returns

Set invoiceNumber

setInvoiceNumber(string $invoiceNumber) : \CommercialInvoice

Parameters

$invoiceNumber

string

Returns

Set invoiceTotalDf

setInvoiceTotalDf(\decimal $invoiceTotalDf) : \CommercialInvoice

Parameters

$invoiceTotalDf

\decimal

Returns

Set invoiceTotalTi

setInvoiceTotalTi(\decimal $invoiceTotalTi) : \CommercialInvoice

Parameters

$invoiceTotalTi

\decimal

Returns

Set invoicesDate

setInvoicesDate(\date $invoicesDate) : \CommercialInvoice

Parameters

$invoicesDate

\date

Returns

Set invoicesType

setInvoicesType(string $invoicesType) : \CommercialInvoice

Parameters

$invoicesType

string

Returns

Set paid

setPaid(boolean $paid) : \CommercialInvoice

Parameters

$paid

boolean

Returns

Set pathPdfFile

setPathPdfFile(string $pathPdfFile) : \CommercialInvoice

Parameters

$pathPdfFile

string

Returns

Set paymentDateLimit

setPaymentDateLimit(\date $paymentDateLimit) : \CommercialInvoice

Parameters

$paymentDateLimit

\date

Returns

Set paymentMode

setPaymentMode(\CommercialSoldType $paymentMode) : \CommercialInvoice

Parameters

$paymentMode

\CommercialSoldType

Returns

Set project

setProject(\CommercialCommercialDocument $project) : \CommercialInvoice

Set taxNumCustomer

setTaxNumCustomer(string $taxNumCustomer) : \CommercialInvoice

Parameters

$taxNumCustomer

string

Returns

Set userId

setUserId(integer $userId) : \CommercialInvoice

Parameters

$userId

integer

Returns

 Properties

 

$estimate : \CommercialEstimate
ManyToOne targetEntity="CommercialEstimate"
JoinColumns ({ @JoinColumn(name="estimate_id", referencedColumnName="id") })
 

$exported : boolean
Column name="exported", type="boolean"
 

$id : integer
Column name="id", type="integer"
Id Id
GeneratedValue strategy="IDENTITY"
 

$invoiceNumber : string
Column name="invoice_number", type="string", length=12
 

$invoiceTotalDf : \decimal
Column name="invoice_total_DF", type="decimal"
 

$invoiceTotalTi : \decimal
Column name="invoice_total_TI", type="decimal"
 

$invoicesDate : \date
Column name="invoices_date", type="date"
 

$invoicesType : string
Column name="invoices_type", type="string"
 

$paid : boolean
Column name="paid", type="boolean"
 

$pathPdfFile : string
Column name="path_pdf_file", type="string", length=256
 

$paymentDateLimit : \date
Column name="payment_date_limit", type="date"
 

$paymentMode : \CommercialSoldType
ManyToOne targetEntity="CommercialSoldType"
JoinColumns ({ @JoinColumn(name="payment_mode", referencedColumnName="code") })
 

$project : \CommercialCommercialDocument
ManyToOne targetEntity="CommercialCommercialDocument"
JoinColumns ({ @JoinColumn(name="project_id", referencedColumnName="id") })
 

$taxNumCustomer : string
Column name="tax_num_customer", type="string", length=20
 

$userId : integer
Column name="user_id", type="integer"