public CandyStore.Client.OrderServiceProxy.OrderDto[] GetOrdersByCustomer(CandyStore.Client.OrderServiceProxy.CustomerDto customer) { CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequest inValue = new CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequest(); inValue.Body = new CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequestBody(); inValue.Body.customer = customer; CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerResponse retVal = ((CandyStore.Client.OrderServiceProxy.OrderServiceSoap)(this)).GetOrdersByCustomer(inValue); return(retVal.Body.GetOrdersByCustomerResult); }
public void PlaceOrder(CandyStore.Client.OrderServiceProxy.CustomerDto customer, string supplierName, CandyStore.Client.OrderServiceProxy.ProductDto[] products) { CandyStore.Client.OrderServiceProxy.PlaceOrderRequest inValue = new CandyStore.Client.OrderServiceProxy.PlaceOrderRequest(); inValue.Body = new CandyStore.Client.OrderServiceProxy.PlaceOrderRequestBody(); inValue.Body.customer = customer; inValue.Body.supplierName = supplierName; inValue.Body.products = products; CandyStore.Client.OrderServiceProxy.PlaceOrderResponse retVal = ((CandyStore.Client.OrderServiceProxy.OrderServiceSoap)(this)).PlaceOrder(inValue); }
public System.Threading.Tasks.Task <CandyStore.Client.OrderServiceProxy.PlaceOrderResponse> PlaceOrderAsync(CandyStore.Client.OrderServiceProxy.CustomerDto customer, string supplierName, CandyStore.Client.OrderServiceProxy.ProductDto[] products) { CandyStore.Client.OrderServiceProxy.PlaceOrderRequest inValue = new CandyStore.Client.OrderServiceProxy.PlaceOrderRequest(); inValue.Body = new CandyStore.Client.OrderServiceProxy.PlaceOrderRequestBody(); inValue.Body.customer = customer; inValue.Body.supplierName = supplierName; inValue.Body.products = products; return(((CandyStore.Client.OrderServiceProxy.OrderServiceSoap)(this)).PlaceOrderAsync(inValue)); }
public System.Threading.Tasks.Task <CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerResponse> GetOrdersByCustomerAsync(CandyStore.Client.OrderServiceProxy.CustomerDto customer) { CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequest inValue = new CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequest(); inValue.Body = new CandyStore.Client.OrderServiceProxy.GetOrdersByCustomerRequestBody(); inValue.Body.customer = customer; return(((CandyStore.Client.OrderServiceProxy.OrderServiceSoap)(this)).GetOrdersByCustomerAsync(inValue)); }
public PlaceOrderRequestBody(CandyStore.Client.OrderServiceProxy.CustomerDto customer, string supplierName, CandyStore.Client.OrderServiceProxy.ProductDto[] products) { this.customer = customer; this.supplierName = supplierName; this.products = products; }
public GetOrdersByCustomerRequestBody(CandyStore.Client.OrderServiceProxy.CustomerDto customer) { this.customer = customer; }