OrderItemDownloadInformation
in package
Class OrderItemDownloadInformation
Tags
Table of Contents
- $countAvailable : int
- Maximal number of possible downloads.
- $filename : string
- Filename
- $maxDaysAllowed : int
- Maximal number of days for download.
- __construct() : mixed
- OrderItemDownloadInformation constructor.
- getCountAvailable() : int
- Returns the number of possible downloads.
- getFilename() : string
- Returns the Filename of the download.
- getMaxDaysAllowed() : int
- Returns the number of days where downloads are possible.
Properties
$countAvailable
Maximal number of possible downloads.
protected
int
$countAvailable
= 0
$filename
Filename
protected
string
$filename
= ''
$maxDaysAllowed
Maximal number of days for download.
protected
int
$maxDaysAllowed
= 0
Methods
__construct()
OrderItemDownloadInformation constructor.
public
__construct(FilenameStringType $filename, IntType $maxDaysAllowed, IntType $countAvailable) : mixed
Parameters
- $filename : FilenameStringType
- $maxDaysAllowed : IntType
- $countAvailable : IntType
Return values
mixed —getCountAvailable()
Returns the number of possible downloads.
public
getCountAvailable() : int
Return values
int —getFilename()
Returns the Filename of the download.
public
getFilename() : string
Return values
string —getMaxDaysAllowed()
Returns the number of days where downloads are possible.
public
getMaxDaysAllowed() : int