From a2ed69a820c9d9bbf3eed5250e9c6350b5fcc09a Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Sun, 22 Nov 2026 20:39:54 +0100 Subject: [PATCH] [DOCS] List the changes of 11.10 in the changelog The status methods of the payment and the shipping of an order (#866) were backported to 11.x. The documentation of main also lists the changes of the 11.x releases, so it gets the 11.10 page too. Co-Authored-By: Claude Opus 5.5 --- .../11.10/Feature-866-OrderStatusMethods.rst | 32 +++++++++++++++++++ Documentation/Changelog/11.10/Index.rst | 24 ++++++++++++++ Documentation/Changelog/Index.rst | 1 + 3 files changed, 57 insertions(+) create mode 100644 Documentation/Changelog/11.10/Feature-866-OrderStatusMethods.rst create mode 100644 Documentation/Changelog/11.10/Index.rst diff --git a/Documentation/Changelog/11.10/Feature-866-OrderStatusMethods.rst b/Documentation/Changelog/11.10/Feature-866-OrderStatusMethods.rst new file mode 100644 index 00000000..6d540d6d --- /dev/null +++ b/Documentation/Changelog/11.10/Feature-866-OrderStatusMethods.rst @@ -0,0 +1,32 @@ +.. include:: ../../Includes.rst.txt + +========================================================================== +Feature: #866 - Status methods of the payment and the shipping of an order +========================================================================== + +See `Issue 866 `__ + +Description +=========== + +The payment (``\Extcode\Cart\Domain\Model\Order\Payment``) and the shipping +(``\Extcode\Cart\Domain\Model\Order\Shipping``) of an order have new methods +for the status of EXT:cart: + +========= ================================================================== +Service Methods +========= ================================================================== +payment ``isOpen()``, ``isPending()``, ``isPaid()``, ``isCanceled()`` +shipping ``isOpen()``, ``isOnHold()``, ``isInProcess()``, ``isShipped()`` +========= ================================================================== + +Further status added by other extensions have no method, compare them with +``getStatus()``. + +Impact +====== + +Extensions, e.g. for payment providers, use the methods instead of comparing +the status with strings themselves. + +.. index:: PHP-API diff --git a/Documentation/Changelog/11.10/Index.rst b/Documentation/Changelog/11.10/Index.rst new file mode 100644 index 00000000..6dd3d0a3 --- /dev/null +++ b/Documentation/Changelog/11.10/Index.rst @@ -0,0 +1,24 @@ +.. include:: ../../Includes.rst.txt + +11.10 Changes +============= + +**Table of contents** + +.. contents:: + :local: + :depth: 1 + +11.10.0 +------- + +Features +~~~~~~~~ + +* :doc:`#866 - Status methods of the payment and the shipping of an order ` + +.. toctree:: + :hidden: + :glob: + + *-* diff --git a/Documentation/Changelog/Index.rst b/Documentation/Changelog/Index.rst index f68fa373..33aee134 100644 --- a/Documentation/Changelog/Index.rst +++ b/Documentation/Changelog/Index.rst @@ -16,6 +16,7 @@ ChangeLog 12.2/Index 12.1/Index 12.0/Index + 11.10/Index 11.9/Index 11.8/Index 11.7/Index