Price
extends Base
in package
Class Price.
Table of Contents
- $articleDetailsId : int
- $articleId : int
- $basePrice : float
- $customerGroup : CustomerGroup
- $customerGroupKey : string
- $from : int
- $id : int
- $percent : float
- $price : float
- $pseudoPrice : float
- $to : string
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getArticleDetailsId() : int
- getArticleId() : int
- getBasePrice() : float
- getCustomerGroup() : CustomerGroup
- getCustomerGroupKey() : string
- getFrom() : int
- getId() : int
- getPercent() : float
- getPrice() : float
- getPseudoPrice() : float
- getTo() : string
- setArticleDetailsId() : Price
- setArticleId() : Price
- setBasePrice() : Price
- setCustomerGroup() : Price
- setCustomerGroupKey() : Price
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setFrom() : Price
- setId() : Price
- setPercent() : Price
- setPrice() : Price
- setPseudoPrice() : Price
- setTo() : Price
Properties
$articleDetailsId
protected
int
$articleDetailsId
$articleId
protected
int
$articleId
$basePrice
protected
float
$basePrice
$customerGroup
protected
CustomerGroup
$customerGroup
$customerGroupKey
protected
string
$customerGroupKey
$from
protected
int
$from
$id
protected
int
$id
$percent
protected
float
$percent
$price
protected
float
$price
$pseudoPrice
protected
float
$pseudoPrice
$to
protected
string
$to
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getArticleDetailsId()
public
getArticleDetailsId() : int
Return values
int —getArticleId()
public
getArticleId() : int
Return values
int —getBasePrice()
public
getBasePrice() : float
Return values
float —getCustomerGroup()
public
getCustomerGroup() : CustomerGroup
Return values
CustomerGroup —getCustomerGroupKey()
public
getCustomerGroupKey() : string
Return values
string —getFrom()
public
getFrom() : int
Return values
int —getId()
public
getId() : int
Return values
int —getPercent()
public
getPercent() : float
Return values
float —getPrice()
public
getPrice() : float
Return values
float —getPseudoPrice()
public
getPseudoPrice() : float
Return values
float —getTo()
public
getTo() : string
Return values
string —setArticleDetailsId()
public
setArticleDetailsId(int $articleDetailsId) : Price
Parameters
- $articleDetailsId : int
Return values
Price —setArticleId()
public
setArticleId(int $articleId) : Price
Parameters
- $articleId : int
Return values
Price —setBasePrice()
public
setBasePrice(float $basePrice) : Price
Parameters
- $basePrice : float
Return values
Price —setCustomerGroup()
public
setCustomerGroup(CustomerGroup $customerGroup) : Price
Parameters
- $customerGroup : CustomerGroup
Return values
Price —setCustomerGroupKey()
public
setCustomerGroupKey(string $customerGroupKey) : Price
Parameters
- $customerGroupKey : string
Return values
Price —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setFrom()
public
setFrom(int $from) : Price
Parameters
- $from : int
Return values
Price —setId()
public
setId(int $id) : Price
Parameters
- $id : int
Return values
Price —setPercent()
public
setPercent(float $percent) : Price
Parameters
- $percent : float
Return values
Price —setPrice()
public
setPrice(float $price) : Price
Parameters
- $price : float
Return values
Price —setPseudoPrice()
public
setPseudoPrice(float $pseudoPrice) : Price
Parameters
- $pseudoPrice : float
Return values
Price —setTo()
public
setTo(string $to) : Price
Parameters
- $to : string