Méthode | Description | |
---|---|---|
getCode ( ) : string | ||
getEnabled ( ) : boolean | ||
getName ( ) : string | ||
getPrice ( ) : float | ||
getPriority ( ) : integer | ||
getTotal ( Sonata\Component\Basket\BasketInterface $basket, boolean $vat = false ) : float | Return the delivery price. | |
getVatAmount ( Sonata\Component\Basket\BasketInterface $basket ) : float | Return the vat amount. | |
getVatRate ( ) : float | ||
isAddressRequired ( ) : boolean | ||
setVatRate ( float $vat ) | Sets the VAT rate. |
public getVatAmount ( Sonata\Component\Basket\BasketInterface $basket ) : float | ||
$basket | Sonata\Component\Basket\BasketInterface | |
Résultat | float |
public getVatRate ( ) : float | ||
Résultat | float | the vat linked to the delivery |
public isAddressRequired ( ) : boolean | ||
Résultat | boolean | return true an address is required to use this delivery method |