public class PromotionProduct extends java.lang.Object implements PromotionProductIf
| Constructor and Description |
|---|
PromotionProduct()
Constructor
|
PromotionProduct(int productId,
int optionId,
int optionValueId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Compare(PromotionProductIf promProd) |
int |
getOptionId() |
int |
getOptionValueId() |
int |
getProductId() |
void |
setOptionId(int optionId) |
void |
setOptionValueId(int optionValueId) |
void |
setProductId(int productId) |
public PromotionProduct()
public PromotionProduct(int productId,
int optionId,
int optionValueId)
productId - the productIdoptionId - the optionIdoptionValueId - the optionValueIdpublic boolean Compare(PromotionProductIf promProd)
promProd - the promProdpublic int getOptionId()
getOptionId in interface PromotionProductIfpublic void setOptionId(int optionId)
setOptionId in interface PromotionProductIfoptionId - The optionId to set.public int getOptionValueId()
getOptionValueId in interface PromotionProductIfpublic void setOptionValueId(int optionValueId)
setOptionValueId in interface PromotionProductIfoptionValueId - The optionValueId to set.public int getProductId()
getProductId in interface PromotionProductIfpublic void setProductId(int productId)
setProductId in interface PromotionProductIfproductId - The productId to set.Copyright © 2018 DS Data Systems UK Ltd.