<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\FulfillmentInbound;

/**
 * Selling Partner API for Fulfillment Inbound.
 *
 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
 *
 * The version of the OpenAPI document: v0
 *
 * 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 TransportStatus
{
    /**
     * Possible values of this enum.
     */
    final public const WORKING = 'WORKING';

    final public const ESTIMATING = 'ESTIMATING';

    final public const ESTIMATED = 'ESTIMATED';

    final public const ERROR_ON_ESTIMATING = 'ERROR_ON_ESTIMATING';

    final public const CONFIRMING = 'CONFIRMING';

    final public const CONFIRMED = 'CONFIRMED';

    final public const ERROR_ON_CONFIRMING = 'ERROR_ON_CONFIRMING';

    final public const VOIDING = 'VOIDING';

    final public const VOIDED = 'VOIDED';

    final public const ERROR_IN_VOIDING = 'ERROR_IN_VOIDING';

    final public const ERROR = 'ERROR';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::WORKING,
            self::ESTIMATING,
            self::ESTIMATED,
            self::ERROR_ON_ESTIMATING,
            self::CONFIRMING,
            self::CONFIRMED,
            self::ERROR_ON_CONFIRMING,
            self::VOIDING,
            self::VOIDED,
            self::ERROR_IN_VOIDING,
            self::ERROR,
        ];
    }

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