BasketItem
Table of Contents
Methods
-
__construct()
: mixed
-
addAdditionalField()
: self
-
clearAdditionalFields()
: self
-
getCatalogPrice()
: float|null
-
getFields()
: array<string|int, mixed>
-
getId()
: string
-
getPriceItem()
: BasePrice|null
-
getResult()
: array<string|int, mixed>
-
getSkuId()
: int|null
-
removeSku()
: self
-
setBasePrice()
: self
-
setCode()
: self
-
setCustomPriceType()
: self
-
setDetailUrlManagerType()
: self
-
setDiscountRate()
: self
-
setDiscountType()
: self
-
setDiscountValue()
: self
-
setId()
: self
-
setMeasureCode()
: self
-
setMeasureName()
: self
-
setMeasureRatio()
: self
-
setName()
: self
-
setPrice()
: self
-
setPriceExclusive()
: self
-
setPriceGroupId()
: self
-
setQuantity()
: self
-
setSku()
: self
-
setSort()
: self
-
setTaxId()
: self
-
setTaxIncluded()
: self
-
setTaxRate()
: self
-
setType()
: self
__construct()
public
__construct() : mixed
addAdditionalField()
public
addAdditionalField(string $name, mixed $value) : self
Parameters
-
$name
: string
-
-
$value
: mixed
-
clearAdditionalFields()
public
clearAdditionalFields() : self
getCatalogPrice()
public
getCatalogPrice() : float|null
getFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
getId()
public
getId() : string
getPriceItem()
public
getPriceItem() : BasePrice|null
Return values
BasePrice|null
getResult()
public
getResult() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSkuId()
public
getSkuId() : int|null
removeSku()
public
removeSku() : self
setBasePrice()
public
setBasePrice(float $value) : self
Parameters
-
$value
: float
-
setCode()
public
setCode(string $value) : self
Parameters
-
$value
: string
-
setCustomPriceType()
public
setCustomPriceType([string $value = null ]) : self
Parameters
-
$value
: string
= null
-
setDetailUrlManagerType()
public
setDetailUrlManagerType(string $type) : self
Parameters
-
$type
: string
-
setDiscountRate()
public
setDiscountRate(float $value) : self
Parameters
-
$value
: float
-
setDiscountType()
public
setDiscountType(int $value) : self
Parameters
-
$value
: int
-
setDiscountValue()
public
setDiscountValue(float $value) : self
Parameters
-
$value
: float
-
setId()
public
setId(string $value) : self
Parameters
-
$value
: string
-
setMeasureCode()
public
setMeasureCode(int $code) : self
Parameters
-
$code
: int
-
setMeasureName()
public
setMeasureName([mixed $name = null ]) : self
Parameters
-
$name
: mixed
= null
-
setMeasureRatio()
public
setMeasureRatio(float $ratio) : self
Parameters
-
$ratio
: float
-
setName()
public
setName([string $value = null ]) : self
Parameters
-
$value
: string
= null
-
setPrice()
public
setPrice(float $value) : self
Parameters
-
$value
: float
-
setPriceExclusive()
public
setPriceExclusive(float $value) : self
Parameters
-
$value
: float
-
setPriceGroupId()
public
setPriceGroupId(int $groupId) : self
Parameters
-
$groupId
: int
-
setQuantity()
public
setQuantity(float $value) : self
Parameters
-
$value
: float
-
setSku()
public
setSku(BaseSku $sku) : self
Parameters
-
$sku
: BaseSku
-
setSort()
public
setSort(int $value) : self
Parameters
-
$value
: int
-
setTaxId()
public
setTaxId(int $value) : self
Parameters
-
$value
: int
-
setTaxIncluded()
public
setTaxIncluded([string $value = null ]) : self
Parameters
-
$value
: string
= null
-
setTaxRate()
public
setTaxRate(float|null $value) : self
Parameters
-
$value
: float|null
-
setType()
public
setType(int|null $value) : self
Parameters
-
$value
: int|null
-