Package com.checkout.payments.request
Class Network.NetworkBuilder
- java.lang.Object
-
- com.checkout.payments.request.Network.NetworkBuilder
-
- Enclosing class:
- Network
public static class Network.NetworkBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Networkbuild()Network.NetworkBuilderipv4(java.lang.String ipv4)The device's IPV4 address.Network.NetworkBuilderipv6(java.lang.String ipv6)The device's IPV6 address.Network.NetworkBuilderproxy(java.lang.Boolean proxy)Specifies if a proxy was used in the browser session.Network.NetworkBuildertor(java.lang.Boolean tor)Specifies if the Tor network was used in the browser session.java.lang.StringtoString()Network.NetworkBuildervpn(java.lang.Boolean vpn)Specifies if a virtual private network (VPN) was used in the browser session.
-
-
-
Method Detail
-
ipv4
public Network.NetworkBuilder ipv4(java.lang.String ipv4)
The device's IPV4 address. Not required if you provide the ipv6 field. [Optional]- Returns:
this.
-
ipv6
public Network.NetworkBuilder ipv6(java.lang.String ipv6)
The device's IPV6 address. Not required if you provide the ipv4 field. [Optional]- Returns:
this.
-
tor
public Network.NetworkBuilder tor(java.lang.Boolean tor)
Specifies if the Tor network was used in the browser session. [Optional]- Returns:
this.
-
vpn
public Network.NetworkBuilder vpn(java.lang.Boolean vpn)
Specifies if a virtual private network (VPN) was used in the browser session. [Optional]- Returns:
this.
-
proxy
public Network.NetworkBuilder proxy(java.lang.Boolean proxy)
Specifies if a proxy was used in the browser session. [Optional]- Returns:
this.
-
build
public Network build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-