Constructor and Description |
---|
Builder(InetAddress ipAddress)
The constructor for the
Device.Builder class |
Modifier and Type | Method and Description |
---|---|
Device.Builder |
acceptLanguage(String acceptLanguage) |
Device |
build() |
Device.Builder |
userAgent(String ua) |
public Builder(InetAddress ipAddress)
Device.Builder
classipAddress
- The IP address associated with the device used
by the customer in the transaction.public Device.Builder userAgent(String ua)
ua
- The HTTP “User-Agent” header of the browser used in
the transaction.public Device.Builder acceptLanguage(String acceptLanguage)
acceptLanguage
- The HTTP “Accept-Language” header of the
device used in the transaction.public Device build()
Device
created from the
fields set on this builder.Copyright © 2016 MaxMind, Inc.. All rights reserved.