Package-level declarations
Types
The ConnectionConfiguration
class contains configuration information for connecting to a reader.
The DiscoveryConfiguration
contains configuration information relevant to the reader discovery process.
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.