Skip to content

[Feature request] Add some functions in Magento\Checkout\Model\Session #39571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: 2.4-develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions app/code/Magento/Checkout/Model/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
* @SuppressWarnings(PHPMD.TooManyFields)
* @since 100.0.2
*
* @method int|null getLastOrderId()
* @method self setLastOrderId(int|null $orderId)
* @method mixed getLastRealOrderId()
* @method self setLastRealOrderId(mixed $orderId)
* @method string|null getLastOrderStatus()
* @method self setLastOrderStatus(string|null $status)
* @method int|null getLastQuoteId()
* @method self setLastQuoteId(int|null $quoteId)
* @method int|null getLastSuccessQuoteId()
* @method self setLastSuccessQuoteId(int|null $quoteId)
*/
class Session extends \Magento\Framework\Session\SessionManager
{
Expand Down