<?php
/**
 * EventTypes
 *
 * PHP version 7.4
 *
 * @category Class
 * @package  Conekta
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */

/**
 * Conekta API
 *
 * Conekta sdk
 *
 * The version of the OpenAPI document: 2.2.0
 * Contact: engineering@conekta.com
 * Generated by: https://openapi-generator.tech
 * Generator version: 7.9.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 Conekta\Model;
use \Conekta\ObjectSerializer;

/**
 * EventTypes Class Doc Comment
 *
 * @category Class
 * @description It is a parameter that allows to identify in the response, the type of event that is being generated.
 * @package  Conekta
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */
class EventTypes
{
    /**
     * Possible values of this enum
     */
    public const WEBHOOK_PING = 'webhook_ping';

    public const ORDER_PAID = 'order.paid';

    public const ORDER_EXPIRED = 'order.expired';

    public const ORDER_CANCELED = 'order.canceled';

    public const ORDER_PENDING_PAYMENT = 'order.pending_payment';

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::WEBHOOK_PING,
            self::ORDER_PAID,
            self::ORDER_EXPIRED,
            self::ORDER_CANCELED,
            self::ORDER_PENDING_PAYMENT
        ];
    }
}


