private static GetReturnLocationRealtimeResponse ObtainByInfoCode(SalesTransaction order, SalesLine line, RequestContext context) { GetReturnLocationRealtimeRequest request = new GetReturnLocationRealtimeRequest(order, line, null, true); GetReturnLocationRealtimeResponse response = context.Execute <GetReturnLocationRealtimeResponse>(request); return(response); }
private static GetReturnLocationRealtimeResponse ObtainByReasonCode(SalesTransaction order, SalesLine line, string reasonCodeId, RequestContext context) { GetReturnLocationRealtimeRequest request = new GetReturnLocationRealtimeRequest(order, line, reasonCodeId, false); GetReturnLocationRealtimeResponse response = context.Execute <GetReturnLocationRealtimeResponse>(request); return(response); }