ConsumersApiServiceImpl
class ConsumersApiServiceImpl(stripeNetworkClient: StripeNetworkClient, apiVersion: String, sdkVersion: String = StripeSdkVersion.VERSION, appInfo: AppInfo?) : ConsumersApiService
Constructors
Link copied to clipboard
constructor(stripeNetworkClient: StripeNetworkClient, apiVersion: String, sdkVersion: String = StripeSdkVersion.VERSION, appInfo: AppInfo?)
Functions
Link copied to clipboard
open suspend override fun confirmConsumerVerification(consumerSessionClientSecret: String, verificationCode: String, authSessionCookie: String?, requestSurface: String, type: VerificationType, requestOptions: ApiRequest.Options): ConsumerSession
Confirms an SMS verification for the consumer corresponding to the given client secret.
Link copied to clipboard
open suspend override fun lookupConsumerSession(email: String?, authSessionCookie: String?, requestSurface: String, requestOptions: ApiRequest.Options): ConsumerSessionLookup
Retrieves the ConsumerSession if the given email is associated with a Link account.
Link copied to clipboard
open suspend override fun startConsumerVerification(consumerSessionClientSecret: String, locale: Locale, authSessionCookie: String?, requestSurface: String, type: VerificationType, customEmailType: CustomEmailType?, connectionsMerchantName: String?, requestOptions: ApiRequest.Options): ConsumerSession
Triggers a verification for the consumer corresponding to the given client secret.