Component evidence
Defines the lifecycle states for EU withdrawal requests, including received, refunded, and declined statuses. Use this to manage and validate withdrawal request states in e-commerce workflows.
// Source: https://github.com/bagisto/bagisto | License: MIT | Copyright 2010-2025, Webkul Software
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Webkul\EUWithdrawal\Enums;
class WithdrawalStatus
{
/**
* Initial state — declaration recorded, awaiting admin action.
*/
public const RECEIVED = 'received';
/**
* Terminal — refund has been issued (recorded by admin).
*/
public const REFUNDED = 'refunded';
/**
* Terminal — merchant contests entitlement (recorded by admin with reason).
*/
public const DECLINED = 'declined';
/**
* Return every valid status as a flat array.
*/
public static function all(): array
{
return [self::RECEIVED, self::REFUNDED, self::DECLINED];
}
... (truncated -- full source via MCP)