Package com.stripe.android.payments.core.injection

Types

Link copied to clipboard
@MapKey
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class IntentAuthenticatorKey(val value: KClass<out StripeIntent.NextActionData>)

MapKey for the IntentAuthenticatorMap, encapsulating the NextActionData class type.

Link copied to clipboard
@Qualifier
annotation class IntentAuthenticatorMap

Qualifier for the multibinding map between NextActionData and PaymentAuthenticator.

Link copied to clipboard
abstract class StripeRepositoryModule

A Module to provide StripeRepository and its corresponding dependencies. Context, Logger, PUBLISHABLE_KEY, PRODUCT_USAGE and IOContext need to be provided elsewhere to use this module.

Properties

Link copied to clipboard
const val IS_INSTANT_APP: String

Name to indicate whether the current app is an instant app.

Link copied to clipboard
const val IS_PAYMENT_INTENT: String

Name to indicate whether the current StripeIntent is a PaymentIntent or SetupIntent.

Link copied to clipboard
const val PRODUCT_USAGE: String

Name for injected set if strings to represent product usage for analytics.