Class SpecialOfferInformation
| package |
Default |
|---|
__construct(\DecimalType $quantity, \DecimalType $price, \BoolType $status, \IdType $productId)
create(double $quantity, double $price, boolean $status, integer $productId) : \SpecialOfferInformation
doubleSpecial offer's quantity.
doubleSpecial offer's price.
booleanSpecial offer's status.
integerSpecial offer's product ID.
\SpecialOfferInformationNew instance.
price() : double
doublePrice of special offer.
productId() : integer
integerID of the offered product.
quantity() : double
doubleSpecial offer's quantity.
status() : boolean
booleanTrue if special offer is active.
quantity : double
| var |
|---|
double
price : double
| var |
|---|
double
status : boolean
| var |
|---|
boolean
productId : integer
| var |
|---|
integer