com.konakart.appif
Interface TierPriceIf

All Known Implementing Classes:
TierPrice

public interface TierPriceIf

Tier Price object that contains the price for different quantities


Method Summary
 java.lang.String getCustom1()
          Custom1 field
 java.util.Calendar getDateAdded()
          The time when this record was created
 int getId()
          Unique object id
 java.util.Calendar getLastModified()
          The last time that this record was modified
 java.math.BigDecimal getPrice0()
          Price0
 java.math.BigDecimal getPrice1()
          Price1
 java.math.BigDecimal getPrice2()
          Price2
 java.math.BigDecimal getPrice3()
          Price3
 java.math.BigDecimal getPriceExTax()
          The discounted price
 java.math.BigDecimal getPriceIncTax()
          The price including tax
 int getProductId()
          Numeric id of the product to which this tier price applies
 int getQuantity()
          Quantity of product that needs to be ordered before this pricing kicks in
 boolean isUsePercentageDiscount()
          Consider the price fields to be percentage discount fields when set
 void setCustom1(java.lang.String custom1)
           
 void setDateAdded(java.util.Calendar dateAdded)
          The time when this record was created
 void setId(int id)
          Unique object id
 void setLastModified(java.util.Calendar lastModified)
          The last time that this record was modified
 void setPrice0(java.math.BigDecimal price0)
          Price0
 void setPrice1(java.math.BigDecimal price1)
          Price1
 void setPrice2(java.math.BigDecimal price2)
          Price2
 void setPrice3(java.math.BigDecimal price3)
          Price3
 void setPriceExTax(java.math.BigDecimal priceExTax)
          The discounted price
 void setPriceIncTax(java.math.BigDecimal priceIncTax)
          The price including tax
 void setProductId(int productId)
          Numeric id of the product to which this tier price applies
 void setQuantity(int quantity)
          Quantity of product that needs to be ordered before this pricing kicks in
 void setUsePercentageDiscount(boolean usePercentageDiscount)
          Consider the price fields to be percentage discount fields when set
 

Method Detail

getId

int getId()
Unique object id

Returns:
the id

setId

void setId(int id)
Unique object id

Parameters:
id - the id to set

getProductId

int getProductId()
Numeric id of the product to which this tier price applies

Returns:
the productId

setProductId

void setProductId(int productId)
Numeric id of the product to which this tier price applies

Parameters:
productId - the productId to set

getQuantity

int getQuantity()
Quantity of product that needs to be ordered before this pricing kicks in

Returns:
the quantity

setQuantity

void setQuantity(int quantity)
Quantity of product that needs to be ordered before this pricing kicks in

Parameters:
quantity - the quantity to set

getPriceExTax

java.math.BigDecimal getPriceExTax()
The discounted price

Returns:
the priceExTax

setPriceExTax

void setPriceExTax(java.math.BigDecimal priceExTax)
The discounted price

Parameters:
priceExTax - the priceExTax to set

getPrice0

java.math.BigDecimal getPrice0()
Price0

Returns:
the price0

setPrice0

void setPrice0(java.math.BigDecimal price0)
Price0

Parameters:
price0 - the price0 to set

getPrice1

java.math.BigDecimal getPrice1()
Price1

Returns:
the price1

setPrice1

void setPrice1(java.math.BigDecimal price1)
Price1

Parameters:
price1 - the price1 to set

getPrice2

java.math.BigDecimal getPrice2()
Price2

Returns:
the price2

setPrice2

void setPrice2(java.math.BigDecimal price2)
Price2

Parameters:
price2 - the price2 to set

getPrice3

java.math.BigDecimal getPrice3()
Price3

Returns:
the price3

setPrice3

void setPrice3(java.math.BigDecimal price3)
Price3

Parameters:
price3 - the price3 to set

isUsePercentageDiscount

boolean isUsePercentageDiscount()
Consider the price fields to be percentage discount fields when set

Returns:
the usePercentageDiscount

setUsePercentageDiscount

void setUsePercentageDiscount(boolean usePercentageDiscount)
Consider the price fields to be percentage discount fields when set

Parameters:
usePercentageDiscount - the usePercentageDiscount to set

getCustom1

java.lang.String getCustom1()
Custom1 field

Returns:
the custom1

setCustom1

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

getLastModified

java.util.Calendar getLastModified()
The last time that this record was modified

Returns:
the lastModified

setLastModified

void setLastModified(java.util.Calendar lastModified)
The last time that this record was modified

Parameters:
lastModified - the lastModified to set

getDateAdded

java.util.Calendar getDateAdded()
The time when this record was created

Returns:
the dateAdded

setDateAdded

void setDateAdded(java.util.Calendar dateAdded)
The time when this record was created

Parameters:
dateAdded - the dateAdded to set

getPriceIncTax

java.math.BigDecimal getPriceIncTax()
The price including tax

Returns:
the priceIncTax

setPriceIncTax

void setPriceIncTax(java.math.BigDecimal priceIncTax)
The price including tax

Parameters:
priceIncTax - the priceIncTax to set


Copyright © 2011 DS Data Systems UK Ltd.