com.retek.component.promotion.test
Class PromotionObjectMaster

java.lang.Object
  extended bycom.retek.component.promotion.test.PromotionObjectMaster

public class PromotionObjectMaster
extends java.lang.Object


Constructor Summary
PromotionObjectMaster()
           
 
Method Summary
static PromotionBenefit attachBenefit(DistributedContext context, Promotion promo, Money currencyOff)
           
static PromotionBenefit attachBenefit(DistributedContext context, Promotion promo, Percent percentOff)
           
static GiftCertificateBenefit attachGiftCertificateBenefit(DistributedContext context, Promotion promotion, Money giftCertificateAmount, Money dollarOff)
           
static GiftCertificateBenefit attachGiftCertificateBenefit(DistributedContext context, Promotion promotion, Money giftCertificateAmount, Percent percentOff)
           
static ItemBenefit attachItemBenefit(DistributedContext context, Promotion promotion, ReceivableItem receiveItem, Money dollarOff)
           
static ItemBenefit attachItemBenefit(DistributedContext context, Promotion promotion, ReceivableItem receiveItem, Percent percentOff)
           
static java.util.Set attachItemBenefit(Promotion promotion, java.util.Set itemBenefits)
           
static java.util.Set attachItemBenefits(DistributedContext context, Promotion promotion, java.util.Set receiveItems, Percent percentOff)
           
static ItemCurrencyAmountThreshold attachItemCurrencyAmountThreshold(DistributedContext context, Promotion promotion, ThresholdableItem thresholdableItem)
           
static ItemCurrencyAmountThreshold attachItemCurrencyAmountThreshold(DistributedContext context, Promotion promotion, ThresholdableItem thresholdableItem, Money thresholdAmt)
           
static ItemQuantityThreshold attachItemCurrencyAmountThreshold(DistributedContext context, Promotion promotion, ThresholdableItem thresholdableItem, Quantity thresholdQty)
           
static ItemQuantityThreshold attachItemQuantityThreshold(DistributedContext context, Promotion promotion, ThresholdableItem thresholdableItem)
           
static ItemQuantityThreshold attachItemQuantityThreshold(DistributedContext context, Promotion promotion, ThresholdableItem thresholdableItem, Quantity quantity)
           
static LineMerchAmountBenefit attachLineMerchAmountBenefit(DistributedContext context, Promotion promotion, Money dollarOff)
           
static LineMerchAmountBenefit attachLineMerchAmountBenefit(DistributedContext context, Promotion promotion, Percent percentOff)
           
static OrderCurrencyAmountThreshold attachOrderCurrencyAmountThreshold(DistributedContext context, Promotion promotion, Money amount)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Money dollarOff)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Money thresholdAmt, Money dollarOff)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Money thresholdAmt, Percent percentOff)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Percent percentOff)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Quantity thresholdQty, Money dollarOff)
           
static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context, Promotion promotion, Quantity thresholdQty, Percent percentOff)
           
static OrderQuantityThreshold attachOrderQuantityThreshold(DistributedContext context, Promotion promotion)
           
static OrderQuantityThreshold attachOrderQuantityThreshold(DistributedContext context, Promotion promotion, Quantity quantity)
           
static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context, Promotion promotion, Money dollarOff)
           
static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context, Promotion promotion, Money dollarOff, PromotionDetailServiceType type)
           
static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context, Promotion promotion, Percent percentOff)
           
static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context, Promotion promotion, Percent percentOff, PromotionDetailServiceType type)
           
static void attachSellingListItemBenefits(Promotion promotion, java.util.Set sellingListItemBenefits)
           
static Promotion createActivePromotionWithAltSellingList(DistributedContext context)
           
static Promotion createActivePromotionWithDollarOffBenefit(DistributedContext context)
           
static Promotion createActivePromotionWithDollarOffBenefit(DistributedContext context, Money amount)
           
static Promotion createActivePromotionWithDollarOffLineMerchAmountBenefit(DistributedContext context, Money amount)
           
static Promotion createActivePromotionWithDollarOffOrderMerchAmountBenefit(DistributedContext context, Money amount)
           
