RequestHeadersFactory
Types
Link copied to clipboard
Factory for AnalyticsRequest.
Link copied to clipboard
class Api( options: ApiRequest.Options, appInfo: AppInfo? = null, locale: Locale = Locale.getDefault(), apiVersion: String = ApiVersion.get().code, sdkVersion: String = StripeSdkVersion.VERSION) : RequestHeadersFactory.BaseApiHeadersFactory
Content copied to clipboard
Factory for ApiRequest.
Link copied to clipboard
open class BaseApiHeadersFactory( optionsProvider: () -> ApiRequest.Options, appInfo: AppInfo? = null, locale: Locale = Locale.getDefault(), apiVersion: String = ApiVersion.get().code, sdkVersion: String = StripeSdkVersion.VERSION) : RequestHeadersFactory
Content copied to clipboard
Link copied to clipboard
class FileUpload( options: ApiRequest.Options, appInfo: AppInfo? = null, locale: Locale = Locale.getDefault(), apiVersion: String = ApiVersion.get().code, sdkVersion: String = StripeSdkVersion.VERSION, boundary: String) : RequestHeadersFactory.BaseApiHeadersFactory
Content copied to clipboard
Factory for FileUploadRequest.
Link copied to clipboard
Factory for FraudDetectionDataRequest. TODO(ccen) Move FraudDetection to payments-core.
Functions
Link copied to clipboard
Creates a map for headers attached to POST requests. Return am empty map if this factory is used for request that doesn't have POST options.