Function
|
Description
|
Syntax
|
Example
|
hasMoreLineItems
|
Returns true while there are still more line items in the quote to be displayed.
|
public boolean hasMoreLineItems()
|
<%
while ( bean.hasMoreLineItems() )
{
bean.nextLineItem();
while ( bean.hasMoreParts() )
{
bean.nextPart();
//display quote line items..................
}
}
%>
|
nextLineItem
|
Moves to the next line item to be displayed.
|
public void nextLineItem()
|
<%
while ( bean.hasMoreLineItems() )
{
bean.nextLineItem();
while ( bean.hasMoreParts() )
{
bean.nextPart();
//display quote line items..................
}
}
%>
|
getLineItemID
|
Returns the numeric unique identifier for the line item.
|
public int getLineItemID()
|
<% bean.getLineItemID() %>
|
getLineItemIndex
|
Returns the counter value (index) for the current line item (1, 2, and so on).
|
public int getLineItemIndex ()
|
<% bean.getLineItemIndex() %>
|
getLineItemDescr
|
Returns the description field for that line item (should come from the pageset variable FAMILY_NAME).
|
public String getLineItemDescr()
|
<% bean.getLineItemDescr () %>
|
getLineItemDiscount
|
Returns the user-input discount amount for the line item. Should be a number between 0 and 100 with two places of decimal precision.
|
public String getLineItemDiscount()
|
<% bean.getLineItemDiscount() %>
|
getLineItemLinkbackURL
|
Returns the user-input discount amount for the line item. Should be a number between 0 and 100 with two places of decimal precision.
|
public String getLineItemDiscount()
|
<% bean.getLineItemDiscount() %>
|
getLineItemDeleteURL
|
Returns the URL the user can click on to remove this line item from the quote.
|
public String getLineItemDeleteURL()
|
<% bean.getLineItemDeleteURL() %>
|