Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Billing/Interfaces/IOptimizationBilling.cs @ 9586

Last change on this file since 9586 was 9586, checked in by fschoepp, 11 years ago

#1888:

  • Billing Component may now be deactivated by setting the BillingEnabled flag within the OaaS service configuration.
  • Added views for invoices and usage data.
  • Changed appearance of the SaveOrder view.
File size: 811 bytes
Line 
1using System.Collections.Generic;
2using System.Net.Security;
3using System.ServiceModel;
4using HeuristicLab.Services.Optimization.Billing.Model;
5
6namespace HeuristicLab.Services.Optimization.Billing.Interfaces {
7  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
8  public interface IOptimizationBilling {
9    [OperationContract]
10    IList<Product> GetProducts();
11
12    // payment methods via enumeration
13
14    [OperationContract]
15    void SaveOrder(Order order);
16
17    [OperationContract]
18    IList<Order> GetOrdersByState(OrderState state);
19    IList<Order> GetOrders(string userName);
20
21    User GetUser(string userName);
22    void SaveUser(User user);
23
24    IList<UsageRecord> GetUsageRecords(string userName);
25    IList<Invoice> GetInvoices(string userName);
26  }
27}
Note: See TracBrowser for help on using the repository browser.