PHP Трейт Elcodi\Plugin\CustomShippingBundle\Entity\Traits\ShippingPriceRangeTrait

Показать файл Открыть проект

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

Свойство Тип Описание
$fromPriceAmount integer fromPriceAmount
$fromPriceCurrency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface fromPriceCurrency
$toPriceAmount integer toPriceAmount
$toPriceCurrency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface toPriceCurrency

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

Метод Описание
getFromPrice ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Get from price
getToPrice ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Get to price
setFromPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $price ) Sets from price
setToPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $price ) Sets to price

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

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

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

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

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

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

Sets from price
public setFromPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $price )
$price Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price

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

Sets to price
public setToPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $price )
$price Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price

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

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

fromPriceAmount
protected int $fromPriceAmount
Результат integer

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

fromPriceCurrency
protected CurrencyInterface,Elcodi\Component\Currency\Entity\Interfaces $fromPriceCurrency
Результат Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface

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

toPriceAmount
protected int $toPriceAmount
Результат integer

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

toPriceCurrency
protected CurrencyInterface,Elcodi\Component\Currency\Entity\Interfaces $toPriceCurrency
Результат Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface