-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIOrderAPI.cs
25 lines (22 loc) · 987 Bytes
/
IOrderAPI.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
namespace Billbee.MinimalOrderApi
{
public interface IOrderAPI : IDisposable
{
IEnumerable<Order> GetOrderList(DateTime? startDate,
decimal vatRateRegular,
decimal vatRateReduced,
out int totalNumberOfOrders,
out int totalNumberOfPages,
int page = 1,
int pageSize = 50
);
/// <summary>Deserialize the stored access token.</summary>
/// <param name="accessToken">The serialized access token</param>
void DeserializeAccessToken(string accessToken);
/// <summary>Serializes the current access token.</summary>
/// <returns>The serialized access token. For example a JSON string.</returns>
string SerializeAccessToken();
}
}