PHP Класс Elcodi\Plugin\CustomShippingBundle\Entity\ShippingRange

Наследование: implements Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface, use trait Elcodi\Plugin\CustomShippingBundle\Entity\Traits\ShippingPriceRangeTrait, use trait Elcodi\Plugin\CustomShippingBundle\Entity\Traits\ShippingWeightRangeTrait, use trait Elcodi\Component\Core\Entity\Traits\IdentifiableTrait, use trait Elcodi\Component\Core\Entity\Traits\EnabledTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface carrier
$fromZone Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface fromZone
$name string name of the range
$priceAmount integer Product price amount
$priceCurrency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface Product price currency
$toZone Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface toZone
$type string Type

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

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

Описание свойств

$carrier защищенное свойство

carrier
protected CarrierInterface,Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces $carrier
Результат Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface

$fromZone защищенное свойство

fromZone
protected ZoneInterface,Elcodi\Component\Zone\Entity\Interfaces $fromZone
Результат Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface

$name защищенное свойство

name of the range
protected string $name
Результат string

$priceAmount защищенное свойство

Product price amount
protected int $priceAmount
Результат integer

$priceCurrency защищенное свойство

Product price currency
protected CurrencyInterface,Elcodi\Component\Currency\Entity\Interfaces $priceCurrency
Результат Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface

$toZone защищенное свойство

toZone
protected ZoneInterface,Elcodi\Component\Zone\Entity\Interfaces $toZone
Результат Elcodi\Component\Zone\Entity\Interfaces\ZoneInterface

$type защищенное свойство

Type
protected string $type
Результат string