<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\ProductFees;

/**
 * Selling Partner API for Product Fees.
 *
 * The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.
 *
 * 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 OptionalFulfillmentProgram
{
    /**
     * Possible values of this enum.
     */
    final public const CORE = 'FBA_CORE';

    final public const SNL = 'FBA_SNL';

    final public const EFN = 'FBA_EFN';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::CORE,
            self::SNL,
            self::EFN,
        ];
    }

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