PHP Class WellCommerce\Bundle\AppBundle\Entity\Price

Author: Adam Piotrowski ([email protected])
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$currency
$exchangeRate
$grossAmount
$netAmount
$taxAmount
$taxRate

Public Methods

Method Description
getCurrency ( ) : string
getGrossAmount ( ) : float
getNetAmount ( ) : float
getTaxAmount ( ) : float
getTaxRate ( ) : float
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

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 property

protected $currency

$exchangeRate protected property

protected $exchangeRate

$grossAmount protected property

protected $grossAmount

$netAmount protected property

protected $netAmount

$taxAmount protected property

protected $taxAmount

$taxRate protected property

protected $taxRate