EcrApi

ECR protocol - Public interface

  • D

    The device to be used to perform SDK requests to, eg. TcpIpDevice.

Init

  • Initializes a new ECR SDK instance for provided device.

API

  • Sends given Echo request and wait for a response from Device.

  • Sends given Sale request and wait for a response from Device.

  • Sends given Installment request and wait for a response from Device.

  • Sends given Refund request and wait for a response from Device.

  • Sends given PreAuth request and wait for a response from Device.

  • Sends given SaleCompletion request and wait for a response from Device.

  • Sends given Void request and wait for a response from Device.

  • Sends given Settlement request and wait for a response from Device.

  • Sends given GetLastTransaction request and wait for a response from Device.

  • Sends given GetLastSettlement request and wait for a response from Device.

  • Sends given Tokenization request and wait for a response from Device.