PHP Интерфейс Sonata\Component\Invoice\InvoiceElementInterface

Наследование: extends Sonata\Component\Product\PriceComputableInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
getDescription ( ) : string Get description.
getDesignation ( ) : string Get designation.
getInvoice ( ) : Sonata\Component\Invoice\InvoiceInterface Get invoice.
getOrderElement ( ) : Sonata\Component\Order\OrderElementInterface Get orderElement.
getTotal ( ) : float Get total.
getUnitPriceExcl ( ) : float Returns unit price excluding VAT.
getUnitPriceInc ( ) : float Returns unit price including VAT.
setDescription ( string $description ) Set description.
setDesignation ( string $designation ) Set designation.
setInvoice ( Sonata\Component\Invoice\InvoiceInterface $invoice ) Set invoiceId.
setOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement ) Set orderElement.
setTotal ( float $total ) Set total.
setUnitPriceExcl ( float $unitPriceExcl ) Sets unit price excluding VAT.
setUnitPriceInc ( float $unitPriceInc ) Sets unit price including VAT.

Описание методов

getDescription() публичный Метод

Get description.
public getDescription ( ) : string
Результат string $description

getDesignation() публичный Метод

Get designation.
public getDesignation ( ) : string
Результат string $designation

getInvoice() публичный Метод

Get invoice.
public getInvoice ( ) : Sonata\Component\Invoice\InvoiceInterface
Результат Sonata\Component\Invoice\InvoiceInterface $invoice

getOrderElement() публичный Метод

Get orderElement.
public getOrderElement ( ) : Sonata\Component\Order\OrderElementInterface
Результат Sonata\Component\Order\OrderElementInterface $orderElement

getTotal() публичный Метод

Get total.
public getTotal ( ) : float
Результат float $total

getUnitPriceExcl() публичный Метод

Returns unit price excluding VAT.
public getUnitPriceExcl ( ) : float
Результат float

getUnitPriceInc() публичный Метод

Returns unit price including VAT.
public getUnitPriceInc ( ) : float
Результат float

setDescription() публичный Метод

Set description.
public setDescription ( string $description )
$description string

setDesignation() публичный Метод

Set designation.
public setDesignation ( string $designation )
$designation string

setInvoice() публичный Метод

Set invoiceId.
public setInvoice ( Sonata\Component\Invoice\InvoiceInterface $invoice )
$invoice Sonata\Component\Invoice\InvoiceInterface

setOrderElement() публичный Метод

Set orderElement.
public setOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement )
$orderElement Sonata\Component\Order\OrderElementInterface

setTotal() публичный Метод

Set total.
public setTotal ( float $total )
$total float

setUnitPriceExcl() публичный Метод

Sets unit price excluding VAT.
public setUnitPriceExcl ( float $unitPriceExcl )
$unitPriceExcl float

setUnitPriceInc() публичный Метод

Sets unit price including VAT.
public setUnitPriceInc ( float $unitPriceInc )
$unitPriceInc float