/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * Adyen NodeJS API Library
 * Copyright (c) 2021 Adyen B.V.
 * This file is open source and available under the MIT license.
 * See the LICENSE file for more info.
 */
 
/**
 * Terminal API
 * Definition of Terminal API Schema
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import { MessageCategoryType } from './messageCategoryType';
import { MessageClassType } from './messageClassType';
import { MessageType } from './messageType';

export class MessageHeader {
    'DeviceID'?: string;
    'MessageCategory': MessageCategoryType;
    'MessageClass': MessageClassType;
    'MessageType': MessageType;
    'POIID': string;
    'ProtocolVersion'?: string;
    'SaleID'?: string;
    'ServiceID'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "DeviceID",
            "baseName": "DeviceID",
            "type": "string"
        },
        {
            "name": "MessageCategory",
            "baseName": "MessageCategory",
            "type": "MessageCategoryType"
        },
        {
            "name": "MessageClass",
            "baseName": "MessageClass",
            "type": "MessageClassType"
        },
        {
            "name": "MessageType",
            "baseName": "MessageType",
            "type": "MessageType"
        },
        {
            "name": "POIID",
            "baseName": "POIID",
            "type": "string"
        },
        {
            "name": "ProtocolVersion",
            "baseName": "ProtocolVersion",
            "type": "string"
        },
        {
            "name": "SaleID",
            "baseName": "SaleID",
            "type": "string"
        },
        {
            "name": "ServiceID",
            "baseName": "ServiceID",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return MessageHeader.attributeTypeMap;
    }
}

