Skip to content

Commit aa4c356

Browse files
authored
Mattoni/new invoice state (#479)
* Add the 'awaiting-funds' invoice state * fix invoice state update * remove from events * fix description
1 parent 4c76965 commit aa4c356

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/schemas/billing/invoices/Invoice.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ properties:
6363
- updated
6464
- deleted
6565
- billed
66-
- awaiting-funds
6766
- paid
6867
- credited
6968
- voided

components/schemas/billing/invoices/InvoiceState.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ allOf:
44
- current
55
properties:
66
current:
7-
description: The current state of the container.
7+
description: The current state of the invoice.
88
type: string
99
enum:
1010
- "new"
1111
- "billing"
1212
- "billed"
1313
- "processing"
1414
- "partially-paid"
15+
- "awaiting-funds"
1516
- "paid"
1617
- "refunding"
1718
- "refunded"

0 commit comments

Comments
 (0)