Skip to content

Commit 0adc7cc

Browse files
authored
Merge pull request #184 from hzoppetti/account-ints-to-nums
[Update] Invoice Items
2 parents ed255a8 + 96dadbb commit 0adc7cc

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

openapi.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14276,44 +14276,44 @@ components:
1427614276
example: Invoice
1427714277
x-linode-cli-display: 3
1427814278
subtotal:
14279-
type: integer
14279+
type: number
1428014280
readOnly: true
1428114281
description: The amount of the Invoice before taxes in US Dollars.
14282-
example: 120
14282+
example: 120.25
1428314283
x-linode-cli-display: 4
1428414284
tax:
14285-
type: integer
14285+
type: number
1428614286
readOnly: true
1428714287
description: The amount of tax levied on the Invoice in US Dollars.
14288-
example: 12
14288+
example: 12.25
1428914289
x-linode-cli-display: 5
1429014290
total:
14291-
type: integer
14291+
type: number
1429214292
readOnly: true
1429314293
description: The amount of the Invoice after taxes in US Dollars.
14294-
example: 132
14294+
example: 132.50
1429514295
x-linode-cli-display: 6
1429614296
InvoiceItem:
1429714297
type: object
1429814298
description: An InvoiceItem object.
1429914299
properties:
1430014300
amount:
14301-
type: integer
14301+
type: number
1430214302
readOnly: true
1430314303
description: The price, in US dollars, of the Invoice Item. Equal to the unit price multiplied by quantity.
14304-
example: 20
14304+
example: 20.20
1430514305
x-linode-cli-display: 4
1430614306
tax:
14307-
type: integer
14307+
type: number
1430814308
readOnly: true
1430914309
description: The amount of tax levied on this Item in US Dollars.
14310-
example: 2
14310+
example: 1.25
1431114311
x-linode-cli-display: 5
1431214312
total:
14313-
type: integer
14313+
type: number
1431414314
readOnly: true
1431514315
description: The price of this Item after taxes in US Dollars.
14316-
example: 22
14316+
example: 21.45
1431714317
x-linode-cli-display: 6
1431814318
from:
1431914319
type: string
@@ -14332,7 +14332,7 @@ components:
1433214332
type: integer
1433314333
readOnly: true
1433414334
description: The quantity of this Item for the specified Invoice.
14335-
example: 2
14335+
example: 4
1433614336
to:
1433714337
type: string
1433814338
readOnly: true
@@ -14343,16 +14343,16 @@ components:
1434314343
type:
1434414344
type: string
1434514345
readOnly: true
14346-
description: The type of service, ether `prepay` or `misc`.
14346+
description: The type of service, ether `hourly` or `misc`.
1434714347
enum:
1434814348
- hourly
14349-
- prepay
1435014349
- misc
14350+
example: hourly
1435114351
unitprice:
14352-
type: integer
14352+
type: number
1435314353
readOnly: true
1435414354
description: The monthly service fee in US Dollars for this Item.
14355-
example: 10
14355+
example: 5.05
1435614356
IPAddress:
1435714357
type: object
1435814358
description: >

0 commit comments

Comments
 (0)