Package org.compiere.model
Interface I_M_PromotionReward
-
- All Known Implementing Classes:
MPromotionReward,X_M_PromotionReward
public interface I_M_PromotionRewardGenerated Interface for M_PromotionReward- Version:
- Release 9
- Author:
- iDempiere (generated)
-
-
Field Summary
Fields Modifier and Type Field Description static BigDecimalaccessLevelAccessLevel = 3 - Client - Orgstatic StringCOLUMNNAME_AD_Client_IDColumn name AD_Client_IDstatic StringCOLUMNNAME_AD_Org_IDColumn name AD_Org_IDstatic StringCOLUMNNAME_AmountColumn name Amountstatic StringCOLUMNNAME_C_Charge_IDColumn name C_Charge_IDstatic StringCOLUMNNAME_CreatedColumn name Createdstatic StringCOLUMNNAME_CreatedByColumn name CreatedBystatic StringCOLUMNNAME_DistributionSortingColumn name DistributionSortingstatic StringCOLUMNNAME_IsActiveColumn name IsActivestatic StringCOLUMNNAME_IsForAllDistributionColumn name IsForAllDistributionstatic StringCOLUMNNAME_IsSameDistributionColumn name IsSameDistributionstatic StringCOLUMNNAME_M_Promotion_IDColumn name M_Promotion_IDstatic StringCOLUMNNAME_M_PromotionDistribution_IDColumn name M_PromotionDistribution_IDstatic StringCOLUMNNAME_M_PromotionReward_IDColumn name M_PromotionReward_IDstatic StringCOLUMNNAME_M_PromotionReward_UUColumn name M_PromotionReward_UUstatic StringCOLUMNNAME_M_TargetDistribution_IDColumn name M_TargetDistribution_IDstatic StringCOLUMNNAME_QtyColumn name Qtystatic StringCOLUMNNAME_RewardTypeColumn name RewardTypestatic StringCOLUMNNAME_SeqNoColumn name SeqNostatic StringCOLUMNNAME_UpdatedColumn name Updatedstatic StringCOLUMNNAME_UpdatedByColumn name UpdatedBystatic KeyNamePairModelstatic intTable_IDAD_Table_ID=53182static StringTable_NameTableName=M_PromotionReward
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAD_Client_ID()Get Client.intgetAD_Org_ID()Get Organization.BigDecimalgetAmount()Get Amount.I_C_ChargegetC_Charge()intgetC_Charge_ID()Get Charge.TimestampgetCreated()Get Created.intgetCreatedBy()Get Created By.StringgetDistributionSorting()Get Distribution Sorting.I_M_PromotiongetM_Promotion()intgetM_Promotion_ID()Get PromotionI_M_PromotionDistributiongetM_PromotionDistribution()intgetM_PromotionDistribution_ID()Get Promotion DistributionintgetM_PromotionReward_ID()Get Promotion RewardStringgetM_PromotionReward_UU()Get M_PromotionReward_UUI_M_PromotionDistributiongetM_TargetDistribution()intgetM_TargetDistribution_ID()Get Target distribution.BigDecimalgetQty()Get Quantity.StringgetRewardType()Get Reward Type.intgetSeqNo()Get Sequence.TimestampgetUpdated()Get Updated.intgetUpdatedBy()Get Updated By.booleanisActive()Get Active.booleanisForAllDistribution()Get For all distribution.booleanisSameDistribution()Get Same distribution for source and target.voidsetAD_Org_ID(int AD_Org_ID)Set Organization.voidsetAmount(BigDecimal Amount)Set Amount.voidsetC_Charge_ID(int C_Charge_ID)Set Charge.voidsetDistributionSorting(String DistributionSorting)Set Distribution Sorting.voidsetIsActive(boolean IsActive)Set Active.voidsetIsForAllDistribution(boolean IsForAllDistribution)Set For all distribution.voidsetIsSameDistribution(boolean IsSameDistribution)Set Same distribution for source and target.voidsetM_Promotion_ID(int M_Promotion_ID)Set PromotionvoidsetM_PromotionDistribution_ID(int M_PromotionDistribution_ID)Set Promotion DistributionvoidsetM_PromotionReward_ID(int M_PromotionReward_ID)Set Promotion RewardvoidsetM_PromotionReward_UU(String M_PromotionReward_UU)Set M_PromotionReward_UUvoidsetM_TargetDistribution_ID(int M_TargetDistribution_ID)Set Target distribution.voidsetQty(BigDecimal Qty)Set Quantity.voidsetRewardType(String RewardType)Set Reward Type.voidsetSeqNo(int SeqNo)Set Sequence.
-
-
-
Field Detail
-
Table_Name
static final String Table_Name
TableName=M_PromotionReward- See Also:
- Constant Field Values
-
Table_ID
static final int Table_ID
AD_Table_ID=53182- See Also:
- Constant Field Values
-
Model
static final KeyNamePair Model
-
accessLevel
static final BigDecimal accessLevel
AccessLevel = 3 - Client - Org
-
COLUMNNAME_AD_Client_ID
static final String COLUMNNAME_AD_Client_ID
Column name AD_Client_ID- See Also:
- Constant Field Values
-
COLUMNNAME_AD_Org_ID
static final String COLUMNNAME_AD_Org_ID
Column name AD_Org_ID- See Also:
- Constant Field Values
-
COLUMNNAME_Amount
static final String COLUMNNAME_Amount
Column name Amount- See Also:
- Constant Field Values
-
COLUMNNAME_C_Charge_ID
static final String COLUMNNAME_C_Charge_ID
Column name C_Charge_ID- See Also:
- Constant Field Values
-
COLUMNNAME_Created
static final String COLUMNNAME_Created
Column name Created- See Also:
- Constant Field Values
-
COLUMNNAME_CreatedBy
static final String COLUMNNAME_CreatedBy
Column name CreatedBy- See Also:
- Constant Field Values
-
COLUMNNAME_DistributionSorting
static final String COLUMNNAME_DistributionSorting
Column name DistributionSorting- See Also:
- Constant Field Values
-
COLUMNNAME_IsActive
static final String COLUMNNAME_IsActive
Column name IsActive- See Also:
- Constant Field Values
-
COLUMNNAME_IsForAllDistribution
static final String COLUMNNAME_IsForAllDistribution
Column name IsForAllDistribution- See Also:
- Constant Field Values
-
COLUMNNAME_IsSameDistribution
static final String COLUMNNAME_IsSameDistribution
Column name IsSameDistribution- See Also:
- Constant Field Values
-
COLUMNNAME_M_PromotionDistribution_ID
static final String COLUMNNAME_M_PromotionDistribution_ID
Column name M_PromotionDistribution_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_Promotion_ID
static final String COLUMNNAME_M_Promotion_ID
Column name M_Promotion_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_PromotionReward_ID
static final String COLUMNNAME_M_PromotionReward_ID
Column name M_PromotionReward_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_PromotionReward_UU
static final String COLUMNNAME_M_PromotionReward_UU
Column name M_PromotionReward_UU- See Also:
- Constant Field Values
-
COLUMNNAME_M_TargetDistribution_ID
static final String COLUMNNAME_M_TargetDistribution_ID
Column name M_TargetDistribution_ID- See Also:
- Constant Field Values
-
COLUMNNAME_Qty
static final String COLUMNNAME_Qty
Column name Qty- See Also:
- Constant Field Values
-
COLUMNNAME_RewardType
static final String COLUMNNAME_RewardType
Column name RewardType- See Also:
- Constant Field Values
-
COLUMNNAME_SeqNo
static final String COLUMNNAME_SeqNo
Column name SeqNo- See Also:
- Constant Field Values
-
COLUMNNAME_Updated
static final String COLUMNNAME_Updated
Column name Updated- See Also:
- Constant Field Values
-
COLUMNNAME_UpdatedBy
static final String COLUMNNAME_UpdatedBy
Column name UpdatedBy- See Also:
- Constant Field Values
-
-
Method Detail
-
getAD_Client_ID
int getAD_Client_ID()
Get Client. Client/Tenant for this installation.
-
setAD_Org_ID
void setAD_Org_ID(int AD_Org_ID)
Set Organization. Organizational entity within client
-
getAD_Org_ID
int getAD_Org_ID()
Get Organization. Organizational entity within client
-
setAmount
void setAmount(BigDecimal Amount)
Set Amount. Amount in a defined currency
-
getAmount
BigDecimal getAmount()
Get Amount. Amount in a defined currency
-
setC_Charge_ID
void setC_Charge_ID(int C_Charge_ID)
Set Charge. Additional document charges
-
getC_Charge_ID
int getC_Charge_ID()
Get Charge. Additional document charges
-
getC_Charge
I_C_Charge getC_Charge() throws RuntimeException
- Throws:
RuntimeException
-
getCreated
Timestamp getCreated()
Get Created. Date this record was created
-
getCreatedBy
int getCreatedBy()
Get Created By. User who created this records
-
setDistributionSorting
void setDistributionSorting(String DistributionSorting)
Set Distribution Sorting. Quantity distribution sorting by unit price
-
getDistributionSorting
String getDistributionSorting()
Get Distribution Sorting. Quantity distribution sorting by unit price
-
setIsActive
void setIsActive(boolean IsActive)
Set Active. The record is active in the system
-
isActive
boolean isActive()
Get Active. The record is active in the system
-
setIsForAllDistribution
void setIsForAllDistribution(boolean IsForAllDistribution)
Set For all distribution. This reward is for all distribution
-
isForAllDistribution
boolean isForAllDistribution()
Get For all distribution. This reward is for all distribution
-
setIsSameDistribution
void setIsSameDistribution(boolean IsSameDistribution)
Set Same distribution for source and target. Use the same distribution for source and target
-
isSameDistribution
boolean isSameDistribution()
Get Same distribution for source and target. Use the same distribution for source and target
-
setM_PromotionDistribution_ID
void setM_PromotionDistribution_ID(int M_PromotionDistribution_ID)
Set Promotion Distribution
-
getM_PromotionDistribution_ID
int getM_PromotionDistribution_ID()
Get Promotion Distribution
-
getM_PromotionDistribution
I_M_PromotionDistribution getM_PromotionDistribution() throws RuntimeException
- Throws:
RuntimeException
-
setM_Promotion_ID
void setM_Promotion_ID(int M_Promotion_ID)
Set Promotion
-
getM_Promotion_ID
int getM_Promotion_ID()
Get Promotion
-
getM_Promotion
I_M_Promotion getM_Promotion() throws RuntimeException
- Throws:
RuntimeException
-
setM_PromotionReward_ID
void setM_PromotionReward_ID(int M_PromotionReward_ID)
Set Promotion Reward
-
getM_PromotionReward_ID
int getM_PromotionReward_ID()
Get Promotion Reward
-
setM_PromotionReward_UU
void setM_PromotionReward_UU(String M_PromotionReward_UU)
Set M_PromotionReward_UU
-
getM_PromotionReward_UU
String getM_PromotionReward_UU()
Get M_PromotionReward_UU
-
setM_TargetDistribution_ID
void setM_TargetDistribution_ID(int M_TargetDistribution_ID)
Set Target distribution. Get product from target distribution to apply the promotion reward
-
getM_TargetDistribution_ID
int getM_TargetDistribution_ID()
Get Target distribution. Get product from target distribution to apply the promotion reward
-
getM_TargetDistribution
I_M_PromotionDistribution getM_TargetDistribution() throws RuntimeException
- Throws:
RuntimeException
-
setQty
void setQty(BigDecimal Qty)
Set Quantity. Quantity
-
getQty
BigDecimal getQty()
Get Quantity. Quantity
-
setRewardType
void setRewardType(String RewardType)
Set Reward Type. Type of reward which consists of percentage discount, flat discount or absolute amount
-
getRewardType
String getRewardType()
Get Reward Type. Type of reward which consists of percentage discount, flat discount or absolute amount
-
setSeqNo
void setSeqNo(int SeqNo)
Set Sequence. Method of ordering records; lowest number comes first
-
getSeqNo
int getSeqNo()
Get Sequence. Method of ordering records; lowest number comes first
-
getUpdated
Timestamp getUpdated()
Get Updated. Date this record was updated
-
getUpdatedBy
int getUpdatedBy()
Get Updated By. User who updated this records
-
-