public class ReportsManagerCompat
Provides access to reports from the remote system.
public static ReportsManagerCompat INSTANCE
Provides access to reports from the remote system.
@JvmStatic @JvmOverloads public static void getBatchReport(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @Nullable java.lang.String paypointId, boolean closeBatch, @NotNull BatchReportCallback callback)
Gets a batch report for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOpaypointId
- optional paypoint Id to get the report for.closeBatch
- true if the batch should be closed when the report is returned.callback
- a class BatchReportCallback
that provides access to the returned class BatchReportResponse
@JvmStatic @JvmOverloads public static void getBatchReport(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, boolean closeBatch, @NotNull BatchReportCallback callback)
Gets a batch report for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOcloseBatch
- true if the batch should be closed when the report is returned.callback
- a class BatchReportCallback
that provides access to the returned class BatchReportResponse
@JvmStatic @JvmOverloads public static void getOfflineReport(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @Nullable java.lang.String paypointId, boolean closeBatch, @NotNull OfflineReportCallback callback)
Gets a batch report for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOpaypointId
- optional paypoint Id to get the report for.closeBatch
- true if the batch should be closed when the report is returned.callback
- a class OfflineReportCallback
that provides access to the returned class OfflineReportResponse
@JvmStatic @JvmOverloads public static void getOfflineReport(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, boolean closeBatch, @NotNull OfflineReportCallback callback)
Gets a batch report for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOcloseBatch
- true if the batch should be closed when the report is returned.callback
- a class OfflineReportCallback
that provides access to the returned class OfflineReportResponse