Options
All
  • Public
  • Public/Protected
  • All
Menu

This allows the construction of factories that may produce connectors that behave differently based on the version.

Currently the default version will return a factory that is compatible with the 1.1.0 release. If VERSION_12 is specified in the configuration, then the factory returned is not browser dependant, and can be used to produce a connector that is capable of a direct connection to the device via the "Network Pay Display" app.

Hierarchy

  • CloverConnectorFactoryBuilder

Index

Properties

Static DEFAULT_VERSION

DEFAULT_VERSION: string = "DEFAULT"

Static FACTORY_VERSION

FACTORY_VERSION: string = "FACTORY_VERSION"

Static VERSION_12

VERSION_12: string = "VERSION_12"

Methods

Static createICloverConnectorFactory

  • Produces factories that are version specific. The passed configuration object is used to determine the factory returned. If the configuration is null or the value of the property CloverConnectorFactoryBuilder.FACTORY_VERSION is not recognized, then the factory returned is compatible with the 1.1.0 version of remote-pay-cloud.

    Parameters

    • configuration: any

      contains a property for CloverConnectorFactoryBuilder.FACTORY_VERSION, or null.

    Returns ICloverConnectorFactory

Generated using TypeDoc