static Promotion createActivePromotionWithDollarOffOrderMerchAmountBenefit(DistributedContext context, Percent percentOff)
           
static Promotion createActivePromotionWithDollarOffOrderServiceAmountBenefit(DistributedContext context, Money amount, PromotionDetailServiceType serviceType)
           
static Promotion createActivePromotionWithItemThresholdAndDollarOffItemBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, ReceivableItem receivableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndDollarOffItemBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, ReceivableItem receivableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Money dollarOff, ThresholdableItem thresholdableItem, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Percent giftCertificatePercentOff, ThresholdableItem thresholdableItem, Money thresholdAmt, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Percent giftCertificatePercentOff, ThresholdableItem thresholdableItem, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Percent percentOff)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Money dollarOff)
           
static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, Percent percentOff)
           
static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Money dollarOff)
           
static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, Percent percentOff)
           
static Promotion createActivePromotionWithItemThresholdAndPercentOffItemBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ThresholdableItem thresholdableItem, ReceivableItem receivableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithItemThresholdAndPercentOffItemBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ThresholdableItem thresholdableItem, ReceivableItem receivableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOfferCodeTriggerAndDollarOffBenefit(DistributedContext context, Money dollarOff, OfferCode offerCode, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOfferCodeTriggerAndPercentOffBenefit(DistributedContext context, Percent percentOff, OfferCode offerCode, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Money thresholdAmt)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Money dollarOff, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Percent giftCertificatePercentOff, Money thresholdAmt, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Percent giftCertificatePercentOff, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefitWithoutSubmit(DistributedContext context, SourceCode sourceCode, Money giftCertificateAmount, Quantity thresholdQty, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ReceivableItem receivableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, ReceivableItem receivableItem, Percent percentOff)
           
static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ReceivableItem receivableItem, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, ReceivableItem receivableItem, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndItemBenefits(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, java.util.Set itemBenefits, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Money dollarOff)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Money thresholdAmt, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Percent percentOff)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context, SourceCode sourceCode, Quantity thresholdQty, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createActivePromotionWithOrderThresholdAndPlanCodeBenefit(DistributedContext context, Quantity thresholdQty, TenderType tenderType, PaymentPlanCode paymentPlanCode)
           
static Promotion createActivePromotionWithPercentOffBenefit(DistributedContext context, Percent percentOff)
           
static Promotion createActivePromotionWithPercentOffLineMerchAmountBenefit(DistributedContext context, Percent percentOff)
           
static Promotion createActivePromotionWithPercentOffOrderServiceAmountBenefit(DistributedContext context, Percent percentOff, PromotionDetailServiceType serviceType)
           
static Promotion createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit(DistributedContext context, TenderType[] tenderTypes, Banner banner, ChannelType channelType, Quantity thresholdQty, ThresholdableItem thresholdableItem, Percent percentOff)
           
static Promotion createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit(DistributedContext context, TenderType tenderType, Banner banner, ChannelType channelType, Quantity thresholdQty, ThresholdableItem thresholdableItem, Percent percentOff)
           
static Promotion createActiveTenderTypePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context, Money giftCertificateAmount, Money thresholdAmt, TenderType[] tenderTypes, Banner banner, ChannelType channelType)
           
static Promotion createActiveUnsubmittedPromotion(DistributedContext context)
           
static Promotion createClosedPromotionWithDollarOffBenefit(DistributedContext context)
           
static Promotion createClosedUnsubmittedPromotion(DistributedContext context)
           
static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff)
           
static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveGiftCardServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveGiftCardServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveGiftWrappingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff)
           
static Promotion createGeneralActiveGiftWrappingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff)
           
static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveOrderLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveOrderLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActivePersonalizationServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActivePersonalizationServiceLevelPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context, SourceCode sourceCode, Money dollarOff, PromotionDetailServiceType type)
           
static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context, SourceCode sourceCode, Money dollarOff, PromotionDetailServiceType type, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context, SourceCode sourceCode, Percent percentOff, PromotionDetailServiceType type)
           
