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 9
- Author:
- iDempiere (generated)
-
-
Field Summary
Fields Modifier and Type Field Description static BigDecimal
accessLevel
AccessLevel = 3 - Client - Orgstatic String
COLUMNNAME_AD_Client_ID
Column name AD_Client_IDstatic String
COLUMNNAME_AD_Org_ID
Column name AD_Org_IDstatic String
COLUMNNAME_Amount
Column name Amountstatic String
COLUMNNAME_C_Charge_ID
Column name C_Charge_IDstatic String
COLUMNNAME_Created
Column name Createdstatic String
COLUMNNAME_CreatedBy
Column name CreatedBystatic String
COLUMNNAME_DistributionSorting
Column name DistributionSortingstatic String
COLUMNNAME_IsActive
Column name IsActivestatic String
COLUMNNAME_IsForAllDistribution
Column name IsForAllDistributionstatic String
COLUMNNAME_IsSameDistribution
Column name IsSameDistributionstatic String
COLUMNNAME_M_Promotion_ID
Column name M_Promotion_IDstatic String
COLUMNNAME_M_PromotionDistribution_ID
Column name M_PromotionDistribution_IDstatic String
COLUMNNAME_M_PromotionReward_ID
Column name M_PromotionReward_IDstatic String
COLUMNNAME_M_PromotionReward_UU
Column name M_PromotionReward_UUstatic String
COLUMNNAME_M_TargetDistribution_ID
Column name M_TargetDistribution_IDstatic String
COLUMNNAME_Qty
Column name Qtystatic String
COLUMNNAME_RewardType
Column name RewardTypestatic String
COLUMNNAME_SeqNo
Column name SeqNostatic String
COLUMNNAME_Updated
Column name Updatedstatic String
COLUMNNAME_UpdatedBy
Column name UpdatedBystatic KeyNamePair
Model
static int
Table_ID
AD_Table_ID=53182static String
Table_Name
TableName=M_PromotionReward
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAD_Client_ID()
Get Client.int
getAD_Org_ID()
Get Organization.BigDecimal
getAmount()
Get Amount.I_C_Charge
getC_Charge()
int
getC_Charge_ID()
Get Charge.Timestamp
getCreated()
Get Created.int
getCreatedBy()
Get Created By.String
getDistributionSorting()
Get Distribution Sorting.I_M_Promotion
getM_Promotion()
int
getM_Promotion_ID()
Get PromotionI_M_PromotionDistribution
getM_PromotionDistribution()
int
getM_PromotionDistribution_ID()
Get Promotion Distributionint
getM_PromotionReward_ID()
Get Promotion RewardString
getM_PromotionReward_UU()
Get M_PromotionReward_UUI_M_PromotionDistribution
getM_TargetDistribution()
int
getM_TargetDistribution_ID()
Get Target distribution.BigDecimal
getQty()
Get Quantity.String
getRewardType()
Get Reward Type.int
getSeqNo()
Get Sequence.Timestamp
getUpdated()
Get Updated.int
getUpdatedBy()
Get Updated By.boolean
isActive()
Get Active.boolean
isForAllDistribution()
Get For all distribution.boolean
isSameDistribution()
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 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
-
-