execute Remote Service
Execute a remote service on the Keyple server. This suspend method will communicate back and forth, over the network with the keyple server, and over NFC with the card. The server drives the transaction, requesting the card to execute APDU commands. APDU responses are sent back to the server, that can process them and decide to send new APDU commands to execute, as many time as needed.
Return
A KeypleResult object describing the result of the operation.
Parameters
A mandatory service identifier (as defined on your Keyple server)
optionnal - A JSON String representing extra data your keyple server may need to execute this service. It must be a valid json serialized object, but its content is up to your business logic. For example it could contain a payment ID, a transaction ID, a customer's reference, etc...
Execute a remote service on the Keyple server. This suspend method will communicate back and forth, over the network with the keyple server, and over NFC with the card. The server drives the transaction, requesting the card to execute APDU commands. APDU responses are sent back to the server, that can process them and decide to send new APDU commands to execute, as many time as needed.
Return
A KeypleResult object describing the result of the operation.
Parameters
A mandatory service identifier (as defined on your Keyple server)
optionnal extra data your keyple server may need to execute this service. This is up to your business logic. For example it could contain a payment ID, a transaction ID, a customer reference, etc...
if an inputData is provided, you must provide the serializer for it.
a deserializer used to return you the parsed output data.