OrderLine Interface

com.beasys.commerce.ebusiness.order
OrderLine Interface

public interface OrderLine

    extends Belonging

OrderLine represents one line in an Order. It contains a reference to an Item, a Quantity, a unitPrice and a list of Adjustments to the total line price. Attribute: quantity

Attribute: tax Attribute: unitPrice Attribute: totalLineAmount Attribute: shipping Attribute: productIdentifier

Related Topics

OrderLineHome
OrderLineImpl


All Known Implementing Classes
OrderLineImpl
All Superinterfaces
Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable

Method Summary

public ArrayList
getAdjustmentPresentations()
Get the list of OrderAdjustmentPresentation objects
public String
getDescription()
Get the value of description
public long
getId()
Get order line id
public Money
getLineTotal(int totalType)
Gets the line total for the given total type
public Money
getMsrp()
Get the value of msrp
public String
getProductIdentifier()
Get the value of productIdentifier
public double
getQuantity()
Get the value of quantity
public Money
getShipping()
Get the value of shipping
public Money
getTax()
Get the value of tax
public double
getTotalLineAmount()
Get the value of quantity
public Money
getUnitPrice()
Get the value of unitPrice
public void
setAdjustmentPresentations(ArrayList adjustmentPresentations)
Set the list of OrderAdjustmentPresentation object
public void
setDescription(String description)
Set the value of description
public void
setId(long id)
Set the order line id
public void
setMsrp(Money msrp)
Set the value of msrp
public void
setProductIdentifier(String productIdentifier)
Set the value of productIdentifier
public void
setQuantity(double quantity)
Set the value of quantity
public void
setShipping(Money shipping)
Set the value of shipping
public void
setTax(Money tax)
Set the value of tax
public void
setTotalLineAmount(double totalLineAmount)
Set the value of quantity
public void
setUnitPrice(Money unitPrice)
Set the value of unitPrice
 
Methods from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods from interface java.lang.Comparable
compareTo
   

Method Detail

getAdjustmentPresentations() Method

public ArrayList getAdjustmentPresentations()
Get the list of OrderAdjustmentPresentation objects

Returns

an array list

getDescription() Method

public String getDescription()
Get the value of description

Returns

description.

getId() Method

public long getId()
Get order line id

Returns

an array list

getLineTotal(int) Method

public Money getLineTotal(int totalType)
throws InvalidArgumentException
Gets the line total for the given total type

Parameters

totalType
type

Exceptions

InvalidArgumentException

getMsrp() Method

public Money getMsrp()
Get the value of msrp

Returns

msrp.

getProductIdentifier() Method

public String getProductIdentifier()
Get the value of productIdentifier

Returns

productIdentifier.

getQuantity() Method

public double getQuantity()
Get the value of quantity

Returns

quantity.

getShipping() Method

public Money getShipping()
Get the value of shipping

Returns

shipping.

getTax() Method

public Money getTax()
Get the value of tax

Returns

tax.

getTotalLineAmount() Method

public double getTotalLineAmount()
Get the value of quantity

Returns

totalLineAmount.

getUnitPrice() Method

public Money getUnitPrice()
Get the value of unitPrice

Returns

unitPrice.

setAdjustmentPresentations(ArrayList) Method

public void setAdjustmentPresentations(ArrayList adjustmentPresentations)
Set the list of OrderAdjustmentPresentation object

Parameters

adjustmentPresentations
the list of OrderDiscountPresentations

setDescription(String) Method

public void setDescription(String description)
Set the value of description

Parameters

description
description to be added

setId(long) Method

public void setId(long id)
Set the order line id

Parameters

id
the long order line id.

setMsrp(Money) Method

public void setMsrp(Money msrp)
Set the value of msrp

Parameters

msrp
msrp to be added

setProductIdentifier(String) Method

public void setProductIdentifier(String productIdentifier)
Set the value of productIdentifier

Parameters

productIdentifier
productIdentifier to be added

setQuantity(double) Method

public void setQuantity(double quantity)
Set the value of quantity

Parameters

quantity
quantity to be added

setShipping(Money) Method

public void setShipping(Money shipping)
Set the value of shipping

Parameters

shipping
shipping to be added

setTax(Money) Method

public void setTax(Money tax)
Set the value of tax

Parameters

tax
tax to be added

setTotalLineAmount(double) Method

public void setTotalLineAmount(double totalLineAmount)
Set the value of quantity

Parameters

totalLineAmount
quantity to be added

setUnitPrice(Money) Method

public void setUnitPrice(Money unitPrice)
Set the value of unitPrice

Parameters

unitPrice
unitPrice to be added