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
FieldsModifier and TypeFieldDescriptionstatic final BigDecimalAccessLevel = 3 - Client - Orgstatic final StringColumn name AD_Client_IDstatic final StringColumn name AD_Org_IDstatic final StringColumn name Amountstatic final StringColumn name C_Charge_IDstatic final StringColumn name Createdstatic final StringColumn name CreatedBystatic final StringColumn name DistributionSortingstatic final StringColumn name IsActivestatic final StringColumn name IsForAllDistributionstatic final StringColumn name IsSameDistributionstatic final StringColumn name M_Promotion_IDstatic final StringColumn name M_PromotionDistribution_IDstatic final StringColumn name M_PromotionReward_IDstatic final StringColumn name M_PromotionReward_UUstatic final StringColumn name M_TargetDistribution_IDstatic final StringColumn name Qtystatic final StringColumn name RewardTypestatic final StringColumn name SeqNostatic final StringColumn name Updatedstatic final StringColumn name UpdatedBystatic final KeyNamePairstatic final intAD_Table_ID=53182static final StringTableName=M_PromotionReward -
Method Summary
Modifier and TypeMethodDescriptionintGet Tenant.intGet Organization.Get Amount.intGet Charge.Get Created.intGet Created By.Get Distribution Sorting.intGet PromotionintGet Promotion DistributionintGet Promotion RewardGet M_PromotionReward_UUintGet Target distribution.getQty()Get Quantity.Get Reward Type.intgetSeqNo()Get Sequence.Get Updated.intGet Updated By.booleanisActive()Get Active.booleanGet For all distribution.booleanGet 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 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
-