aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/billing/responses/tenant-billing-view.json
blob: 4e255205e19280f370f894c30cfda040a5325879 (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
{
  "until": "2020-05-28",
  "plan": "some-plan",
  "planName": "Plan with id: some-plan",
  "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": [ ]
  },
  "bills": [
    {
      "id": "id-1",
      "from": "2020-05-23",
      "to": "2020-05-28",
      "amount": "123.00",
      "status": "OPEN",
      "statusHistory": [
        {
          "at": "2020-05-23",
          "status": "OPEN"
        }
      ],
      "items": [
        {
          "id": "some-id",
          "description": "description",
          "amount": "123.00",
          "plan": "paid",
          "planName": "Plan with id: paid",
          "majorVersion": 0
        }
      ]
    }
  ],
  "collection": "AUTO"
}