static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context, SourceCode sourceCode, Percent percentOff, PromotionDetailServiceType type, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveStdShippingPromotion(DistributedContext context, SourceCode sourceCode, Money dollarOff, Banner banner, ChannelType channelType)
           
static Promotion createGeneralActiveStdShippingPromotion(DistributedContext context, SourceCode sourceCode, Percent percentOff, Banner banner, ChannelType channelType)
           
static Promotion createOrderPromotionInstance(DistributedContext context)
           
static SellingListItemBenefit createSellingListItemBenefit(DistributedContext context, SellingListItem sellingListItem, Money dollarOff)
           
static SellingListItemBenefit createSellingListItemBenefit(DistributedContext context, SellingListItem sellingListItem, Percent percentOff)
           
static SellingListItemBenefit createSellingListItemBenefitForAmount(DistributedContext context, SellingListItem sellingListItem, Money amount)
           
static Promotion createUnsubmittedServicePromotionInActiveStatus(DistributedContext context)
           
static Promotion createUnsubmittedServicePromotionInActiveStatus(DistributedContext context, SourceCode sourceCode)
           
static Promotion createUnsubmittedWorksheetPromotion(DistributedContext context)
           
static Promotion createWorksheetPromotionWithDollarOffBenefit(DistributedContext context)
           
static SourceCode getPersistedSourceCode(DistributedContext context)
           
static void resetAllDaos()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionObjectMaster

public PromotionObjectMaster()
Method Detail

resetAllDaos

public static void resetAllDaos()
                         throws java.lang.Exception
Throws:
java.lang.Exception

attachBenefit

public static PromotionBenefit attachBenefit(DistributedContext context,
                                             Promotion promo,
                                             Money currencyOff)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

attachBenefit

public static PromotionBenefit attachBenefit(DistributedContext context,
                                             Promotion promo,
                                             Percent percentOff)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftCertificateBenefit

