Class SpecialOfferInformation
package |
Default |
---|
__construct(\DecimalType $quantity, \DecimalType $price, \BoolType $status, \IdType $productId)
create(double $quantity, double $price, boolean $status, integer $productId) : \SpecialOfferInformation
double
Special offer's quantity.
double
Special offer's price.
boolean
Special offer's status.
integer
Special offer's product ID.
\SpecialOfferInformation
New instance.
price() : double
double
Price of special offer.
productId() : integer
integer
ID of the offered product.
quantity() : double
double
Special offer's quantity.
status() : boolean
boolean
True if special offer is active.
quantity : double
var |
---|
double
price : double
var |
---|
double
status : boolean
var |
---|
boolean
productId : integer
var |
---|
integer