Class CustomerDevice

java.lang.Object
com.onlinepayments.domain.CustomerDevice

public class CustomerDevice extends Object
  • Constructor Details

    • CustomerDevice

      public CustomerDevice()
  • Method Details

    • getAcceptHeader

      public String getAcceptHeader()
      The accept-header of the customer client from the HTTP Headers.
    • setAcceptHeader

      public void setAcceptHeader(String value)
      The accept-header of the customer client from the HTTP Headers.
    • withAcceptHeader

      public CustomerDevice withAcceptHeader(String value)
      The accept-header of the customer client from the HTTP Headers.
    • getBrowserData

      public BrowserData getBrowserData()
      Object containing information regarding the browser of the customer
    • setBrowserData

      public void setBrowserData(BrowserData value)
      Object containing information regarding the browser of the customer
    • withBrowserData

      public CustomerDevice withBrowserData(BrowserData value)
      Object containing information regarding the browser of the customer
    • getDeviceFingerprint

      public String getDeviceFingerprint()
      The session ID for the device fingerprint must match the one sent in the device fingerprint script.
    • setDeviceFingerprint

      public void setDeviceFingerprint(String value)
      The session ID for the device fingerprint must match the one sent in the device fingerprint script.
    • withDeviceFingerprint

      public CustomerDevice withDeviceFingerprint(String value)
      The session ID for the device fingerprint must match the one sent in the device fingerprint script.
    • getIpAddress

      public String getIpAddress()
      The IP address of the customer client from the HTTP Headers.
    • setIpAddress

      public void setIpAddress(String value)
      The IP address of the customer client from the HTTP Headers.
    • withIpAddress

      public CustomerDevice withIpAddress(String value)
      The IP address of the customer client from the HTTP Headers.
    • getLocale

      public String getLocale()
      Locale of the client device/browser. Returned in the browser from the navigator.language property.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • setLocale

      public void setLocale(String value)
      Locale of the client device/browser. Returned in the browser from the navigator.language property.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • withLocale

      public CustomerDevice withLocale(String value)
      Locale of the client device/browser. Returned in the browser from the navigator.language property.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • getTimezoneOffsetUtcMinutes

      public String getTimezoneOffsetUtcMinutes()
      Offset in minutes of timezone of the client versus the UTC. Value is returned by the JavaScript getTimezoneOffset() Method.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • setTimezoneOffsetUtcMinutes

      public void setTimezoneOffsetUtcMinutes(String value)
      Offset in minutes of timezone of the client versus the UTC. Value is returned by the JavaScript getTimezoneOffset() Method.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • withTimezoneOffsetUtcMinutes

      public CustomerDevice withTimezoneOffsetUtcMinutes(String value)
      Offset in minutes of timezone of the client versus the UTC. Value is returned by the JavaScript getTimezoneOffset() Method.

      If you use the latest version of our JavaScript Client SDK, we will collect this data and include it in the encryptedCustomerInput property. We will then automatically populate this data if available.

    • getUserAgent

      public String getUserAgent()
      User-Agent of the client device/browser from the HTTP Headers.

      As a fall-back we will use the userAgent that might be included in the encryptedCustomerInput, but this is captured client side using JavaScript and might be different.

    • setUserAgent

      public void setUserAgent(String value)
      User-Agent of the client device/browser from the HTTP Headers.

      As a fall-back we will use the userAgent that might be included in the encryptedCustomerInput, but this is captured client side using JavaScript and might be different.

    • withUserAgent

      public CustomerDevice withUserAgent(String value)
      User-Agent of the client device/browser from the HTTP Headers.

      As a fall-back we will use the userAgent that might be included in the encryptedCustomerInput, but this is captured client side using JavaScript and might be different.