PHP Class WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodCost

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodCostInterface, use trait WellCommerce\Bundle\CoreBundle\Doctrine\ORM\Behaviours\Timestampable\TimestampableTrait, use trait ShippingMethodAwareTrait
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$cost WellCommerce\Bundle\AppBundle\Entity\Price
$rangeFrom float
$rangeTo float

Public Methods

Method Description
getCost ( ) : Price
getRangeFrom ( ) : float
getRangeTo ( ) : float
setCost ( Price $cost )
setRangeFrom ( float $rangeFrom )
setRangeTo ( float $rangeTo )

Method Details

getCost() public method

public getCost ( ) : Price
return WellCommerce\Bundle\AppBundle\Entity\Price

getRangeFrom() public method

public getRangeFrom ( ) : float
return float

getRangeTo() public method

public getRangeTo ( ) : float
return float

setCost() public method

public setCost ( Price $cost )
$cost WellCommerce\Bundle\AppBundle\Entity\Price

setRangeFrom() public method

public setRangeFrom ( float $rangeFrom )
$rangeFrom float

setRangeTo() public method

public setRangeTo ( float $rangeTo )
$rangeTo float

Property Details

$cost protected property

protected Price,WellCommerce\Bundle\AppBundle\Entity $cost
return WellCommerce\Bundle\AppBundle\Entity\Price

$rangeFrom protected property

protected float $rangeFrom
return float

$rangeTo protected property

protected float $rangeTo
return float