BaseApiHeadersFactory
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
Constructors
Link copied to clipboard
fun BaseApiHeadersFactory( optionsProvider: () -> ApiRequest.Options, appInfo: AppInfo? = null, locale: Locale = Locale.getDefault(), apiVersion: String = ApiVersion.get().code, sdkVersion: String = StripeSdkVersion.VERSION)
Content copied to clipboard
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.