PHP 클래스 Sonata\Component\Event\AfterCalculatePriceEvent

저자: Hugo Briand ([email protected])
상속: extends BeforeCalculatePriceEvent
파일 보기 프로젝트 열기: sonata-project/ecommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$price float

공개 메소드들

메소드 설명
__construct ( Sonata\Component\Product\ProductInterface $product, Sonata\Component\Currency\CurrencyInterface $currency, boolean $vat, integer $quantity, float $price )
getPrice ( ) : float
setPrice ( float $price )

메소드 상세

__construct() 공개 메소드

public __construct ( Sonata\Component\Product\ProductInterface $product, Sonata\Component\Currency\CurrencyInterface $currency, boolean $vat, integer $quantity, float $price )
$product Sonata\Component\Product\ProductInterface
$currency Sonata\Component\Currency\CurrencyInterface
$vat boolean
$quantity integer
$price float

getPrice() 공개 메소드

public getPrice ( ) : float
리턴 float

setPrice() 공개 메소드

public setPrice ( float $price )
$price float

프로퍼티 상세

$price 보호되어 있는 프로퍼티

protected float $price
리턴 float