01-05-05 10:53 PM
You will notice in the sample that the GetPromoCodesList takes a string[
]
array and uses the 'params' keyword:
private static ISimpleList GetPromoCodesList(params string[] codes)
So you can call this method with any number of string parameters (coupon
codes) or pass them as an array of strings. This method builds a
simplelist of codes that is consumed by the RedeemPromoCodes pipeline
component.
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
From: "Shanbhag" <sudarshan_shanbhag@infosys.com>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: RE: How to use Discount Coupons??
Date: Tue, 04 Jan 2005 09:26:44 -0500
Organization: www.talkaboutsoftware.com
Message-ID:
< cea148c05ddfe9ce1237391e2d1ab03b@localho
st.talkaboutsoftware.com>
X-Newsreader: www.talkaboutsoftware.com
Content-Type: text/plain;
References:
< f29e7f403047e6de85ff394264106a3b@localho
st.talkaboutsoftware.com>
<RKGkcJe7EHA.3512@cpmsftngxa10.phx.gbl>
X-Complaints-To: abuse@supernews.com
Lines: 11
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganew
s.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!sn-
xit-03!sn-xit-09!sn-xit-08!sn-post-02!sn-post-01!supernews.com!corp.supernew
s.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2960
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
Hello David,
In the Implementing Promotion Code snippet in the FP1 Documentation, I
want to make use of 2 or more coupons(max 3) for a single user. How do I do
that?
Kindly let me know
With Regards,
Sudarshan Shanbhag
[ Post a follow-up to this message ]
|