DiscoveryFilter

sealed interface DiscoveryFilter

The DiscoveryFilter contains information used to single out a reader during the discovery process. When a filter is provided, only the reader matching the filter will be returned during discovery, and discovery will complete once the reader is found.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Inheritors

Types

Link copied to clipboard
data class ByReaderId(val id: String) : DiscoveryFilter

Filter to discover a reader by its reader id tmr_*.

Link copied to clipboard
data class BySerial(val serialNumber: String) : DiscoveryFilter

Filter to discover a reader by its serial number.

Link copied to clipboard
data object None : DiscoveryFilter

No filter. All readers will be discovered.