Class Discount

Description

This Class represents a dataobject for a Discount



			
Variable Summary
string $Code
string $DateCreated
string $DateExpire
int $Id
int $Limit
int[] $ProductIds
string $Title
string $Type
int $UseCount
double $Value
int $Vat
Variables
int $AmountSpent

The spent amount of the Discount

string $Code

The code of the Discount

string $DateCreated

The the date the Discount was created

string $DateExpire

The expiry date of the Discount (empty for none)

int $Id

The id of the Discount

int $Limit

The the useage limit of the Discount

int[] $ProductIds

The ids of the products related to this Discount

string $Title

The title of the Discount

string $Type

The type of the Discount ('p' for percentage, 'f' for fixed amount)

int $UseCount

The use count of the Discount

double $Value

The value of the Discount (either percentage of fixed amount according to the Type)

int $Vat

Wether or not the Discount has VAT

Documentation generated on Mon, 22 May 2017 15:41:28 +0200 by phpDocumentor 1.4.4