public static GiftCertificateBenefit attachGiftCertificateBenefit(DistributedContext context,
                                                                  Promotion promotion,
                                                                  Money giftCertificateAmount,
                                                                  Percent percentOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftCertificateBenefit

public static GiftCertificateBenefit attachGiftCertificateBenefit(DistributedContext context,
                                                                  Promotion promotion,
                                                                  Money giftCertificateAmount,
                                                                  Money dollarOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachItemBenefit

public static ItemBenefit attachItemBenefit(DistributedContext context,
                                            Promotion promotion,
                                            ReceivableItem receiveItem,
                                            Percent percentOff)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachItemBenefit

public static ItemBenefit attachItemBenefit(DistributedContext context,
                                            Promotion promotion,
                                            ReceivableItem receiveItem,
                                            Money dollarOff)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachItemBenefits

public static java.util.Set attachItemBenefits(DistributedContext context,
                                               Promotion promotion,
                                               java.util.Set receiveItems,
                                               Percent percentOff)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

attachSellingListItemBenefits

public static void attachSellingListItemBenefits(Promotion promotion,
                                                 java.util.Set sellingListItemBenefits)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

attachLineMerchAmountBenefit

public static LineMerchAmountBenefit attachLineMerchAmountBenefit(DistributedContext context,
                                                                  Promotion promotion,
                                                                  Money dollarOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachLineMerchAmountBenefit

public static LineMerchAmountBenefit attachLineMerchAmountBenefit(DistributedContext context,
                                                                  Promotion promotion,
                                                                  Percent percentOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Money dollarOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Money thresholdAmt,
                                                                    Money dollarOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Money thresholdAmt,
                                                                    Percent percentOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Quantity thresholdQty,
                                                                    Money dollarOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Quantity thresholdQty,
                                                                    Percent percentOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderMerchAmountBenefit

public static OrderMerchAmountBenefit attachOrderMerchAmountBenefit(DistributedContext context,
                                                                    Promotion promotion,
                                                                    Percent percentOff)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderServiceAmountBenefit

public static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context,
                                                                        Promotion promotion,
                                                                        Percent percentOff)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderServiceAmountBenefit

public static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context,
                                                                        Promotion promotion,
                                                                        Money dollarOff)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderServiceAmountBenefit

public static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context,
                                                                        Promotion promotion,
                                                                        Percent percentOff,
                                                                        PromotionDetailServiceType type)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderServiceAmountBenefit

public static OrderServiceAmountBenefit attachOrderServiceAmountBenefit(DistributedContext context,
                                                                        Promotion promotion,
                                                                        Money dollarOff,
                                                                        PromotionDetailServiceType type)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachItemCurrencyAmountThreshold

public static ItemCurrencyAmountThreshold attachItemCurrencyAmountThreshold(DistributedContext context,
                                                                            Promotion promotion,
                                                                            ThresholdableItem thresholdableItem)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachItemCurrencyAmountThreshold

public static ItemCurrencyAmountThreshold attachItemCurrencyAmountThreshold(DistributedContext context,
                                                                            Promotion promotion,
                                                                            ThresholdableItem thresholdableItem,
                                                                            Money thresholdAmt)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachItemCurrencyAmountThreshold

public static ItemQuantityThreshold attachItemCurrencyAmountThreshold(DistributedContext context,
                                                                      Promotion promotion,
                                                                      ThresholdableItem thresholdableItem,
                                                                      Quantity thresholdQty)
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

attachItemQuantityThreshold

public static ItemQuantityThreshold attachItemQuantityThreshold(DistributedContext context,
                                                                Promotion promotion,
                                                                ThresholdableItem thresholdableItem)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachItemQuantityThreshold

public static ItemQuantityThreshold attachItemQuantityThreshold(DistributedContext context,
                                                                Promotion promotion,
                                                                ThresholdableItem thresholdableItem,
                                                                Quantity quantity)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderCurrencyAmountThreshold

public static OrderCurrencyAmountThreshold attachOrderCurrencyAmountThreshold(DistributedContext context,
                                                                              Promotion promotion,
                                                                              Money amount)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderQuantityThreshold

public static OrderQuantityThreshold attachOrderQuantityThreshold(DistributedContext context,
                                                                  Promotion promotion)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderQuantityThreshold

public static OrderQuantityThreshold attachOrderQuantityThreshold(DistributedContext context,
                                                                  Promotion promotion,
                                                                  Quantity quantity)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createSellingListItemBenefit

public static SellingListItemBenefit createSellingListItemBenefit(DistributedContext context,
                                                                  SellingListItem sellingListItem,
                                                                  Percent percentOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createSellingListItemBenefit

public static SellingListItemBenefit createSellingListItemBenefit(DistributedContext context,
                                                                  SellingListItem sellingListItem,
                                                                  Money dollarOff)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createSellingListItemBenefitForAmount

public static SellingListItemBenefit createSellingListItemBenefitForAmount(DistributedContext context,
                                                                           SellingListItem sellingListItem,
                                                                           Money amount)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

createOrderPromotionInstance

public static Promotion createOrderPromotionInstance(DistributedContext context)
                                              throws SystemException
Throws:
SystemException

createUnsubmittedWorksheetPromotion

public static Promotion createUnsubmittedWorksheetPromotion(DistributedContext context)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createActiveUnsubmittedPromotion

public static Promotion createActiveUnsubmittedPromotion(DistributedContext context)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createClosedUnsubmittedPromotion

public static Promotion createClosedUnsubmittedPromotion(DistributedContext context)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveOrderLevelPromotion

public static Promotion createGeneralActiveOrderLevelPromotion(DistributedContext context,
                                                               SourceCode sourceCode,
                                                               Money dollarOff,
                                                               Banner banner,
                                                               ChannelType channelType)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveOrderLevelPromotion

public static Promotion createGeneralActiveOrderLevelPromotion(DistributedContext context,
                                                               SourceCode sourceCode,
                                                               Percent percentOff,
                                                               Banner banner,
                                                               ChannelType channelType)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePromotionWithDetailServiceType

public static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context,
                                                                          SourceCode sourceCode,
                                                                          Percent percentOff,
                                                                          PromotionDetailServiceType type,
                                                                          Banner banner,
                                                                          ChannelType channelType)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePromotionWithDetailServiceType

public static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context,
                                                                          SourceCode sourceCode,
                                                                          Percent percentOff,
                                                                          PromotionDetailServiceType type)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePromotionWithDetailServiceType

