Beispiel #1
0
        public static void TestRatePeriodAddUpdate(SharebuilderRateService.SharebuilderRateServiceClient client)
        {
            var request = new RatePeriodAddUpdateRequest();

            request.RatePeriod = new RatePeriod();
            request.RatePeriod.RatePeriodHashKey   = "d30596af-6b95-4d5e-a2a6-9b62bccd4f8e";
            request.RatePeriod.RatePeriodSqn       = 489758482;
            request.RatePeriod.RatePeriodName      = "e8f0a624-4167-446e-8ab3-e7ad82f73a9b";
            request.RatePeriod.RatePeriodStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:14:38.3028355Z"), DateTimeKind.Utc));
            request.RatePeriod.RatePeriodEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:14:38.3028355Z"), DateTimeKind.Utc));
            var response = client.RatePeriodAddUpdate(request);
        }
Beispiel #2
0
        public static void TestRatePeriodAddUpdate(SellerRateService.SellerRateServiceClient client)
        {
            var request = new RatePeriodAddUpdateRequest();

            request.RatePeriod = new RatePeriod();
            request.RatePeriod.RatePeriodHashKey   = "7bb463f3-a8ff-4122-ba84-f821021e5216";
            request.RatePeriod.RatePeriodSqn       = 734656429;
            request.RatePeriod.RatePeriodName      = "8b17d0e9-60e4-4feb-b72b-0f2f9536a8b9";
            request.RatePeriod.RatePeriodStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:16:37.1498399Z"), DateTimeKind.Utc));
            request.RatePeriod.RatePeriodEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:16:37.1498399Z"), DateTimeKind.Utc));
            var response = client.RatePeriodAddUpdate(request);
        }
Beispiel #3
0
        public static void TestRatePeriodAddUpdate(TrafficStatisticService.TrafficStatisticServiceClient client)
        {
            var request = new RatePeriodAddUpdateRequest();

            request.RatePeriod = new RatePeriod();
            request.RatePeriod.RatePeriodHashKey   = "b13379df-9553-46bb-bf8e-9036e87f8c55";
            request.RatePeriod.RatePeriodSqn       = 2118664305;
            request.RatePeriod.RatePeriodName      = "d273dee4-2cb3-43d9-a538-89ef64b11122";
            request.RatePeriod.RatePeriodStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:19.8998345Z"), DateTimeKind.Utc));
            request.RatePeriod.RatePeriodEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:19.8998345Z"), DateTimeKind.Utc));
            var response = client.RatePeriodAddUpdate(request);
        }
Beispiel #4
0
        public static void TestRatePeriodAddUpdate(InventoryGuideService.InventoryGuideServiceClient client)
        {
            var request = new RatePeriodAddUpdateRequest();

            request.RatePeriod = new RatePeriod();
            request.RatePeriod.RatePeriodHashKey   = "11376d4b-8162-4baf-9c36-301523e44a3b";
            request.RatePeriod.RatePeriodSqn       = 768529114;
            request.RatePeriod.RatePeriodName      = "5a10fa9d-33f0-4197-a102-1a8ff226ec9a";
            request.RatePeriod.RatePeriodStartDate = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:58.7218371Z"), DateTimeKind.Utc));
            request.RatePeriod.RatePeriodEndDate   = Timestamp.FromDateTime(DateTime.SpecifyKind(DateTime.Parse("2017-08-05T17:15:58.7218371Z"), DateTimeKind.Utc));
            var response = client.RatePeriodAddUpdate(request);
        }
Beispiel #5
0
        public override async Task <RatePeriodAddUpdateResponse> RatePeriodAddUpdate(RatePeriodAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new RatePeriodAddUpdateQuery
            {
                RatePeriod = request.RatePeriod.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new RatePeriodAddUpdateResponse
            {
            };

            return(result);
        }