org.apache.taglibs.rdc.sampleapps.musicstore.ws
Class OfferSummary

java.lang.Object
  extended by org.apache.taglibs.rdc.sampleapps.musicstore.ws.OfferSummary
All Implemented Interfaces:
java.io.Serializable

public class OfferSummary
extends java.lang.Object
implements java.io.Serializable

Offer Summary Object to store price offers and available total of each pricing offers

Author:
Thomas Ling, Rahul Akolkar
See Also:
Serialized Form

Constructor Summary
OfferSummary(int newPrice, int usedPrice, int collectPrice, int totalNew, int totalUsed, int totalCollect)
          Constructor
 
Method Summary
 int getCollectPrice()
           
 int getNewPrice()
           
 int getTotalCollect()
           
 int getTotalNew()
           
 int getTotalUsed()
           
 int getUsedPrice()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfferSummary

public OfferSummary(int newPrice,
                    int usedPrice,
                    int collectPrice,
                    int totalNew,
                    int totalUsed,
                    int totalCollect)
Constructor

Method Detail

getCollectPrice

public int getCollectPrice()
Returns:
Returns the collectPrice.

getNewPrice

public int getNewPrice()
Returns:
Returns the newPrice.

getTotalCollect

public int getTotalCollect()
Returns:
Returns the totalCollect.

getTotalNew

public int getTotalNew()
Returns:
Returns the totalNew.

getTotalUsed

public int getTotalUsed()
Returns:
Returns the totalUsed.

getUsedPrice

public int getUsedPrice()
Returns:
Returns the usedPrice.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.