StripeRepository

An interface for data operations on Stripe API objects.

Constructors

Link copied to clipboard

Functions

abstract suspend fun attachFinancialConnectionsSessionToPaymentIntent(clientSecret: String, paymentIntentId: String, financialConnectionsSessionId: String, requestOptions: ApiRequest.Options, expandFields: List<String>): PaymentIntent?
abstract suspend fun attachFinancialConnectionsSessionToSetupIntent(clientSecret: String, setupIntentId: String, financialConnectionsSessionId: String, requestOptions: ApiRequest.Options, expandFields: List<String>): SetupIntent?
Link copied to clipboard
abstract suspend fun attachPaymentMethod(customerId: String, publishableKey: String, productUsageTokens: Set<String>, paymentMethodId: String, requestOptions: ApiRequest.Options): PaymentMethod?
Link copied to clipboard
abstract suspend fun confirmConsumerVerification(consumerSessionClientSecret: String, verificationCode: String, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Link copied to clipboard
abstract suspend fun consumerSignUp(email: String, phoneNumber: String, country: String, name: String?, locale: Locale?, authSessionCookie: String?, consentAction: ConsumerSignUpConsentAction, requestOptions: ApiRequest.Options): ConsumerSession?
Link copied to clipboard
abstract suspend fun createLinkFinancialConnectionsSession(consumerSessionClientSecret: String, requestOptions: ApiRequest.Options): FinancialConnectionsSession?
Link copied to clipboard
abstract suspend fun createPaymentDetails(consumerSessionClientSecret: String, paymentDetailsCreateParams: ConsumerPaymentDetailsCreateParams, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
abstract suspend fun createPaymentDetails(consumerSessionClientSecret: String, financialConnectionsAccountId: String, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Link copied to clipboard
abstract suspend fun createPaymentMethod(paymentMethodCreateParams: PaymentMethodCreateParams, options: ApiRequest.Options): PaymentMethod?
Link copied to clipboard
abstract suspend fun deletePaymentDetails(consumerSessionClientSecret: String, paymentDetailsId: String, requestOptions: ApiRequest.Options)
Link copied to clipboard
abstract suspend fun detachPaymentMethod(publishableKey: String, productUsageTokens: Set<String>, paymentMethodId: String, requestOptions: ApiRequest.Options): PaymentMethod?
Link copied to clipboard
abstract suspend fun getPaymentMethods(listPaymentMethodsParams: ListPaymentMethodsParams, publishableKey: String, productUsageTokens: Set<String>, requestOptions: ApiRequest.Options): List<PaymentMethod>
Link copied to clipboard
abstract suspend fun listPaymentDetails(consumerSessionClientSecret: String, paymentMethodTypes: Set<String>, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Link copied to clipboard
abstract suspend fun logoutConsumer(consumerSessionClientSecret: String, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Link copied to clipboard
abstract suspend fun lookupConsumerSession(email: String?, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSessionLookup?
Link copied to clipboard
abstract suspend fun retrieveCustomer(customerId: String, productUsageTokens: Set<String>, requestOptions: ApiRequest.Options): Customer?
Link copied to clipboard
abstract suspend fun retrievePaymentIntent(clientSecret: String, options: ApiRequest.Options, expandFields: List<String> = emptyList()): PaymentIntent?
Link copied to clipboard
abstract suspend fun retrieveSetupIntent(clientSecret: String, options: ApiRequest.Options, expandFields: List<String> = emptyList()): SetupIntent?
Link copied to clipboard
abstract suspend fun startConsumerVerification(consumerSessionClientSecret: String, locale: Locale, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Link copied to clipboard
abstract suspend fun updatePaymentDetails(consumerSessionClientSecret: String, paymentDetailsUpdateParams: ConsumerPaymentDetailsUpdateParams, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Link copied to clipboard
abstract suspend fun verifyPaymentIntentWithMicrodeposits(clientSecret: String, descriptorCode: String, requestOptions: ApiRequest.Options): PaymentIntent?
abstract suspend fun verifyPaymentIntentWithMicrodeposits(clientSecret: String, firstAmount: Int, secondAmount: Int, requestOptions: ApiRequest.Options): PaymentIntent?
Link copied to clipboard
abstract suspend fun verifySetupIntentWithMicrodeposits(clientSecret: String, descriptorCode: String, requestOptions: ApiRequest.Options): SetupIntent?
abstract suspend fun verifySetupIntentWithMicrodeposits(clientSecret: String, firstAmount: Int, secondAmount: Int, requestOptions: ApiRequest.Options): SetupIntent?

Inheritors

Link copied to clipboard