Package com.stripe.param.threedsecure
Class AuthenticationCreateParams.Channel.Browser.Builder
java.lang.Object
com.stripe.param.threedsecure.AuthenticationCreateParams.Channel.Browser.Builder
- Enclosing class:
- AuthenticationCreateParams.Channel.Browser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAcceptHeader(String acceptHeader) Required. The HTTP accept headers from the cardholder's browser.setColorDepth(Long colorDepth) The color depth of the cardholder’s screen.setDeviceId(String deviceId) Unique and immutable identifier linked to a device that is consistent across 3DS transactions for the specific user device.setIpAddress(String ipAddress) Required. The IP address of the browser.setJavaEnabled(Boolean javaEnabled) The cardholder browser’s ability to execute Java.setJavascriptEnabled(Boolean javascriptEnabled) Required. The cardholder browser’s ability to execute JavaScript.setLanguage(String language) Required. An IETF BCP 47 language tag representing the browser language.setScreenHeight(Long screenHeight) The total height of the cardholder’s screen in pixels.setScreenWidth(Long screenWidth) The total width of the cardholder’s screen in pixels.setTimezoneOffset(Long timezoneOffset) The time difference between UTC time and the local time of the cardholder’s browser, in minutes.setUserAgent(String userAgent)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcceptHeader
Required. The HTTP accept headers from the cardholder's browser. Collected server-side. -
setColorDepth
The color depth of the cardholder’s screen.Returned from the
screen.colorDepthproperty. -
setDeviceId
Unique and immutable identifier linked to a device that is consistent across 3DS transactions for the specific user device. For example: hardware device ID or a platform-calculated device fingerprint. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthenticationCreateParams.Channel.Browser.extraParamsfor the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthenticationCreateParams.Channel.Browser.extraParamsfor the field documentation. -
setIpAddress
Required. The IP address of the browser. Included in the HTTP request to your server before you create the 3DS Authentication.Collected server-side.
-
setJavaEnabled
The cardholder browser’s ability to execute Java. Returned from the navigator.javaEnabled property. -
setJavascriptEnabled
public AuthenticationCreateParams.Channel.Browser.Builder setJavascriptEnabled(Boolean javascriptEnabled) Required. The cardholder browser’s ability to execute JavaScript. -
setLanguage
Required. An IETF BCP 47 language tag representing the browser language. Typically returned from thenavigator.languageproperty, but might also be returned fromnavigator.languagesornavigator.browserLanguage.In some cases, this value might be an array. To cast it to a string or null value, you can use the
getBrowserLanguage()example function. -
setScreenHeight
The total height of the cardholder’s screen in pixels.Returned from the
screen.heightproperty. -
setScreenWidth
The total width of the cardholder’s screen in pixels.Returned from the
screen.widthproperty. -
setTimezoneOffset
The time difference between UTC time and the local time of the cardholder’s browser, in minutes.Returned by
new Date().getTimezoneOffset() -
setUserAgent
-