1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/PaymentTermSchema.php
David Bomba 970c9bb87d
Payment Terms (#3737)
* Fixes for converting a quote to invoice

* Fixes for deleting an invoice

* Payment Terms CRUD

* Payment Terms

* Push PaymentTerms back into the DB

* Payment Terms

* Payment Terms

* Create api docs for payment terms
2020-05-23 13:28:24 +10:00

13 lines
714 B
PHP

<?php
/**
* @OA\Schema(
* schema="PaymentTerm",
* type="object",
* @OA\Property(property="num_days", type="integer", example="1", description="The payment term length in days"),
* @OA\Property(property="name", type="string", example="NET 1", description="The payment term length in string format"),
* @OA\Property(property="created_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* @OA\Property(property="updated_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* @OA\Property(property="archived_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* )
*/