PHP Interface Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface

Inheritance: extends Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingPriceRangeInterface, extends Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingWeightRangeInterface, extends Elcodi\Component\Core\Entity\Interfaces\EnabledInterface, extends Elcodi\Component\Core\Entity\Interfaces\IdentifiableInterface
Show file Open project: elcodi/bamboo Interface Usage Examples

Public Methods

Method Description
getCarrier ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Get Carrier
getFromZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface Get FromZone
getName ( ) : string Get Name
getPrice ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Get price
getToZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface Get ToZone
getType ( ) : mixed Get Type
setCarrier ( Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier ) Sets Carrier
setFromZone ( Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface $fromZone ) Sets FromZone
setName ( string $name ) Sets Name
setPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount ) Set price
setToZone ( Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface $toZone ) Sets ToZone
setType ( mixed $type ) Sets Type

Method Details

getCarrier() public method

Get Carrier
public getCarrier ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface
return Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier

getFromZone() public method

Get FromZone
public getFromZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface
return Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface FromZone

getName() public method

Get Name
public getName ( ) : string
return string Name

getPrice() public method

Get price
public getPrice ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface
return Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price

getToZone() public method

Get ToZone
public getToZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface
return Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface ToZone

getType() public method

Get Type
public getType ( ) : mixed
return mixed Type

setCarrier() public method

Sets Carrier
public setCarrier ( Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier )
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier

setFromZone() public method

Sets FromZone
public setFromZone ( Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface $fromZone )
$fromZone Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface FromZone

setName() public method

Sets Name
public setName ( string $name )
$name string Name

setPrice() public method

Set price
public setPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount )
$amount Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price

setToZone() public method

Sets ToZone
public setToZone ( Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface $toZone )
$toZone Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface ToZone

setType() public method

Sets Type
public setType ( mixed $type )
$type mixed Type