-
Notifications
You must be signed in to change notification settings - Fork 719
/
UsageRecordSummaries.d.ts
56 lines (47 loc) · 1.33 KB
/
UsageRecordSummaries.d.ts
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
/**
* The UsageRecordSummary object.
*/
interface UsageRecordSummary {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'usage_record_summary';
/**
* The invoice in which this usage period has been billed for.
*/
invoice: string | null;
/**
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;
period: UsageRecordSummary.Period;
/**
* The ID of the subscription item this summary is describing.
*/
subscription_item: string;
/**
* The total usage within this usage period.
*/
total_usage: number;
}
namespace UsageRecordSummary {
interface Period {
/**
* The end date of this usage period. All usage up to and including this point in time is included.
*/
end: number | null;
/**
* The start date of this usage period. All usage after this point in time is included.
*/
start: number | null;
}
}
}
}