Package-level declarations
Types
Represents non-payment data collected using collectData
.
The ConnectionConfiguration
class contains configuration information for connecting to a reader.
The possible reasons for which a Bluetooth or USB reader was disconnected.
The DiscoveryConfiguration
contains configuration information relevant to the reader discovery process.
Configuration for the user experience (UX) of the Tap to Pay screen. This configuration is only used for the local mobile reader to customize the appearance of the Tap to Pay screen. There are three main components to the configuration:
The PaymentIntent
represents your intent to collect payment from a customer, tracking the lifecycle of the payment process through each step. Each PaymentIntent
typically correlates with a single “cart” or customer session in your application.
The Reader
is a representation of a physical reader device.
A SetupIntent guides you through the process of setting up a customer's payment credentials for future payments.
A SimulatedCard
contains all information necessary to simulate the experience of paying with specific card brands / error conditions.
A configuration object that can be set on the main Terminal class. It's setting will dictate the behavior you see on your next connection to a simulated reader.
A TerminalException
represents an error thrown during SDK operations and will contain a TerminalErrorCode and an errorMessage
to provide more specific details.