BaseDropInServiceContract

Functions

Link copied to clipboard
abstract fun getAdditionalData(): Bundle?

Gets the additional data that was set when starting Drop-in using DropInConfiguration.Builder.setAdditionalDataForDropInService or null if nothing was set.

Link copied to clipboard

Set a callback that will be called when shopper chooses an address option that requires complete details to be provided.

Link copied to clipboard

Set a callback that will be called when shopper inputs a query to perform address lookup.

Link copied to clipboard
open fun onBinLookup(data: List<BinLookupData>)

Set a callback that will be called when a bin lookup is performed.

Link copied to clipboard
open fun onBinValue(binValue: String)

Set a callback that will be called when the bin value changes.

Link copied to clipboard
open fun onRedirect()

Set a callback that will be called when a redirect is made.

Link copied to clipboard
open fun onRemoveStoredPaymentMethod(storedPaymentMethod: StoredPaymentMethod)

Only applicable to removing stored payment methods. Use DropInConfiguration.Builder.setEnableRemovingStoredPaymentMethods to enable this feature.

Link copied to clipboard

Allows sending the result of Address Lookup operations.

Link copied to clipboard

Allows sending the result of the /paymentMethods/balance network call.

Link copied to clipboard

Allows sending the result of the /orders network call.

Link copied to clipboard

Allows sending the result of the DELETE /storedPaymentMethods network call.

Link copied to clipboard
abstract fun sendResult(result: DropInServiceResult)

Allows sending the result of the /payments and /payments/details network calls.