Esempio n. 1
0
        public static void TestSellingTitleAddUpdate(InventoryGuideService.InventoryGuideServiceClient client)
        {
            var request = new SellingTitleAddUpdateRequest();

            request.SellingTitle = new SellingTitle();
            request.SellingTitle.SellingTitleHashKey   = "7c3407fa-36ac-46d4-b8bb-11f00cdc25e3";
            request.SellingTitle.SellingTitleSqn       = 768529114;
            request.SellingTitle.SellingTitleName      = "eb9c5f84-c00b-4eb0-a313-b3ea978b6afd";
            request.SellingTitle.SellingTitleStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:58.7218371Z"), DateTimeKind.Utc));
            request.SellingTitle.SellingTitleEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:58.7218371Z"), DateTimeKind.Utc));
            var response = client.SellingTitleAddUpdate(request);
        }
Esempio n. 2
0
        public static void TestSellingTitleAddUpdate(SellableInventoryMartService.SellableInventoryMartServiceClient client)
        {
            var request = new SellingTitleAddUpdateRequest();

            request.SellingTitle = new SellingTitle();
            request.SellingTitle.SellingTitleHashKey   = "874acd3b-eb06-4fe4-afa0-0f5c85af68fa";
            request.SellingTitle.SellingTitleSqn       = 1037389668;
            request.SellingTitle.SellingTitleName      = "a99902d5-3e64-487a-a8d2-2d8bc76dea79";
            request.SellingTitle.SellingTitleStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:18:15.8818354Z"), DateTimeKind.Utc));
            request.SellingTitle.SellingTitleEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:18:15.8818354Z"), DateTimeKind.Utc));
            var response = client.SellingTitleAddUpdate(request);
        }
Esempio n. 3
0
        public override async Task <SellingTitleAddUpdateResponse> SellingTitleAddUpdate(SellingTitleAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new SellingTitleAddUpdateQuery
            {
                SellingTitle = request.SellingTitle.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new SellingTitleAddUpdateResponse
            {
            };

            return(result);
        }