public static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context,
                                                                          SourceCode sourceCode,
                                                                          Money dollarOff,
                                                                          PromotionDetailServiceType type)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePromotionWithDetailServiceType

public static Promotion createGeneralActivePromotionWithDetailServiceType(DistributedContext context,
                                                                          SourceCode sourceCode,
                                                                          Money dollarOff,
                                                                          PromotionDetailServiceType type,
                                                                          Banner banner,
                                                                          ChannelType channelType)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createUnsubmittedServicePromotionInActiveStatus

public static Promotion createUnsubmittedServicePromotionInActiveStatus(DistributedContext context)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createUnsubmittedServicePromotionInActiveStatus

public static Promotion createUnsubmittedServicePromotionInActiveStatus(DistributedContext context,
                                                                        SourceCode sourceCode)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveAdditonalShippingServiceLevelPromotion

public static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Percent percentOff,
                                                                                  Banner banner,
                                                                                  ChannelType channelType)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveAdditonalShippingServiceLevelPromotion

public static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Money dollarOff)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveAdditonalShippingServiceLevelPromotion

public static Promotion createGeneralActiveAdditonalShippingServiceLevelPromotion(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Money dollarOff,
                                                                                  Banner banner,
                                                                                  ChannelType channelType)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveGiftCardServiceLevelPromotion

public static Promotion createGeneralActiveGiftCardServiceLevelPromotion(DistributedContext context,
                                                                         SourceCode sourceCode,
                                                                         Money dollarOff,
                                                                         Banner banner,
                                                                         ChannelType channelType)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveGiftCardServiceLevelPromotion

public static Promotion createGeneralActiveGiftCardServiceLevelPromotion(DistributedContext context,
                                                                         SourceCode sourceCode,
                                                                         Percent percentOff,
                                                                         Banner banner,
                                                                         ChannelType channelType)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveGiftWrappingServiceLevelPromotion

public static Promotion createGeneralActiveGiftWrappingServiceLevelPromotion(DistributedContext context,
                                                                             SourceCode sourceCode,
                                                                             Money dollarOff)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveGiftWrappingServiceLevelPromotion

public static Promotion createGeneralActiveGiftWrappingServiceLevelPromotion(DistributedContext context,
                                                                             SourceCode sourceCode,
                                                                             Percent percentOff,
                                                                             Banner banner,
                                                                             ChannelType channelType)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveMonogrammingServiceLevelPromotion

public static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context,
                                                                             SourceCode sourceCode,
                                                                             Percent percentOff,
                                                                             Banner banner,
                                                                             ChannelType channelType)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveMonogrammingServiceLevelPromotion

public static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context,
                                                                             SourceCode sourceCode,
                                                                             Money dollarOff,
                                                                             Banner banner,
                                                                             ChannelType channelType)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveMonogrammingServiceLevelPromotion

public static Promotion createGeneralActiveMonogrammingServiceLevelPromotion(DistributedContext context,
                                                                             SourceCode sourceCode,
                                                                             Percent percentOff)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePersonalizationServiceLevelPromotion

public static Promotion createGeneralActivePersonalizationServiceLevelPromotion(DistributedContext context,
                                                                                SourceCode sourceCode,
                                                                                Money dollarOff,
                                                                                Banner banner,
                                                                                ChannelType channelType)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActivePersonalizationServiceLevelPromotion

public static Promotion createGeneralActivePersonalizationServiceLevelPromotion(DistributedContext context,
                                                                                SourceCode sourceCode,
                                                                                Percent percentOff,
                                                                                Banner banner,
                                                                                ChannelType channelType)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveStdShippingPromotion

public static Promotion createGeneralActiveStdShippingPromotion(DistributedContext context,
                                                                SourceCode sourceCode,
                                                                Percent percentOff,
                                                                Banner banner,
                                                                ChannelType channelType)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createGeneralActiveStdShippingPromotion

