Ejemplo n.º 1
0
 public void TestMethod4()
 {
     using (var client = new FlashSaleCreateOrderClient())
     {
         var result = client.FetchActivityProductPrice(new ActivityPriceRequest
         {
             GroupId = Guid.Empty,
             UserId  = new Guid("e025b1d3-271e-6977-59b3-7fb41dca4cc5"),
             Items   = new List <ActivityPriceItem>
             {
                 new ActivityPriceItem
                 {
                     ActicityId = new Guid("ba775df4-8d09-4ef9-9bd2-3085956a9c95"),
                     PID        = "XU-PTCJ-XX|1"
                 }
             }
         });
         Assert.IsNull(result.Exception);
     }
 }
Ejemplo n.º 2
0
        public void FetchActivityProductPrice()
        {
            using (var client = new FlashSaleCreateOrderClient())
            {
                var result = client.FetchActivityProductPrice(new ActivityPriceRequest()
                {
                    UserId = new Guid("4f79e798-502c-1891-afe5-156b452bf4b2"),
                    //GroupId=new Guid("d4f0483f-d212-417d-8775-d92ecf24b2b2"),
                    Items = new List <ActivityPriceItem>()
                    {
                        new ActivityPriceItem()
                        {
                            ActicityId = new Guid("2E917E8A-5DE5-448D-810E-B5899C8AA8F2"),
                            PID        = "AP-BOTNY-B1999-1|"
                        }
                    }
                });

                Assert.IsNull(result.Exception);
            }
        }