Exemplo n.º 1
0
        public static void TestRateCardDaypartAddUpdate(InventoryGuideService.InventoryGuideServiceClient client)
        {
            var request = new RateCardDaypartAddUpdateRequest();

            request.RateCardDaypart = new RateCardDaypart();
            request.RateCardDaypart.RateCardDaypartHashKey = "7b6d75fe-ae7a-4ebf-9468-0b8c3723f46a";
            request.RateCardDaypart.RateCardDaypartSqn     = 768529114;
            request.RateCardDaypart.RateCardDaypartName    = "b5d3b901-1c80-47af-a2bc-7fcbbc905c71";
            var response = client.RateCardDaypartAddUpdate(request);
        }
Exemplo n.º 2
0
        public static void TestRateCardDaypartAddUpdate(SellableInventoryMartService.SellableInventoryMartServiceClient client)
        {
            var request = new RateCardDaypartAddUpdateRequest();

            request.RateCardDaypart = new RateCardDaypart();
            request.RateCardDaypart.RateCardDaypartHashKey = "763a6126-31ff-41b1-a08d-fea471e670cd";
            request.RateCardDaypart.RateCardDaypartSqn     = 1037389668;
            request.RateCardDaypart.RateCardDaypartName    = "ff769285-644c-4380-8dba-7d314130508e";
            var response = client.RateCardDaypartAddUpdate(request);
        }
Exemplo n.º 3
0
        public override async Task <RateCardDaypartAddUpdateResponse> RateCardDaypartAddUpdate(RateCardDaypartAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new RateCardDaypartAddUpdateQuery
            {
                RateCardDaypart = request.RateCardDaypart.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new RateCardDaypartAddUpdateResponse
            {
            };

            return(result);
        }