public static Promotion createGeneralActiveStdShippingPromotion(DistributedContext context,
                                                                SourceCode sourceCode,
                                                                Money dollarOff,
                                                                Banner banner,
                                                                ChannelType channelType)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffBenefit

public static Promotion createActivePromotionWithDollarOffBenefit(DistributedContext context)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithAltSellingList

public static Promotion createActivePromotionWithAltSellingList(DistributedContext context)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOfferCodeTriggerAndDollarOffBenefit

public static Promotion createActivePromotionWithOfferCodeTriggerAndDollarOffBenefit(DistributedContext context,
                                                                                     Money dollarOff,
                                                                                     OfferCode offerCode,
                                                                                     Banner banner,
                                                                                     ChannelType channelType)
                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOfferCodeTriggerAndPercentOffBenefit

public static Promotion createActivePromotionWithOfferCodeTriggerAndPercentOffBenefit(DistributedContext context,
                                                                                      Percent percentOff,
                                                                                      OfferCode offerCode,
                                                                                      Banner banner,
                                                                                      ChannelType channelType)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffBenefit

public static Promotion createActivePromotionWithDollarOffBenefit(DistributedContext context,
                                                                  Money amount)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createClosedPromotionWithDollarOffBenefit

public static Promotion createClosedPromotionWithDollarOffBenefit(DistributedContext context)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithPercentOffBenefit

public static Promotion createActivePromotionWithPercentOffBenefit(DistributedContext context,
                                                                   Percent percentOff)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffOrderMerchAmountBenefit

public static Promotion createActivePromotionWithDollarOffOrderMerchAmountBenefit(DistributedContext context,
                                                                                  Money amount)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffLineMerchAmountBenefit

public static Promotion createActivePromotionWithDollarOffLineMerchAmountBenefit(DistributedContext context,
                                                                                 Money amount)
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithPercentOffLineMerchAmountBenefit

public static Promotion createActivePromotionWithPercentOffLineMerchAmountBenefit(DistributedContext context,
                                                                                  Percent percentOff)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffOrderMerchAmountBenefit

public static Promotion createActivePromotionWithDollarOffOrderMerchAmountBenefit(DistributedContext context,
                                                                                  Percent percentOff)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithPercentOffOrderServiceAmountBenefit

public static Promotion createActivePromotionWithPercentOffOrderServiceAmountBenefit(DistributedContext context,
                                                                                     Percent percentOff,
                                                                                     PromotionDetailServiceType serviceType)
                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithDollarOffOrderServiceAmountBenefit

public static Promotion createActivePromotionWithDollarOffOrderServiceAmountBenefit(DistributedContext context,
                                                                                    Money amount,
                                                                                    PromotionDetailServiceType serviceType)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createWorksheetPromotionWithDollarOffBenefit

