Свойство | Тип | Описание | |
---|---|---|---|
$code | string | ||
$enabled | boolean | ||
$name | string | ||
$options | array | ||
$price | float | ||
$priority | integer | ||
$vat | float |
Метод | Описание | |
---|---|---|
getCode ( ) | ||
getEnabled ( ) | ||
getName ( ) | ||
getOption ( string $name, mixed $default = null ) : mixed | Returns the option $name. | |
getOptions ( ) : array | ||
getPrice ( ) | ||
getPriority ( ) | ||
getStatusList ( ) : array | return status list. | |
getTotal ( Sonata\Component\Basket\BasketInterface $basket, $vat = false ) | ||
getVatAmount ( Sonata\Component\Basket\BasketInterface $basket ) | ||
getVatRate ( ) | ||
setCode ( string $code ) | ||
setEnabled ( boolean $enabled ) | ||
setName ( string $name ) | ||
setOptions ( array $options ) | ||
setPrice ( float $price ) | ||
setPriority ( integer $priority ) | ||
setVatRate ( $vat ) |
public static getStatusList ( ) : array | ||
Результат | array |
public getTotal ( Sonata\Component\Basket\BasketInterface $basket, $vat = false ) | ||
$basket | Sonata\Component\Basket\BasketInterface |
public getVatAmount ( Sonata\Component\Basket\BasketInterface $basket ) | ||
$basket | Sonata\Component\Basket\BasketInterface |