ProductDownload
Extends Object. Represents a download associated with a product.
Properties |
---|
description
String
The description for the download. |
id
Number
The System ID for the download. |
title
String
The title for the download. |
url
Url
The Url of the downloadable file. |
visibility
String
The visibility option for the download, which will be one of the following options:
Note that downloads with contact and purchase privileges will only be returned if applicable to the current user. |
Methods |
---|
exists()
Boolean
True if the file exists, else false if it is missing. |
extension()
String
Gets the file extension for the download. |
filename()
String
Gets the file name of the download including its extension. |
size()
String
Gets a human readable file size. |