Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebSocketCloudCloverDeviceConfigurationBuilder

Index

Constructors

constructor

  • Parameters

    • applicationId: string

      the applicationId that uniquely identifies the POS. e.g. com.company.MyPOS:2.3.1 for the first connection

    • deviceId: string

      the id (not uuid) of the device to connect to

    • merchantId: string

      the merchant the device belongs to.

    • accessToken: string

      the OAuth access token that will be used when contacting the clover server

    Returns WebSocketCloudCloverDeviceConfigurationBuilder

Properties

Private Readonly accessToken

accessToken: string

Private Readonly applicationId

applicationId: string

Private cloverServer

cloverServer: string

Private Readonly deviceId

deviceId: string

Private forceConnect

forceConnect: boolean = false

Private friendlyId

friendlyId: string

Private heartbeatDisconnectTimeout

heartbeatDisconnectTimeout: number

Private heartbeatInterval

heartbeatInterval: number

Private httpSupport

httpSupport: HttpSupport

Private imageUtil

imageUtil: IImageUtil

Private Readonly merchantId

merchantId: string

Private reconnectDelay

reconnectDelay: number

Private webSocketFactoryFunction

webSocketFactoryFunction: any

Methods

build

getAccessToken

  • getAccessToken(): string
  • Returns string

getApplicationId

  • getApplicationId(): string
  • Returns string

getCloverServer

  • getCloverServer(): string
  • Returns string

getDeviceId

  • getDeviceId(): string
  • Returns string

getForceConnect

  • getForceConnect(): boolean
  • Returns boolean

getFriendlyId

  • getFriendlyId(): string
  • Returns string

getHeartbeatDisconnectTimeout

  • getHeartbeatDisconnectTimeout(): number
  • Returns number

getHeartbeatInterval

  • getHeartbeatInterval(): number
  • Returns number

getHttpSupport

  • getHttpSupport(): HttpSupport
  • Returns HttpSupport

getImageUtil

  • Returns IImageUtil

getMerchantId

  • getMerchantId(): string
  • Returns string

getReconnectDelay

  • getReconnectDelay(): number
  • Returns number

getWebSocketFactoryFunction

  • getWebSocketFactoryFunction(): any
  • Returns any

setCloverServer

setForceConnect

setFriendlyId

setHeartbeatDisconnectTimeout

setHeartbeatInterval

setHttpSupport

setImageUtil

setReconnectDelay

setWebSocketFactoryFunction

Generated using TypeDoc