© 2005 BEA Systems, Inc.

com.beasys.commerce.ebusiness.tax
Interface TaxLine

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

public interface TaxLine
extends Belonging

Has all the information from orderline required to do taxing, may be generated from an orderline. Attribute: freight

Attribute: price Attribute: quantity Attribute: taxCode

See Also:
TaxLineHome, TaxLineImpl

Method Summary
 Price getDiscountedPriceAmount()
          Get the value of the discounted price
 Price getFreight()
          Get the value of freight
 Price getPrice()
          Get the value of price
 Quantity getQuantity()
          Get the value of quantity
 String getTaxCode()
          Get the value of taxCode
 void setDiscountedPriceAmount(Price price)
          Set the value of the discounted price.
 void setFreight(Price freight)
          Set the value of freight
 void setPrice(Price price)
          Set the value of price
 void setQuantity(Quantity quantity)
          Set the value of quantity
 void setTaxCode(String taxCode)
          Set the value of taxCode
 
Methods inherited from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDiscountedPriceAmount

public Price getDiscountedPriceAmount()
Get the value of the discounted price

Returns:
price.

getFreight

public Price getFreight()
Get the value of freight

Returns:
freight.

getPrice

public Price getPrice()
Get the value of price

Returns:
price.

getQuantity

public Quantity getQuantity()
Get the value of quantity

Returns:
quantity.

getTaxCode

public String getTaxCode()
Get the value of taxCode

Returns:
taxCode.

setDiscountedPriceAmount

public void setDiscountedPriceAmount(Price price)
Set the value of the discounted price. This is the amount off the full price.

Parameters:
price - price to be added

setFreight

public void setFreight(Price freight)
Set the value of freight

Parameters:
freight - freight to be added

setPrice

public void setPrice(Price price)
Set the value of price

Parameters:
price - price to be added

setQuantity

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

Parameters:
quantity - quantity to be added

setTaxCode

public void setTaxCode(String taxCode)
Set the value of taxCode

Parameters:
taxCode - taxCode to be added

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved