PHP Class WellCommerce\Bundle\OrderBundle\Entity\OrderTotal

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\OrderBundle\Entity\OrderTotalInterface
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Свойство Type Description
$currency string
$grossAmount float
$netAmount float
$taxAmount float
$taxRate float

Méthodes publiques

Méthode Description
getCurrency ( ) : string
getGrossAmount ( ) : float
getNetAmount ( ) : float
getTaxAmount ( ) : float
getTaxRate ( ) : float
recalculate ( )
setCurrency ( string $currency )
setGrossAmount ( float $grossAmount )
setNetAmount ( float $netAmount )
setTaxAmount ( float $taxAmount )
setTaxRate ( float $taxRate )

Method Details

getCurrency() public méthode

public getCurrency ( ) : string
Résultat string

getGrossAmount() public méthode

public getGrossAmount ( ) : float
Résultat float

getNetAmount() public méthode

public getNetAmount ( ) : float
Résultat float

getTaxAmount() public méthode

public getTaxAmount ( ) : float
Résultat float

getTaxRate() public méthode

public getTaxRate ( ) : float
Résultat float

recalculate() public méthode

public recalculate ( )

setCurrency() public méthode

public setCurrency ( string $currency )
$currency string

setGrossAmount() public méthode

public setGrossAmount ( float $grossAmount )
$grossAmount float

setNetAmount() public méthode

public setNetAmount ( float $netAmount )
$netAmount float

setTaxAmount() public méthode

public setTaxAmount ( float $taxAmount )
$taxAmount float

setTaxRate() public méthode

public setTaxRate ( float $taxRate )
$taxRate float

Property Details

$currency protected_oe property

protected string $currency
Résultat string

$grossAmount protected_oe property

protected float $grossAmount
Résultat float

$netAmount protected_oe property

protected float $netAmount
Résultat float

$taxAmount protected_oe property

protected float $taxAmount
Résultat float

$taxRate protected_oe property

protected float $taxRate
Résultat float