public static IEnumerable Shop_GetRefunds(string StoreName, string APIKey, string Password, long OrderID) { ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password); return sp.GetRefunds(OrderID); }
private void GetRefunds(long OrderID) { sp = new ShopifyClient(_storename, _apikey, _password); List<Refund> vars = sp.GetRefunds(OrderID); txtRawData_Copy.Clear(); foreach (Refund r in vars) { txtRawData_Copy.Text += String.Format("ID: {0}| created at: {1}\n", r.id, r.created_at); } }