@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
50 lines (49 loc) • 1.57 kB
TypeScript
export declare class BrowserInfo {
/**
* The accept header value of the shopper\'s browser.
*/
'acceptHeader': string;
/**
* The color depth of the shopper\'s browser in bits per pixel. This should be obtained by using the browser\'s `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.
*/
'colorDepth': number;
/**
* Boolean value indicating if the shopper\'s browser is able to execute Java.
*/
'javaEnabled': boolean;
/**
* Boolean value indicating if the shopper\'s browser is able to execute JavaScript. A default \'true\' value is assumed if the field is not present.
*/
'javaScriptEnabled'?: boolean;
/**
* The `navigator.language` value of the shopper\'s browser (as defined in IETF BCP 47).
*/
'language': string;
/**
* The total height of the shopper\'s device screen in pixels.
*/
'screenHeight': number;
/**
* The total width of the shopper\'s device screen in pixels.
*/
'screenWidth': number;
/**
* Time difference between UTC time and the shopper\'s browser local time, in minutes.
*/
'timeZoneOffset': number;
/**
* The user agent value of the shopper\'s browser.
*/
'userAgent': string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}