Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.ebusiness.order
Interface OrderLine

All Superinterfaces
  Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable

All Known Implementing Classes:
  OrderLineImpl

Deprecated

    @Deprecated
    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

- Containment: By Value
- Multiplicity: 1:1

Attribute: tax

- Containment: By Value
- Multiplicity: 1:1

Attribute: unitPrice

- Containment: By Value
- Multiplicity: 1:1

Attribute: totalLineAmount

- Containment: By Value
- Multiplicity: 1:1

Attribute: shipping

- Containment: By Value
- Multiplicity: 1:1

Attribute: productIdentifier

- Containment: By Value
- Multiplicity: 1:1

See Also
  `OrderLineHome`, `OrderLineImpl`

Method Summary
`ArrayList` | `getAdjustmentPresentations()` Deprecated Get the list of OrderAdjustmentPresentation objects
`String` | `getDescription()` Deprecated Get the value of description
`long` | `getId()` Deprecated Get order line id
`Money` | `getLineTotal(int totalType)` Deprecated Gets the line total for the given total type
`Money` | `getMsrp()` Deprecated Get the value of msrp
`String` | `getProductIdentifier()` Deprecated Get the value of productIdentifier
`double` | `getQuantity()` Deprecated Get the value of quantity
`Money` | `getShipping()` Deprecated Get the value of shipping
`Money` | `getTax()` Deprecated Get the value of tax
`double` | `getTotalLineAmount()` Deprecated Get the value of quantity
`Money` | `getUnitPrice()` Deprecated Get the value of unitPrice
`void` | `setAdjustmentPresentations(ArrayList adjustmentPresentations)` Deprecated Set the list of OrderAdjustmentPresentation object
`void` | `setDescription(String description)` Deprecated Set the value of description
`void` | `setId(long id)` Deprecated Set the order line id
`void` | `setMsrp(Money msrp)` Deprecated Set the value of msrp
`void` | `setProductIdentifier(String productIdentifier)` Deprecated Set the value of productIdentifier
`void` | `setQuantity(double quantity)` Deprecated Set the value of quantity
`void` | `setShipping(Money shipping)` Deprecated Set the value of shipping
`void` | `setTax(Money tax)` Deprecated Set the value of tax
`void` | `setTotalLineAmount(double totalLineAmount)` Deprecated Set the value of quantity
`void` | `setUnitPrice(Money unitPrice)` Deprecated Set the value of unitPrice

Methods inherited from interface com.beasys.commerce.foundation.Belonging
`clone, equals, interfaceName, setByValue, value`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### getQuantity

    double getQuantity()

  Deprecated
  Get the value of quantity

  Returns
    quantity.

### setQuantity

    void setQuantity(double quantity)

  Deprecated
  Set the value of quantity

  Parameters
    `quantity` - quantity to be added

### getTotalLineAmount

    double getTotalLineAmount()

  Deprecated
  Get the value of quantity

  Returns
    totalLineAmount.

### setTotalLineAmount

    void setTotalLineAmount(double totalLineAmount)

  Deprecated
  Set the value of quantity

  Parameters
    `totalLineAmount` - quantity to be added

### getTax

    Money getTax()

  Deprecated
  Get the value of tax

  Returns
    tax.

### setTax

    void setTax(Money tax)

  Deprecated
  Set the value of tax

  Parameters
    `tax` - tax to be added

### getUnitPrice

    Money getUnitPrice()

  Deprecated
  Get the value of unitPrice

  Returns
    unitPrice.

### setUnitPrice

    void setUnitPrice(Money unitPrice)

  Deprecated
  Set the value of unitPrice

  Parameters
    `unitPrice` - unitPrice to be added

### getShipping

    Money getShipping()

  Deprecated
  Get the value of shipping

  Returns
    shipping.

### setShipping

    void setShipping(Money shipping)

  Deprecated
  Set the value of shipping

  Parameters
    `shipping` - shipping to be added

### getProductIdentifier

    String getProductIdentifier()

  Deprecated
  Get the value of productIdentifier

  Returns
    productIdentifier.

### setProductIdentifier

    void setProductIdentifier(String productIdentifier)

  Deprecated
  Set the value of productIdentifier

  Parameters
    `productIdentifier` - productIdentifier to be added

### getMsrp

    Money getMsrp()

  Deprecated
  Get the value of msrp

  Returns
    msrp.

### setMsrp

    void setMsrp(Money msrp)

  Deprecated
  Set the value of msrp

  Parameters
    `msrp` - msrp to be added

### getDescription

    String getDescription()

  Deprecated
  Get the value of description

  Returns
    description.

### setDescription

    void setDescription(String description)

  Deprecated
  Set the value of description

  Parameters
    `description` - description to be added

### getAdjustmentPresentations

    ArrayList getAdjustmentPresentations()

  Deprecated
  Get the list of OrderAdjustmentPresentation objects

  Returns
    an array list

### setAdjustmentPresentations

    void setAdjustmentPresentations(ArrayList adjustmentPresentations)

  Deprecated
  Set the list of OrderAdjustmentPresentation object

  Parameters
    `adjustments,` - the list of OrderDiscountPresentations

### getId

    long getId()

  Deprecated
  Get order line id

  Returns
    an array list

### setId

    void setId(long id)

  Deprecated
  Set the order line id

  Parameters
    `id,` - the long order line id.

### getLineTotal

    Money getLineTotal(int totalType)
                       throws InvalidArgumentException

  Deprecated
  Gets the line total for the given total type

  Parameters
    `total` - type
  Throws
    `InvalidArgumentException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.