public bool Invalidate(string order_id, IEnumerable <string> skus) { var request = new InvalidateRequest(); request.Add(order_id, skus); var result = base.Delete("apps/{{APPKEY}}/purchases", request); if (result.status.code == 200) { return(true); } return(false); }
public bool Invalidate(IEnumerable <string> order_ids) { var request = new InvalidateRequest(); foreach (var order_id in order_ids) { request.Add(order_id); } var result = base.Delete("apps/{{APPKEY}}/purchases", request); if (result.status.code == 200) { return(true); } return(false); }