Ejemplo n.º 1
0
        public static void TestRateCardTypeAddUpdate(InventoryGuideService.InventoryGuideServiceClient client)
        {
            var request = new RateCardTypeAddUpdateRequest();

            request.RateCardType = new RateCardType();
            request.RateCardType.RateCardTypeHashKey = "3b5d81a5-88a1-4889-a995-5530e566fc06";
            request.RateCardType.RateCardTypeSqn     = 768529114;
            request.RateCardType.RateCardTypeName    = "e9ea80ca-9833-46cb-8d48-e109d563c183";
            var response = client.RateCardTypeAddUpdate(request);
        }
Ejemplo n.º 2
0
        public static void TestRateCardTypeAddUpdate(SellableInventoryMartService.SellableInventoryMartServiceClient client)
        {
            var request = new RateCardTypeAddUpdateRequest();

            request.RateCardType = new RateCardType();
            request.RateCardType.RateCardTypeHashKey = "13ab654a-714d-4d3c-9881-7a05615ac68e";
            request.RateCardType.RateCardTypeSqn     = 1037389668;
            request.RateCardType.RateCardTypeName    = "98ad9e98-e18f-4f2d-ae70-79cf53608013";
            var response = client.RateCardTypeAddUpdate(request);
        }
Ejemplo n.º 3
0
        public override async Task <RateCardTypeAddUpdateResponse> RateCardTypeAddUpdate(RateCardTypeAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new RateCardTypeAddUpdateQuery
            {
                RateCardType = request.RateCardType.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new RateCardTypeAddUpdateResponse
            {
            };

            return(result);
        }