StripeRepository
An interface for data operations on Stripe API objects.
Constructors
Functions
Link copied to clipboard
abstract suspend fun attachFinancialConnectionsSessionToPaymentIntent( clientSecret: String, paymentIntentId: String, financialConnectionsSessionId: String, requestOptions: ApiRequest.Options): PaymentIntent?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun attachFinancialConnectionsSessionToSetupIntent( clientSecret: String, setupIntentId: String, financialConnectionsSessionId: String, requestOptions: ApiRequest.Options): SetupIntent?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun attachPaymentMethod( customerId: String, publishableKey: String, productUsageTokens: Set<String>, paymentMethodId: String, requestOptions: ApiRequest.Options): PaymentMethod?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun confirmConsumerVerification( consumerSessionClientSecret: String, verificationCode: String, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun consumerSignUp( email: String, phoneNumber: String, country: String, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun createPaymentDetails( consumerSessionClientSecret: String, paymentDetailsCreateParams: ConsumerPaymentDetailsCreateParams, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun createPaymentMethod(paymentMethodCreateParams: PaymentMethodCreateParams, options: ApiRequest.Options): PaymentMethod?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun deletePaymentDetails( consumerSessionClientSecret: String, paymentDetailsId: String, requestOptions: ApiRequest.Options)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun detachPaymentMethod( publishableKey: String, productUsageTokens: Set<String>, paymentMethodId: String, requestOptions: ApiRequest.Options): PaymentMethod?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getPaymentMethods( listPaymentMethodsParams: ListPaymentMethodsParams, publishableKey: String, productUsageTokens: Set<String>, requestOptions: ApiRequest.Options): List<PaymentMethod>
Content copied to clipboard
Link copied to clipboard
abstract suspend fun listPaymentDetails( consumerSessionClientSecret: String, paymentMethodTypes: Set<String>, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun logoutConsumer( consumerSessionClientSecret: String, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun lookupConsumerSession( email: String?, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSessionLookup?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun retrievePaymentIntent( clientSecret: String, options: ApiRequest.Options, expandFields: List<String> = emptyList()): PaymentIntent?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun retrievePaymentIntentWithOrderedPaymentMethods( clientSecret: String, options: ApiRequest.Options, locale: Locale): PaymentMethodPreference?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun retrieveSetupIntent( clientSecret: String, options: ApiRequest.Options, expandFields: List<String> = emptyList()): SetupIntent?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun retrieveSetupIntentWithOrderedPaymentMethods( clientSecret: String, options: ApiRequest.Options, locale: Locale): PaymentMethodPreference?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun startConsumerVerification( consumerSessionClientSecret: String, locale: Locale, authSessionCookie: String?, requestOptions: ApiRequest.Options): ConsumerSession?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun updatePaymentDetails( consumerSessionClientSecret: String, paymentDetailsUpdateParams: ConsumerPaymentDetailsUpdateParams, requestOptions: ApiRequest.Options): ConsumerPaymentDetails?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun verifyPaymentIntentWithMicrodeposits( clientSecret: String, descriptorCode: String, requestOptions: ApiRequest.Options): PaymentIntent?
Content copied to clipboard
abstract suspend fun verifyPaymentIntentWithMicrodeposits( clientSecret: String, firstAmount: Int, secondAmount: Int, requestOptions: ApiRequest.Options): PaymentIntent?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun verifySetupIntentWithMicrodeposits( clientSecret: String, descriptorCode: String, requestOptions: ApiRequest.Options): SetupIntent?
Content copied to clipboard
abstract suspend fun verifySetupIntentWithMicrodeposits( clientSecret: String, firstAmount: Int, secondAmount: Int, requestOptions: ApiRequest.Options): SetupIntent?
Content copied to clipboard