\DMSRequestItem
Class DMSRequestItem wrapper which represents a DocumentCartItem
Synopsis
class DMSRequestItem
extends ViewableData
{
- // methods
- public void __construct()
- public int getItemId()
- public int getQuantity()
- public DMSRequestItem setQuantity()
- public DMSDocument getDocument()
- public DMSRequestItem setDocument()
Hierarchy
Extends
- ViewableData
Members
private
- $document
—
DMSDocument
The linked {@link DMSDocument} which was added to the cart. - $quantity
—
int
The number of copies required of @itemID
Methods
public
- __construct() — If a document is provided on construction, set it to this item instance
- getDocument() — Returns the linked DMSDocument
- getItemId() — Returns the ID of the $this->document
- getQuantity() — Returns the linked item Quantity
- setDocument()
- setQuantity() — Sets the quantity of documents to be ordered.