public class DiscoveryConfiguration
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Constructor and Description |
---|
DiscoveryConfiguration(int timeout,
DeviceType deviceType,
boolean isSimulated)
The
DiscoveryConfiguration contains configuration information relevant to the reader
discovery process. |
DiscoveryConfiguration(int timeout,
DeviceType deviceType)
The
DiscoveryConfiguration contains configuration information relevant to the reader
discovery process. |
DiscoveryConfiguration(int timeout)
The
DiscoveryConfiguration contains configuration information relevant to the reader
discovery process. |
DiscoveryConfiguration()
The
DiscoveryConfiguration contains configuration information relevant to the reader
discovery process. |
Modifier and Type | Method and Description |
---|---|
int |
component1()
The timeout for discovery,
|
DeviceType |
component2()
The reader
|
boolean |
component3()
Whether the devices returned by discovery should be simulated
|
DiscoveryConfiguration |
copy(int timeout,
DeviceType deviceType,
boolean isSimulated)
The
DiscoveryConfiguration contains configuration information relevant to the reader
discovery process. |
boolean |
equals(java.lang.Object p) |
DeviceType |
getDeviceType()
The reader
|
int |
getTimeout()
The timeout for discovery,
|
int |
hashCode() |
boolean |
isSimulated()
Whether the devices returned by discovery should be simulated
|
java.lang.String |
toString() |
@JvmOverloads public DiscoveryConfiguration(int timeout, @NotNull DeviceType deviceType, boolean isSimulated)
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
timeout
- The timeout for discovery, in seconds. If the value is 0, discovery will nottimeout. Default is 0 (no timeout).deviceType
- The reader's device type. Default is CHIPPER_2X
.isSimulated
- Whether the devices returned by discovery should be simulated@JvmOverloads public DiscoveryConfiguration(int timeout, @NotNull DeviceType deviceType)
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
timeout
- The timeout for discovery, in seconds. If the value is 0, discovery will nottimeout. Default is 0 (no timeout).deviceType
- The reader's device type. Default is CHIPPER_2X
.@JvmOverloads public DiscoveryConfiguration(int timeout)
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
timeout
- The timeout for discovery, in seconds. If the value is 0, discovery will nottimeout. Default is 0 (no timeout).@JvmOverloads public DiscoveryConfiguration()
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
public int getTimeout()
The timeout for discovery,
in seconds. If the value is 0, discovery will nottimeout. Default is 0 (no timeout).
@NotNull public DeviceType getDeviceType()
The reader
's device type. Default is CHIPPER_2X
.
public boolean isSimulated()
Whether the devices returned by discovery should be simulated
public int component1()
The timeout for discovery,
in seconds. If the value is 0, discovery will nottimeout. Default is 0 (no timeout).
@NotNull public DeviceType component2()
The reader
's device type. Default is CHIPPER_2X
.
public boolean component3()
Whether the devices returned by discovery should be simulated
@NotNull public DiscoveryConfiguration copy(int timeout, @NotNull DeviceType deviceType, boolean isSimulated)
The DiscoveryConfiguration
contains configuration information relevant to the reader
discovery process.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)