phpDocumentor

SpecialOffer
in package
implements SpecialOfferInterface

Interfaces, Classes and Traits

SpecialOfferInterface
Interface SpecialOfferInterface

Table of Contents

$dates  : SpecialOfferDatesInterface
$information  : SpecialOfferInformationInterface
$specialOfferId  : SpecialOfferIdInterface
__construct()  : mixed
SpecialOffer constructor.
added()  : DateTime
Returns the creation date of the special offer.
begins()  : DateTime
Returns the start date of the special offer.
create()  : SpecialOffer
expires()  : DateTime
Returns the expiration date of the special offer.
id()  : int|null
Returns the special offer id.
modified()  : DateTime
Returns the last modification date of the special offer.
price()  : float
Returns the special offer's price.
productId()  : int
Returns the product id of the special.
quantity()  : float
Returns the quantity of the special offer.
status()  : bool
Returns the special offer status.

Properties

Methods

added()

Returns the creation date of the special offer.

public added() : DateTime
Return values
DateTime

Creation date of special offer.

begins()

Returns the start date of the special offer.

public begins() : DateTime
Return values
DateTime

Start date of special offer.

expires()

Returns the expiration date of the special offer.

public expires() : DateTime
Return values
DateTime

Expiration date of special offer.

id()

Returns the special offer id.

public id() : int|null
Return values
int|null

Id of special offer.

modified()

Returns the last modification date of the special offer.

public modified() : DateTime
Return values
DateTime

Last modification date of special offer.

price()

Returns the special offer's price.

public price() : float
Return values
float

Price of special offer.

productId()

Returns the product id of the special.

public productId() : int
Return values
int

Id of special offer's product.

quantity()

Returns the quantity of the special offer.

public quantity() : float
Return values
float

Special offer's quantity.

status()

Returns the special offer status.

public status() : bool
Return values
bool

True if special offer is active.

Search results