TapToPayConnectionConfiguration
constructor(useCase: TapUseCase, autoReconnectOnUnexpectedDisconnect: Boolean = true, tapToPayReaderListener: TapToPayReaderListener? = null, merchantDisplayName: String? = null)
Parameters
useCase
The TapUseCase representing the use case for Tap to Pay SDK.
autoReconnectOnUnexpectedDisconnect
If set to true, Terminal will try to reconnect to your reader.
tapToPayReaderListener
You will need to set tapToPayReaderListener to be notified of reconnection and disconnect events.
merchantDisplayName
Optional cardholder facing merchant display name that will be used in the prompt for the cardholder to present their card to store card details for future payments. If not provided, the following message will be displayed: "By tapping your card, you are saving payment details for future payments."
constructor(locationId: String, autoReconnectOnUnexpectedDisconnect: Boolean = true, tapToPayReaderListener: TapToPayReaderListener?)
Deprecated
Use the constructor that takes a TapUseCase instead
Replace with
TapToPayConnectionConfiguration( TapUseCase.Pay(locationId), autoReconnectOnUnexpectedDisconnect, tapToPayReaderListener)Content copied to clipboard