PHP Class WellCommerce\Bundle\AppBundle\Entity\DiscountablePrice

Author: Adam Piotrowski ([email protected])
Inheritance: extends Price, implements WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Свойство Type Description
$discountedGrossAmount
$discountedNetAmount
$discountedTaxAmount
$validFrom
$validTo

Méthodes publiques

Méthode Description
getDiscountedGrossAmount ( ) : float
getDiscountedNetAmount ( ) : float
getDiscountedTaxAmount ( ) : float
getFinalGrossAmount ( ) : float
getFinalNetAmount ( ) : float
getFinalTaxAmount ( ) : float
getValidFrom ( )
getValidTo ( )
isDiscountValid ( ) : boolean
setDiscountedGrossAmount ( float $discountedGrossAmount )
setDiscountedNetAmount ( float $discountedNetAmount )
setDiscountedTaxAmount ( float $discountedTaxAmount )
setValidFrom ( DateTime $validFrom = null )
setValidTo ( DateTime $validTo = null )

Method Details

getDiscountedGrossAmount() public méthode

public getDiscountedGrossAmount ( ) : float
Résultat float

getDiscountedNetAmount() public méthode

public getDiscountedNetAmount ( ) : float
Résultat float

getDiscountedTaxAmount() public méthode

public getDiscountedTaxAmount ( ) : float
Résultat float

getFinalGrossAmount() public méthode

public getFinalGrossAmount ( ) : float
Résultat float

getFinalNetAmount() public méthode

public getFinalNetAmount ( ) : float
Résultat float

getFinalTaxAmount() public méthode

public getFinalTaxAmount ( ) : float
Résultat float

getValidFrom() public méthode

public getValidFrom ( )

getValidTo() public méthode

public getValidTo ( )

isDiscountValid() public méthode

public isDiscountValid ( ) : boolean
Résultat boolean

setDiscountedGrossAmount() public méthode

public setDiscountedGrossAmount ( float $discountedGrossAmount )
$discountedGrossAmount float

setDiscountedNetAmount() public méthode

public setDiscountedNetAmount ( float $discountedNetAmount )
$discountedNetAmount float

setDiscountedTaxAmount() public méthode

public setDiscountedTaxAmount ( float $discountedTaxAmount )
$discountedTaxAmount float

setValidFrom() public méthode

public setValidFrom ( DateTime $validFrom = null )
$validFrom DateTime

setValidTo() public méthode

public setValidTo ( DateTime $validTo = null )
$validTo DateTime

Property Details

$discountedGrossAmount protected_oe property

protected $discountedGrossAmount

$discountedNetAmount protected_oe property

protected $discountedNetAmount

$discountedTaxAmount protected_oe property

protected $discountedTaxAmount

$validFrom protected_oe property

protected $validFrom

$validTo protected_oe property

protected $validTo