com.beasys.commerce.ebusiness.tax
Interface TaxResult

All Superinterfaces
Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable
All Known Implementing Classes:
TaxResultImpl

Deprecated See BEA Commerce product offering

@Deprecated
public interface TaxResult
extends Belonging

A holder for various taxinfo belongings: total: A summary of all taxes and reasons line: A ordered list of lines that correspond to various taxes. The order is the same as the order of the taxlinelist being used to generate the taxes. Attribute: line One TaxInformation for each line in the original order.

Attribute: total The total information for the order that was processed.

See Also
TaxResultHome, TaxResultImpl

Method Summary
 void calculateTotals()
          Deprecated See BEA Commerce product offering
 List getLine()
          Deprecated See BEA Commerce product offering
 TaxInformation getTotal()
          Deprecated See BEA Commerce product offering
 void setLine(List list)
          Deprecated See BEA Commerce product offering
 void setTotal(TaxInformation total)
          Deprecated See BEA Commerce product offering
 
Methods inherited from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLine

List getLine()
Deprecated See BEA Commerce product offering

Get the value of line

Returns
line.

setLine

void setLine(List list)
Deprecated See BEA Commerce product offering

Set the value of Line

Parameters
line - to be set

getTotal

TaxInformation getTotal()
Deprecated See BEA Commerce product offering

Get the value of total

Returns
total.

setTotal

void setTotal(TaxInformation total)
Deprecated See BEA Commerce product offering

Set the value of total

Parameters
total - total to be added

calculateTotals

void calculateTotals()
Deprecated See BEA Commerce product offering

This method should be called by anyone constructing TaxResults, it will calculate the total TaxInformation attribute. Typically, the caller would be a subclass of TaxCalculator. The user of a TaxCalculator does not have to call calculateTotals.



Copyright © 2008 BEA Systems, Inc. All Rights Reserved