org.opencrx.kernel.product1.cci2
Interface DiscountPriceModifier

All Superinterfaces:
AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, PriceModifier, SecureObject
All Known Subinterfaces:
DiscountPriceModifier
All Known Implementing Classes:
DiscountPriceModifier

public interface DiscountPriceModifier
extends PriceModifier

Class DiscountPriceModifier


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.PriceModifier
PriceModifier.Identity
 
Method Summary
 BigDecimal getDiscount()
          Retrieves the possibly null value for the optional attribute discount.
 Boolean isDiscountIsPercentage()
          Retrieves the possibly null value for the optional attribute discountIsPercentage.
 void setDiscount(BigDecimal discount)
          Sets a new value for the attribute discount.
 void setDiscountIsPercentage(Boolean discountIsPercentage)
          Sets a new value for the attribute discountIsPercentage.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.PriceModifier
getDescription, getQuantityFrom, getQuantityTo, setDescription, setQuantityFrom, setQuantityTo
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getDiscount

BigDecimal getDiscount()
Retrieves the possibly null value for the optional attribute discount.

Returns:
The possibly null value for attribute discount.

setDiscount

void setDiscount(BigDecimal discount)
Sets a new value for the attribute discount.

Parameters:
discount - The possibly null new value for attribute discount.

isDiscountIsPercentage

Boolean isDiscountIsPercentage()
Retrieves the possibly null value for the optional attribute discountIsPercentage.

Returns:
The possibly null value for attribute discountIsPercentage.

setDiscountIsPercentage

void setDiscountIsPercentage(Boolean discountIsPercentage)
Sets a new value for the attribute discountIsPercentage.

Parameters:
discountIsPercentage - The possibly null new value for attribute discountIsPercentage.


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.