<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\FulfillmentInboundV0;

/**
 * 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 BoxContentsSource
{
    /**
     * Possible values of this enum.
     */
    final public const NONE = 'NONE';

    final public const FEED = 'FEED';

    final public const _2_D_BARCODE = '2D_BARCODE';

    final public const INTERACTIVE = 'INTERACTIVE';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::NONE,
            self::FEED,
            self::_2_D_BARCODE,
            self::INTERACTIVE,
        ];
    }

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