public class StatusMonitor
Provides access to status information from the remote system.
public static StatusMonitor INSTANCE
Provides access to status information from the remote system.
@Nullable public java.lang.Object getDeviceStatus(@Nullable java.lang.String paypointId, @NotNull kotlin.jvm.functions.Function2<? super com.worldpay.monitor.DeviceStatusStream,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> callback, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Gets the current device status for the supplied paypoint ID
paypointId
- optional paypoint to override the class Configuration
default.callback
- receiver that provides access to the returned class PaymentDeviceStatus
@Nullable public java.lang.Object getServiceStatus(@Nullable java.lang.String paypointId, @NotNull kotlin.jvm.functions.Function2<? super com.worldpay.monitor.ServiceStatusStream,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> callback, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Gets the Service status for the supplied paypoint ID
paypointId
- optional paypoint to override the class Configuration
default.callback
- receiver that provides access to the returned class ServiceStatusStream