<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\WarehousingAndDistribution;

/**
 * The Selling Partner API for Amazon Warehousing and Distribution.
 *
 * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
 *
 * The version of the OpenAPI document: 2024-05-09
 *
 * 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 InboundShipmentStatus
{
    /**
     * Possible values of this enum.
     */
    final public const CREATED = 'CREATED';

    final public const SHIPPED = 'SHIPPED';

    final public const IN_TRANSIT = 'IN_TRANSIT';

    final public const RECEIVING = 'RECEIVING';

    final public const DELIVERED = 'DELIVERED';

    final public const CLOSED = 'CLOSED';

    final public const CANCELLED = 'CANCELLED';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::CREATED,
            self::SHIPPED,
            self::IN_TRANSIT,
            self::RECEIVING,
            self::DELIVERED,
            self::CLOSED,
            self::CANCELLED,
        ];
    }

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