From bd3849443361e58e78f97660497eab6b766c02a2 Mon Sep 17 00:00:00 2001 From: Igor <121119455+i-yasko@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:11:49 +0100 Subject: [PATCH] Update `delinquencyPeriod` and `delinquencyTime` description (#1810) --- openapi/components/schemas/Invoice.yaml | 3 +-- openapi/components/schemas/Subscription.yaml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/openapi/components/schemas/Invoice.yaml b/openapi/components/schemas/Invoice.yaml index c75e4322e6..ecb0c377c8 100644 --- a/openapi/components/schemas/Invoice.yaml +++ b/openapi/components/schemas/Invoice.yaml @@ -347,9 +347,8 @@ properties: delinquencyTime: description: |- Date and time when the related order is considered delinquent, and is canceled. - The current invoice is abandoned along with order invoices that have the `unpaid` or `past-due` status. If this value is `null`, no delinquency time is configured. - If the `dueTime` of the order becomes greater than the `delinquencyTime` value, + If the `dueTime` of the order becomes greater than the `delinquencyTime` value, the `delinquencyTime` value becomes equal to `dueTime`. If an invoice is not related to an order, this field can only be `null`. diff --git a/openapi/components/schemas/Subscription.yaml b/openapi/components/schemas/Subscription.yaml index 674ad7724f..79f6ddc2ae 100644 --- a/openapi/components/schemas/Subscription.yaml +++ b/openapi/components/schemas/Subscription.yaml @@ -348,7 +348,6 @@ properties: Length of time, in ISO-8601 durations format, which is added to the due time of the order when setting the delinquency time for all related invoices. When the delinquency time of an invoice is reached, the order is automatically canceled. - The current invoice is abandoned along with order invoices that have the `unpaid` or `past-due` status. If the provided value is `null`, the order does not change state. example: P7D