Class: CommandRequest

timapi.CommandRequest()

Command request to send to card.

Overview

Members-Overview

Methods-Overview

Constructor

new CommandRequest()

Create empty command request.

Member-List

cardCommand :String

Command to send to card.

cardReader :timapi.constants.CardReader

Defines what shall be used for the card commands.

executionResource :timapi.constants.ResourceId

If a dialog shall be shown during the execution of a command.

negativeResource :timapi.constants.ResourceId

If a dialog shall be shown in case of a negative command response.

order :Number

Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.

positiveAnswers :Array.<timapi.String>

Possible positive answers for a CommandRequest.

positiveResource :timapi.constants.ResourceId

If a dialog shall be shown in case of a positive command response.

preResource :timapi.constants.ResourceId

If a dialog shall be shown before sending a card command.

Methods

(static) copy(commandRequest) → {timapi.CommandRequest}

Creates a copy of a timapi.CommandRequest object.
Parameters:
Name Type Description
commandRequest timapi.CommandRequest Original
Returns:
Copy of original

Type: timapi.CommandRequest

toString() → {String}

String representation for debugging purpose.
Returns:
String representation

Type: String