<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\FulfillmentOutbound;

/**
 * Selling Partner APIs for Fulfillment Outbound.
 *
 * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
 *
 * The version of the OpenAPI document: 2020-07-01
 *
 * This class was auto-generated by https://openapi-generator.tech
 * Do not change it, it will be overwritten with next execution of /bin/generate.sh
 */
class FulfillmentOrderStatus
{
    /**
     * Possible values of this enum.
     */
    final public const _NEW = 'New';

    final public const RECEIVED = 'Received';

    final public const PLANNING = 'Planning';

    final public const PROCESSING = 'Processing';

    final public const CANCELLED = 'Cancelled';

    final public const COMPLETE = 'Complete';

    final public const COMPLETE_PARTIALLED = 'CompletePartialled';

    final public const UNFULFILLABLE = 'Unfulfillable';

    final public const INVALID = 'Invalid';

    public function __construct(private readonly string $value)
    {
    }

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::_NEW,
            self::RECEIVED,
            self::PLANNING,
            self::PROCESSING,
            self::CANCELLED,
            self::COMPLETE,
            self::COMPLETE_PARTIALLED,
            self::UNFULFILLABLE,
            self::INVALID,
        ];
    }

    public function toString() : string
    {
        return $this->value;
    }
}
