<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\MerchantFulfillment;

/**
 * Selling Partner API for Merchant Fulfillment.
 *
 * The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
 *
 * 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 LabelFormat
{
    /**
     * Possible values of this enum.
     */
    final public const PDF = 'PDF';

    final public const PNG = 'PNG';

    final public const ZPL203 = 'ZPL203';

    final public const ZPL300 = 'ZPL300';

    final public const SHIPPING_SERVICE_DEFAULT = 'ShippingServiceDefault';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::PDF,
            self::PNG,
            self::ZPL203,
            self::ZPL300,
            self::SHIPPING_SERVICE_DEFAULT,
        ];
    }

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