public class RegistrationManagerCompat
Provides Java-style wrapper methods for class RegistrationManager
class RegistrationManager
public static RegistrationManagerCompat INSTANCE
Provides Java-style wrapper methods for class RegistrationManager
class RegistrationManager
@JvmStatic public static void registerPointOfSale(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @NotNull PosRegistration request, @NotNull PosRegistrationCallback handler)
Registers a Point of Sale by creating a new connection to the remote system using a callback for Java implementation.
coroutineContext
- the context in which the payment will be run i.e MAIN or IOrequest
- a message holding information on the Point of Sale to registerhandler
- a callback that will be called to deliver the response.@JvmStatic public static void refreshRegistration(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @Nullable java.lang.String paypointId, @NotNull PosRegistrationCallback handler)
Refreshes the POS licence key with the remote host using a callback for Java implementation.
coroutineContext
- the context in which the payment will be run i.e MAIN or IOpaypointId
- identifier for the paypoint on which the action should or has been performed on.handler
- a callback that will be called to deliver the response.