Skip to main content

In-Person Payments

ScannerStateEvent.hpp

Last updated: 26-Jul-2024

namespace verifone_sdk

class ScannerStateEvent

  • Scanner State Event Handler

Public Functions

inline virtual ~ScannerStateEvent()
virtual std::optional<std::string> getMessage() const = 0

  • A user-readable message. This message may not be localized, in which case the type field should be used for determining a localized message.

virtual std::optional<std::string> getType() const = 0

  • The type of status. This will generally be SUCCESS for a status of 0, and contain a different type for other errors.

virtual int32_t getStatus() const = 0

  • Get the status for this particular event. A status of 0 means success, any other status is a failure.

Public Static Attributes

static std::string const SCANNER_CONFIGURED

  • Scanner operations

static std::string const SCANNER_STARTED
static std::string const SCANNER_STOPPED

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo