PHP Интерфейс Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface

Наследование: 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
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

getCarrier() публичный Метод

Get Carrier
public getCarrier ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface
Результат Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier

getFromZone() публичный Метод

Get FromZone
public getFromZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface
Результат Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface FromZone

getName() публичный Метод

Get Name
public getName ( ) : string
Результат string Name

getPrice() публичный Метод

Get price
public getPrice ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface
Результат Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price

getToZone() публичный Метод

Get ToZone
public getToZone ( ) : Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface
Результат Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface ToZone

getType() публичный Метод

Get Type
public getType ( ) : mixed
Результат mixed Type

setCarrier() публичный Метод

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

setFromZone() публичный Метод

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

setName() публичный Метод

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

setPrice() публичный Метод

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

setToZone() публичный Метод

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

setType() публичный Метод

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