public static Promotion createWorksheetPromotionWithDollarOffBenefit(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndDollarOffItemBenefit

public static Promotion createActivePromotionWithItemThresholdAndDollarOffItemBenefit(DistributedContext context,
                                                                                      SourceCode sourceCode,
                                                                                      Money thresholdAmt,
                                                                                      ThresholdableItem thresholdableItem,
                                                                                      ReceivableItem receivableItem,
                                                                                      Money dollarOff,
                                                                                      Banner banner,
                                                                                      ChannelType channelType)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndPercentOffItemBenefit

public static Promotion createActivePromotionWithItemThresholdAndPercentOffItemBenefit(DistributedContext context,
                                                                                       SourceCode sourceCode,
                                                                                       Money thresholdAmt,
                                                                                       ThresholdableItem thresholdableItem,
                                                                                       ReceivableItem receivableItem,
                                                                                       Percent percentOff,
                                                                                       Banner banner,
                                                                                       ChannelType channelType)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndDollarOffItemBenefit

public static Promotion createActivePromotionWithItemThresholdAndDollarOffItemBenefit(DistributedContext context,
                                                                                      SourceCode sourceCode,
                                                                                      Quantity thresholdQty,
                                                                                      ThresholdableItem thresholdableItem,
                                                                                      ReceivableItem receivableItem,
                                                                                      Money dollarOff,
                                                                                      Banner banner,
                                                                                      ChannelType channelType)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndPercentOffItemBenefit

public static Promotion createActivePromotionWithItemThresholdAndPercentOffItemBenefit(DistributedContext context,
                                                                                       SourceCode sourceCode,
                                                                                       Quantity thresholdQty,
                                                                                       ThresholdableItem thresholdableItem,
                                                                                       ReceivableItem receivableItem,
                                                                                       Percent percentOff,
                                                                                       Banner banner,
                                                                                       ChannelType channelType)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Money thresholdAmt,
                                                                                  ThresholdableItem thresholdableItem,
                                                                                  Percent percentOff)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Money thresholdAmt,
                                                                                  ThresholdableItem thresholdableItem,
                                                                                  Money dollarOff,
                                                                                  Banner banner,
                                                                                  ChannelType channelType)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Quantity thresholdQty,
                                                                                  ThresholdableItem thresholdableItem,
                                                                                  Money dollarOff,
                                                                                  Banner banner,
                                                                                  ChannelType channelType)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchBenefit(DistributedContext context,
                                                                                  SourceCode sourceCode,
                                                                                  Quantity thresholdQty,
                                                                                  ThresholdableItem thresholdableItem,
                                                                                  Percent percentOff,
                                                                                  Banner banner,
                                                                                  ChannelType channelType)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                   SourceCode sourceCode,
                                                                                   Quantity thresholdQty,
                                                                                   ThresholdableItem thresholdableItem,
                                                                                   Money dollarOff)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                   SourceCode sourceCode,
                                                                                   Quantity thresholdQty,
                                                                                   ThresholdableItem thresholdableItem,
                                                                                   Percent percentOff)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                   SourceCode sourceCode,
                                                                                   Money thresholdAmt,
                                                                                   ThresholdableItem thresholdableItem,
                                                                                   Money dollarOff)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithItemThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                   SourceCode sourceCode,
                                                                                   Money thresholdAmt,
                                                                                   ThresholdableItem thresholdableItem,
                                                                                   Percent percentOff)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Money giftCertificateAmount,
                                                                                        Percent giftCertificatePercentOff,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Money thresholdAmt,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Money giftCertificateAmount,
                                                                                        Percent giftCertificatePercentOff,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Quantity thresholdQty,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithItemThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Money giftCertificateAmount,
                                                                                        Money dollarOff,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Quantity thresholdQty,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchAmountBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Money thresholdAmt,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Money dollarOff,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchAmountBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Money thresholdAmt,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Percent percentOff,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchAmountBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Quantity thresholdQty,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Money dollarOff,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndPlanCodeBenefit

public static Promotion createActivePromotionWithOrderThresholdAndPlanCodeBenefit(DistributedContext context,
                                                                                  Quantity thresholdQty,
                                                                                  TenderType tenderType,
                                                                                  PaymentPlanCode paymentPlanCode)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit

public static Promotion createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit(DistributedContext context,
                                                                                        TenderType tenderType,
                                                                                        Banner banner,
                                                                                        ChannelType channelType,
                                                                                        Quantity thresholdQty,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Percent percentOff)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit

public static Promotion createActiveTenderTypePromotionWithItemThresholdAndMerchBenefit(DistributedContext context,
                                                                                        TenderType[] tenderTypes,
                                                                                        Banner banner,
                                                                                        ChannelType channelType,
                                                                                        Quantity thresholdQty,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Percent percentOff)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActiveTenderTypePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActiveTenderTypePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                                   Money giftCertificateAmount,
                                                                                                   Money thresholdAmt,
                                                                                                   TenderType[] tenderTypes,
                                                                                                   Banner banner,
                                                                                                   ChannelType channelType)
                                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithItemThresholdAndLineMerchAmountBenefit

