Package com.stripe.stripeterminal.external.models
Types
The Address
class stores address data for use with the Location class
AmountDetails contains details about items included in the PaymentIntent amount
Controls when the funds will be captured from the customer’s account.
The CardDetails
object contains details about a specific card presented to a reader
Contains information about card networks that can be used to process the payment.
Configurations that will be applied to each setup attempt.
Capture Method values that can be used as card-present payment method options.
CardPresentDetails
contains payment method details for a payment method of type CARD_PRESENT
Card-Present PaymentMethod options.
Card present configuration for this PaymentMethod. Card Present
Parameters for routing on a card-present transaction.
Routing priorities for card-present Payment Intents
CartLineItem
contains information for a line item in a Cart
The Charge
object contains details about a charge made to a PaymentIntent
The CollectConfiguration
contains configuration information relevant to collecting a payment method.
Customize the text to display on a form. Title is required, all other fields are optional.
CollectInputsEmailInput
contains information about a email form to display on the reader
Represents a single input form
CollectInputsNumericInput
contains information about a numeric form to display on the reader
CollectInputsResult
contains information about the data collected from a given form and data used to populate the form.
CollectInputsParameters
contains information about the inputs to collect from the reader
CollectInputsPhoneInput
contains information about a phone form to display on the reader
Contains information for a selection form button
Set the style of a selection form button
CollectInputsSelectionInput
contains information about a selection form to display on the reader
CollectInputsSelectionResult
contains data collected from a selection form and data used to populate the form.
CollectInputsSignatureInput
contains information about a signature form to display on the reader
CollectInputsSignatureResult
contains data collected from a signature form and data used to populate the form.
CollectInputsTextInput
contains information about a text form to display on the reader
The ConnectionConfiguration
class contains configuration information for connecting to a reader.
The ConnectionStatus
represents the current state of the reader-terminal connection.
The ConnectionTokenException
is an exception type that should be thrown by the ConnectionTokenProvider when there's an unresolvable error that prevents us from fetching a connection token
The CreateConfiguration contains configuration information relevant to creating a payment method.
Details about the customer acceptance of a Mandate.
Type of customer acceptance information included with the Mandate.
The possible device types for a reader.
The DiscoveryConfiguration
contains configuration information relevant to the reader discovery process.
The DiscoveryMethod
enum represents the possible ways of discovery readers.
The EmvBlob
is an internal data class meant to wrap the EMV blob generated for a specific SimulatedCard.
Expandable Location Union Type.
The GeneratedFrom
object contains details of the original PaymentMethod that created this CardDetails object.
Represents the ability for a PaymentIntent to be incrementally authorized.
Arguments used when fetching a list of Locations.
The Location
class contains details about the location object to which readers can be registered.
LocationStatus
represents the potential states of a Reader object with respect to its registeredLocation
field.
If a Mandate is accepted online, this contains details about the online acceptance.
Details about a Mandate to be created.
The NetworkStatus
represents the current network status, as determined by the Terminal SDK.
The OfflineBehavior allows you to configure how the Terminal SDK should handle the specified PaymentIntent while unable to reach stripe.com.
OfflineCardPresentDetails contains details about the payment method used to process a PaymentIntent offline.
OfflineDetails holds unique information for a PaymentIntent that was created or processed offline. Useful for relating a forwarded PaymentIntent to the offline PaymentIntent.
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 PaymentIntentParameters
class contains information that will be used for the creation of a new PaymentIntent. To create a PaymentIntentParameters
instance, the PaymentIntentParameters.Builder class should be used.
A PaymentIntentStatus
represents the state that a given PaymentIntent is currently in.
PaymentMethod
objects represent your customer's payment instruments. They can be used with PaymentIntents to collect payments, or saved to Customer objects to store instrument details for future payments.
PaymentMethodDetails
contains details about the payment method used to complete a PaymentIntent
Payment-method-specific configuration.
Payment-method-specific configuration for this PaymentIntent. Payment Method Options
An enum representing the type of payment method being handled
Union-type for an expandable PaymentMethod.
JSON adapter for serializing a potentially expanded PaymentMethod into a union type.
A PaymentStatus
represents any of the states that a single payment can be in.
The method that the POS app's SDK integration used to discover and connect to the reader.
Parameters for reading a reusable card.
The Reader
is a representation of a physical reader device.
A ReaderDisplayMessage
represents any of the possible messages emitted by the reader as it is accepting input.
A ReaderEvent
represents any of the possible events you can receive from a connected reader.
The ReaderInputOptions
represents the set of ReaderInputOptions currently available to your user.
ReaderSoftwareUpdate
contains information about a potential software update to the reader.
Result of a query to check if a reader connection type is supported.
All necessary information for generating receipts
instructions for authenticating by redirecting your customer to another page or application.
Refund
objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged.
The RefundParameters
object allows you to set the options you need to create a refund for an existing charge. For more information, see:
3D Secure flow type.
Transaction routing priorities
A SetupAttempt describes one attempted confirmation of a SetupIntent, whether that confirmation was successful or unsuccessful.
Statuses for a SetupAttempt
Union type for an expandable SetupAttempt.
Information for an erroneous SetupAttempt
Types of SetupAttempt errors.
A SetupIntent guides you through the process of setting up a customer's payment credentials for future payments.
Parameters used for cancelling a SetupIntent.
Reason for cancellation of a SetupIntent.
SetupIntentCardPresentDetails
contains payment method details for a payment method of type CARD_PRESENT specifically for SetupIntent transaction.
SetupIntentConfiguration
contains configuration information relevant to saving a payment method.
Actions you need to take in order for your customer to continue payment setup.
Parameters used for the creation of a new SetupIntent.
PaymentMethodDetails
contains details about the payment method used to complete a PaymentIntent It's different from CardPresentDetails. Because in Proto SetupAttempt, fields of PaymentMethodDetails are different from
Represents the state of a SetupIntent.
Indicates how the payment method is intended to be used in the future.
The SimulateReaderUpdate
enumerates the possible types of updates that a user might want to simulate.
A SimulatedCard
contains all information necessary to simulate the experience of paying with specific card brands / error conditions.
A SimulatedCardType
represents a specific type of payment card that can be used for testing.
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.
Used to generate a single-use Mandate when creating a SetupIntent
A TerminalException
represents an error thrown during SDK operations and will contain a TerminalErrorCode and an errorMessage
to provide more specific details.
Tip contains details about tips
The TippingConfiguration
contains per-transaction configuration information relevant to collecting tips