AddonEntity
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
-
$couponDiscount
: int
-
$id
: int
-
$isRecurring
: bool
-
$periodUnitId
: int|null
-
$promoDiscount
: int
-
$quantity
: int
-
$textId
: string
-
$unitPrice
: int
-
$vat
: int
Methods
-
getCouponDiscount()
: int
-
getId()
: int
-
getIsRecurring()
: bool
-
getPeriodUnitId()
: int|null
-
getPriceGross()
: mixed
-
getPriceNet()
: mixed
-
getPriceTaxable()
: mixed
-
getPromoDiscount()
: int
-
getQuantity()
: int
-
getTextId()
: string
-
getUnitPrice()
: int
-
getVat()
: int
-
jsonSerialize()
: mixed
-
setCouponDiscount()
: self
-
setId()
: mixed
-
setIsRecurring()
: self
-
setPeriodUnitId()
: self
-
setPromoDiscount()
: self
-
setQuantity()
: self
-
setTextId()
: self
-
setUnitPrice()
: self
-
setVat()
: self
$couponDiscount
private
int
$couponDiscount
= 0
$id
private
int
$id
$isRecurring
private
bool
$isRecurring
$periodUnitId
private
int|null
$periodUnitId
private
int
$promoDiscount
= 0
$quantity
private
int
$quantity
= 1
$textId
private
string
$textId
$unitPrice
private
int
$unitPrice
$vat
private
int
$vat
= 0
getCouponDiscount()
public
getCouponDiscount() : int
getId()
public
final getId() : int
getIsRecurring()
public
final getIsRecurring() : bool
getPeriodUnitId()
public
getPeriodUnitId() : int|null
getPriceGross()
public
getPriceGross() : mixed
getPriceNet()
public
getPriceNet() : mixed
getPriceTaxable()
public
getPriceTaxable() : mixed
public
getPromoDiscount() : int
getQuantity()
public
getQuantity() : int
getTextId()
public
getTextId() : string
getUnitPrice()
public
final getUnitPrice() : int
getVat()
public
getVat() : int
jsonSerialize()
public
final jsonSerialize() : mixed
setCouponDiscount()
public
setCouponDiscount(int $couponDiscount) : self
Parameters
-
$couponDiscount
: int
-
setId()
public
final setId(int $id) : mixed
Parameters
-
$id
: int
-
setIsRecurring()
public
final setIsRecurring(bool $isRecurring) : self
Parameters
-
$isRecurring
: bool
-
setPeriodUnitId()
public
setPeriodUnitId(int|null $periodUnitId) : self
Parameters
-
$periodUnitId
: int|null
-
public
setPromoDiscount(int $promoDiscount) : self
Parameters
-
$promoDiscount
: int
-
setQuantity()
public
setQuantity(int $quantity) : self
Parameters
-
$quantity
: int
-
setTextId()
public
setTextId(string $textId) : self
Parameters
-
$textId
: string
-
setUnitPrice()
public
final setUnitPrice(int $unitPrice) : self
Parameters
-
$unitPrice
: int
-
setVat()
public
setVat(int $vat) : self
Parameters
-
$vat
: int
-