public static Promotion createActivePromotionWithItemThresholdAndLineMerchAmountBenefit(DistributedContext context,
                                                                                        SourceCode sourceCode,
                                                                                        Quantity thresholdQty,
                                                                                        ThresholdableItem thresholdableItem,
                                                                                        Percent percentOff,
                                                                                        Banner banner,
                                                                                        ChannelType channelType)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Money dollarOff)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                         SourceCode sourceCode,
                                                                                         Money giftCertificateAmount,
                                                                                         Money thresholdAmt)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                         SourceCode sourceCode,
                                                                                         Money giftCertificateAmount,
                                                                                         Quantity thresholdQty,
                                                                                         Banner banner,
                                                                                         ChannelType channelType)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefitWithoutSubmit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefitWithoutSubmit(DistributedContext context,
                                                                                                      SourceCode sourceCode,
                                                                                                      Money giftCertificateAmount,
                                                                                                      Quantity thresholdQty,
                                                                                                      Banner banner,
                                                                                                      ChannelType channelType)
                                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                         SourceCode sourceCode,
                                                                                         Money giftCertificateAmount,
                                                                                         Percent giftCertificatePercentOff,
                                                                                         Money thresholdAmt,
                                                                                         Banner banner,
                                                                                         ChannelType channelType)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                         SourceCode sourceCode,
                                                                                         Money giftCertificateAmount,
                                                                                         Percent giftCertificatePercentOff,
                                                                                         Quantity thresholdQty,
                                                                                         Banner banner,
                                                                                         ChannelType channelType)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndGiftCertificateBenefit

public static Promotion createActivePromotionWithOrderThresholdAndGiftCertificateBenefit(DistributedContext context,
                                                                                         SourceCode sourceCode,
                                                                                         Money giftCertificateAmount,
                                                                                         Money dollarOff,
                                                                                         Quantity thresholdQty,
                                                                                         Banner banner,
                                                                                         ChannelType channelType)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Money thresholdAmt,
                                                                                    Money dollarOff,
                                                                                    Banner banner,
                                                                                    ChannelType channelType)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Money thresholdAmt,
                                                                                    Percent percentOff,
                                                                                    Banner banner,
                                                                                    ChannelType channelType)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Quantity thresholdQty,
                                                                                    Money dollarOff,
                                                                                    Banner banner,
                                                                                    ChannelType channelType)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Quantity thresholdQty,
                                                                                    Percent percentOff,
                                                                                    Banner banner,
                                                                                    ChannelType channelType)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndOrderMerchBenefit

public static Promotion createActivePromotionWithOrderThresholdAndOrderMerchBenefit(DistributedContext context,
                                                                                    SourceCode sourceCode,
                                                                                    Percent percentOff)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndItemBenefit

public static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context,
                                                                              SourceCode sourceCode,
                                                                              Money thresholdAmt,
                                                                              ReceivableItem receivableItem,
                                                                              Money dollarOff,
                                                                              Banner banner,
                                                                              ChannelType channelType)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndItemBenefit

public static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context,
                                                                              SourceCode sourceCode,
                                                                              Money thresholdAmt,
                                                                              ReceivableItem receivableItem,
                                                                              Percent percentOff)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndItemBenefit

public static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context,
                                                                              SourceCode sourceCode,
                                                                              Quantity thresholdQty,
                                                                              ReceivableItem receivableItem,
                                                                              Money dollarOff,
                                                                              Banner banner,
                                                                              ChannelType channelType)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndItemBenefit

public static Promotion createActivePromotionWithOrderThresholdAndItemBenefit(DistributedContext context,
                                                                              SourceCode sourceCode,
                                                                              Quantity thresholdQty,
                                                                              ReceivableItem receivableItem,
                                                                              Percent percentOff,
                                                                              Banner banner,
                                                                              ChannelType channelType)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getPersistedSourceCode

public static SourceCode getPersistedSourceCode(DistributedContext context)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createActivePromotionWithOrderThresholdAndItemBenefits

public static Promotion createActivePromotionWithOrderThresholdAndItemBenefits(DistributedContext context,
                                                                               SourceCode sourceCode,
                                                                               Money thresholdAmt,
                                                                               java.util.Set itemBenefits,
                                                                               Banner banner,
                                                                               ChannelType channelType)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

attachItemBenefit

public static java.util.Set attachItemBenefit(Promotion promotion,
                                              java.util.Set itemBenefits)
                                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28