aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/billing/responses/billing-all-tenants.json
blob: d761439667a55a668a29f60cf8e60f6e62ec3949 (plain) (blame)
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
57
58
59
60
61
62
{
  "until": "2020-05-28",
  "tenants": [
    {
      "tenant": "tenant1",
      "plan": "some-plan",
      "planName": "Plan with id: some-plan",
      "collection": "AUTO",
      "current": {
        "amount": "123.00",
        "status": "accrued",
        "from": "2020-05-23",
        "items": [
          {
            "id": "some-id",
            "description": "description",
            "amount": "123.00",
            "plan": "paid",
            "planName": "Plan with id: paid",
            "majorVersion": 0
          }
        ]
      },
      "additional": {
        "items": [
          {
            "id": "line-item-id",
            "description": "support",
            "amount": "42.00",
            "plan": "some-plan",
            "planName": "Plan with id: some-plan",
            "majorVersion": 0
          }
        ]
      }
    },
    {
      "tenant": "tenant2",
      "plan": "some-plan",
      "planName": "Plan with id: some-plan",
      "collection": "AUTO",
      "current": {
        "amount": "123.00",
        "status": "accrued",
        "from": "2020-05-23",
        "items": [
          {
            "id": "some-id",
            "description": "description",
            "amount": "123.00",
            "plan": "paid",
            "planName": "Plan with id: paid",
            "majorVersion": 0
          }
        ]
      },
      "additional": {
        "items": [ ]
      }
    }
  ]
}