public PCEFTPOSMethod(MethodType type)
        {
            switch (type)
            {
            case MethodType.GetEntryPoints: EntryPoints = new List <EntryPoint>(); break;

            case MethodType.DisplayOnPinpad: DisplayOnPos = new DisplayOnPos(); break;

            case MethodType.EndSession: EndSession = new EndSession(); break;

            default: break;
            }
        }
        public PCEFTPOSEvent(EventType type)
        {
            switch (type)
            {
            case EventType.Initialise: Initialise = new PinpadRegistration(); break;

            case EventType.GetApplicationStatus: GetApplicationStatus = new object(); break;

            case EventType.GetEntryPoints: EntryPoints = new List <EntryPoint>(); break;

            case EventType.GetResourceList: Resources = new object(); break;

            case EventType.InitiateEntryPoint: EntryPointEvent = new EntryPoint(); break;

            case EventType.DisplayOnPos: DisplayOnPos = new DisplayOnPos(); break;

            default: break;
            }
        }