Package org.compiere.model
Interface I_M_PromotionReward
- All Known Implementing Classes:
MPromotionReward
,X_M_PromotionReward
public interface I_M_PromotionReward
Generated Interface for M_PromotionReward
- Version:
- Release 11
- Author:
- iDempiere (generated)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BigDecimal
AccessLevel = 3 - Client - Orgstatic final String
Column name AD_Client_IDstatic final String
Column name AD_Org_IDstatic final String
Column name Amountstatic final String
Column name C_Charge_IDstatic final String
Column name Createdstatic final String
Column name CreatedBystatic final String
Column name DistributionSortingstatic final String
Column name IsActivestatic final String
Column name IsForAllDistributionstatic final String
Column name IsSameDistributionstatic final String
Column name M_Promotion_IDstatic final String
Column name M_PromotionDistribution_IDstatic final String
Column name M_PromotionReward_IDstatic final String
Column name M_PromotionReward_UUstatic final String
Column name M_TargetDistribution_IDstatic final String
Column name Qtystatic final String
Column name RewardTypestatic final String
Column name SeqNostatic final String
Column name Updatedstatic final String
Column name UpdatedBystatic final KeyNamePair
static final int
AD_Table_ID=53182static final String
TableName=M_PromotionReward -
Method Summary
Modifier and TypeMethodDescriptionint
Get Tenant.int
Get Organization.Get Amount.int
Get Charge.Get Created.int
Get Created By.Get Distribution Sorting.int
Get Promotionint
Get Promotion Distributionint
Get Promotion RewardGet M_PromotionReward_UUint
Get Target distribution.getQty()
Get Quantity.Get Reward Type.int
getSeqNo()
Get Sequence.Get Updated.int
Get Updated By.boolean
isActive()
Get Active.boolean
Get For all distribution.boolean
Get Same distribution for source and target.void
setAD_Org_ID
(int AD_Org_ID) Set Organization.void
setAmount
(BigDecimal Amount) Set Amount.void
setC_Charge_ID
(int C_Charge_ID) Set Charge.void
setDistributionSorting
(String DistributionSorting) Set Distribution Sorting.void
setIsActive
(boolean IsActive) Set Active.void
setIsForAllDistribution
(boolean IsForAllDistribution) Set For all distribution.void
setIsSameDistribution
(boolean IsSameDistribution) Set Same distribution for source and target.void
setM_Promotion_ID
(int M_Promotion_ID) Set Promotionvoid
setM_PromotionDistribution_ID
(int M_PromotionDistribution_ID) Set Promotion Distributionvoid
setM_PromotionReward_ID
(int M_PromotionReward_ID) Set Promotion Rewardvoid
setM_PromotionReward_UU
(String M_PromotionReward_UU) Set M_PromotionReward_UUvoid
setM_TargetDistribution_ID
(int M_TargetDistribution_ID) Set Target distribution.void
setQty
(BigDecimal Qty) Set Quantity.void
setRewardType
(String RewardType) Set Reward Type.void
setSeqNo
(int SeqNo) Set Sequence.
-
Field Details
-
Table_Name
TableName=M_PromotionReward- See Also:
-
Table_ID
static final int Table_IDAD_Table_ID=53182- See Also:
-
Model
-
accessLevel
AccessLevel = 3 - Client - Org -
COLUMNNAME_AD_Client_ID
Column name AD_Client_ID- See Also:
-
COLUMNNAME_AD_Org_ID
Column name AD_Org_ID- See Also:
-
COLUMNNAME_Amount
Column name Amount- See Also:
-
COLUMNNAME_C_Charge_ID
Column name C_Charge_ID- See Also:
-
COLUMNNAME_Created
Column name Created- See Also:
-
COLUMNNAME_CreatedBy
Column name CreatedBy- See Also:
-
COLUMNNAME_DistributionSorting
Column name DistributionSorting- See Also:
-
COLUMNNAME_IsActive
Column name IsActive- See Also:
-
COLUMNNAME_IsForAllDistribution
Column name IsForAllDistribution- See Also:
-
COLUMNNAME_IsSameDistribution
Column name IsSameDistribution- See Also:
-
COLUMNNAME_M_PromotionDistribution_ID
Column name M_PromotionDistribution_ID- See Also:
-
COLUMNNAME_M_Promotion_ID
Column name M_Promotion_ID- See Also:
-
COLUMNNAME_M_PromotionReward_ID
Column name M_PromotionReward_ID- See Also:
-
COLUMNNAME_M_PromotionReward_UU
Column name M_PromotionReward_UU- See Also:
-
COLUMNNAME_M_TargetDistribution_ID
Column name M_TargetDistribution_ID- See Also:
-
COLUMNNAME_Qty
Column name Qty- See Also:
-
COLUMNNAME_RewardType
Column name RewardType- See Also:
-
COLUMNNAME_SeqNo
Column name SeqNo- See Also:
-
COLUMNNAME_Updated
Column name Updated- See Also:
-
COLUMNNAME_UpdatedBy
Column name UpdatedBy- See Also:
-
-
Method Details
-
getAD_Client_ID
int getAD_Client_ID()Get Tenant. Tenant for this installation. -
setAD_Org_ID
void setAD_Org_ID(int AD_Org_ID) Set Organization. Organizational entity within tenant -
getAD_Org_ID
int getAD_Org_ID()Get Organization. Organizational entity within tenant -
setAmount
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
- Throws:
RuntimeException
-
getCreated
Timestamp getCreated()Get Created. Date this record was created -
getCreatedBy
int getCreatedBy()Get Created By. User who created this records -
setDistributionSorting
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
- 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
- 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
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
- Throws:
RuntimeException
-
setQty
Set Quantity. Quantity -
getQty
BigDecimal getQty()Get Quantity. Quantity -
setRewardType
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
-