PHP Class WellCommerce\Bundle\OrderBundle\Entity\OrderTotal

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

Protected Properties

Property Type Description
$currency string
$grossAmount float
$netAmount float
$taxAmount float
$taxRate float

Public Methods

Method 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 method

public getCurrency ( ) : string
return string

getGrossAmount() public method

public getGrossAmount ( ) : float
return float

getNetAmount() public method

public getNetAmount ( ) : float
return float

getTaxAmount() public method

public getTaxAmount ( ) : float
return float

getTaxRate() public method

public getTaxRate ( ) : float
return float

recalculate() public method

public recalculate ( )

setCurrency() public method

public setCurrency ( string $currency )
$currency string

setGrossAmount() public method

public setGrossAmount ( float $grossAmount )
$grossAmount float

setNetAmount() public method

public setNetAmount ( float $netAmount )
$netAmount float

setTaxAmount() public method

public setTaxAmount ( float $taxAmount )
$taxAmount float

setTaxRate() public method

public setTaxRate ( float $taxRate )
$taxRate float

Property Details

$currency protected_oe property

protected string $currency
return string

$grossAmount protected_oe property

protected float $grossAmount
return float

$netAmount protected_oe property

protected float $netAmount
return float

$taxAmount protected_oe property

protected float $taxAmount
return float

$taxRate protected_oe property

protected float $taxRate
return float