Arikaim CMS

PriceRelation

Price relation table trait

Table of Contents

Methods

getIsFreeAttribute()  : bool
Return true if item is free
getPrice()  : object|null
Get price
getPriceListClass()  : string|null
Get price list class
getPriceValue()  : float|null
Get price value
isFree()  : bool
Return true if product is free
mainPrice()  : Model|nulll
Get main price
prices()  : Relation|null
Price list relation

Methods

getIsFreeAttribute()

Return true if item is free

public getIsFreeAttribute() : bool
Return values
bool

getPrice()

Get price

public getPrice([string|null $key = null ][, string|null $currency = null ]) : object|null
Parameters
$key : string|null = null
$currency : string|null = null
Return values
object|null

getPriceListClass()

Get price list class

public getPriceListClass() : string|null
Return values
string|null

getPriceValue()

Get price value

public getPriceValue([string|null $key = null ][, string|null $currency = null ]) : float|null
Parameters
$key : string|null = null
$currency : string|null = null
Return values
float|null

isFree()

Return true if product is free

public isFree() : bool
Return values
bool

mainPrice()

Get main price

public mainPrice() : Model|nulll
Return values
Model|nulll

prices()

Price list relation

public prices() : Relation|null
Return values
Relation|null

        
On this page

Search results