<?php
/**
 * StockAdjustmentReason
 *
 * PHP version 8.1
 *
 * @category Class
 * @package  Vend
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */

/**
 * API 2026-07
 *
 * Lightspeed Retail (X-Series) API.
 *
 * The version of the OpenAPI document: 2026-07
 * Contact: x-series.api@lightspeedhq.com
 * Generated by: https://openapi-generator.tech
 * Generator version: 7.23.0
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Vend\Model;
use \Vend\ObjectSerializer;

/**
 * StockAdjustmentReason Class Doc Comment
 *
 * @category Class
 * @description The reason for a stock adjustment.  Negative reasons (require &#x60;quantity&#x60; &lt; 0): &#x60;DAMAGE&#x60;, &#x60;EXPIRY&#x60;, &#x60;INTERNAL_USE&#x60;, &#x60;THEFT&#x60;, &#x60;DONATION&#x60;. Positive reasons (require &#x60;quantity&#x60; &gt; 0): &#x60;STOCK_FOUND&#x60;, &#x60;SAMPLE_FOR_SALE&#x60;. For &#x60;CUSTOM&#x60;, the sign must match the referenced custom reason&#39;s &#x60;type&#x60;.
 * @package  Vend
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */
class StockAdjustmentReason
{
    /**
     * Possible values of this enum
     */
    public const DAMAGE = 'DAMAGE';

    public const EXPIRY = 'EXPIRY';

    public const INTERNAL_USE = 'INTERNAL_USE';

    public const THEFT = 'THEFT';

    public const DONATION = 'DONATION';

    public const STOCK_FOUND = 'STOCK_FOUND';

    public const SAMPLE_FOR_SALE = 'SAMPLE_FOR_SALE';

    public const CUSTOM = 'CUSTOM';

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::DAMAGE,
            self::EXPIRY,
            self::INTERNAL_USE,
            self::THEFT,
            self::DONATION,
            self::STOCK_FOUND,
            self::SAMPLE_FOR_SALE,
            self::CUSTOM
        ];
    }
}


