com.konakartadmin.app
Class AdminTierPrice

java.lang.Object
  extended by com.konakartadmin.app.AdminTierPrice

public class AdminTierPrice
extends java.lang.Object

Tier Price object that contains the price for different quantities


Field Summary
private  java.lang.String custom1
          Custom1
private  java.util.Date dateAdded
          The value for the dateAdded field
private  java.math.BigDecimal extPrice0
          External prices
private  java.math.BigDecimal extPrice1
           
private  java.math.BigDecimal extPrice2
           
private  java.math.BigDecimal extPrice3
           
private  int id
          id
private  java.util.Date lastModified
          The value for the lastModified field
private  java.math.BigDecimal price0
          Price fields
private  java.math.BigDecimal price1
           
private  java.math.BigDecimal price2
           
private  java.math.BigDecimal price3
           
private  java.math.BigDecimal priceExTax
          priceExTax
private  int productId
          productId
private  int quantity
          quantity
private  boolean usePercentageDiscount
          Consider the price fields to be percentage discount fields when set
 
Constructor Summary
AdminTierPrice()
          Constructor
AdminTierPrice(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
           
 
Method Summary
 java.lang.String getCustom1()
           
 java.util.Date getDateAdded()
           
 java.math.BigDecimal getExtPrice0()
           
 java.math.BigDecimal getExtPrice1()
           
 java.math.BigDecimal getExtPrice2()
           
 java.math.BigDecimal getExtPrice3()
           
 int getId()
           
 java.util.Date getLastModified()
           
 java.math.BigDecimal getPrice0()
           
 java.math.BigDecimal getPrice1()
           
 java.math.BigDecimal getPrice2()
           
 java.math.BigDecimal getPrice3()
           
 java.math.BigDecimal getPriceExTax()
           
 int getProductId()
           
 int getQuantity()
           
 boolean isUsePercentageDiscount()
           
 void setCustom1(java.lang.String custom1)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setExtPrice0(java.math.BigDecimal extPrice0)
           
 void setExtPrice1(java.math.BigDecimal extPrice1)
           
 void setExtPrice2(java.math.BigDecimal extPrice2)
           
 void setExtPrice3(java.math.BigDecimal extPrice3)
           
 void setId(int id)
           
 void setLastModified(java.util.Date lastModified)
           
 void setPrice0(java.math.BigDecimal price0)
           
 void setPrice1(java.math.BigDecimal price1)
           
 void setPrice2(java.math.BigDecimal price2)
           
 void setPrice3(java.math.BigDecimal price3)
           
 void setPriceExTax(java.math.BigDecimal priceExTax)
           
 void setProductId(int productId)
           
 void setQuantity(int quantity)
           
 void setUsePercentageDiscount(boolean usePercentageDiscount)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


productId

private int productId
productId


quantity

private int quantity
quantity


priceExTax

private java.math.BigDecimal priceExTax
priceExTax


price0

private java.math.BigDecimal price0
Price fields


price1

private java.math.BigDecimal price1

price2

private java.math.BigDecimal price2

price3

private java.math.BigDecimal price3

usePercentageDiscount

private boolean usePercentageDiscount
Consider the price fields to be percentage discount fields when set


custom1

private java.lang.String custom1
Custom1


lastModified

private java.util.Date lastModified
The value for the lastModified field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field


extPrice0

private java.math.BigDecimal extPrice0
External prices


extPrice1

private java.math.BigDecimal extPrice1

extPrice2

private java.math.BigDecimal extPrice2

extPrice3

private java.math.BigDecimal extPrice3
Constructor Detail

AdminTierPrice

public AdminTierPrice()
Constructor


AdminTierPrice

public AdminTierPrice(com.workingdogs.village.Record vr,
                      org.apache.torque.util.Criteria c)
               throws com.workingdogs.village.DataSetException
Parameters:
vr -
c -
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Tier Price object.

getId

public int getId()
Returns:
the id

setId

public void setId(int id)
Parameters:
id - the id to set

getProductId

public int getProductId()
Returns:
the productId

setProductId

public void setProductId(int productId)
Parameters:
productId - the productId to set

getQuantity

public int getQuantity()
Returns:
the quantity

setQuantity

public void setQuantity(int quantity)
Parameters:
quantity - the quantity to set

getPriceExTax

public java.math.BigDecimal getPriceExTax()
Returns:
the priceExTax

setPriceExTax

public void setPriceExTax(java.math.BigDecimal priceExTax)
Parameters:
priceExTax - the priceExTax to set

getPrice0

public java.math.BigDecimal getPrice0()
Returns:
the price0

setPrice0

public void setPrice0(java.math.BigDecimal price0)
Parameters:
price0 - the price0 to set

getPrice1

public java.math.BigDecimal getPrice1()
Returns:
the price1

setPrice1

public void setPrice1(java.math.BigDecimal price1)
Parameters:
price1 - the price1 to set

getPrice2

public java.math.BigDecimal getPrice2()
Returns:
the price2

setPrice2

public void setPrice2(java.math.BigDecimal price2)
Parameters:
price2 - the price2 to set

getPrice3

public java.math.BigDecimal getPrice3()
Returns:
the price3

setPrice3

public void setPrice3(java.math.BigDecimal price3)
Parameters:
price3 - the price3 to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

isUsePercentageDiscount

public boolean isUsePercentageDiscount()
Returns:
the usePercentageDiscount

setUsePercentageDiscount

public void setUsePercentageDiscount(boolean usePercentageDiscount)
Parameters:
usePercentageDiscount - the usePercentageDiscount to set

getLastModified

public java.util.Date getLastModified()
Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - the lastModified to set

getDateAdded

public java.util.Date getDateAdded()
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - the dateAdded to set

getExtPrice0

public java.math.BigDecimal getExtPrice0()
Returns:
the extPrice0

setExtPrice0

public void setExtPrice0(java.math.BigDecimal extPrice0)
Parameters:
extPrice0 - the extPrice0 to set

getExtPrice1

public java.math.BigDecimal getExtPrice1()
Returns:
the extPrice1

setExtPrice1

public void setExtPrice1(java.math.BigDecimal extPrice1)
Parameters:
extPrice1 - the extPrice1 to set

getExtPrice2

public java.math.BigDecimal getExtPrice2()
Returns:
the extPrice2

setExtPrice2

public void setExtPrice2(java.math.BigDecimal extPrice2)
Parameters:
extPrice2 - the extPrice2 to set

getExtPrice3

public java.math.BigDecimal getExtPrice3()
Returns:
the extPrice3

setExtPrice3

public void setExtPrice3(java.math.BigDecimal extPrice3)
Parameters:
extPrice3 - the extPrice3 to set


Copyright © 2011 DS Data Systems UK Ltd.