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 | |
---|
1 | using System.Collections.Generic;
|
---|
2 | using System.Net.Security;
|
---|
3 | using System.ServiceModel;
|
---|
4 | using HeuristicLab.Services.Optimization.Billing.Model;
|
---|
5 |
|
---|
6 | namespace 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.