public class ReportsManager
Provides a Manager for Reports.
public static ReportsManager INSTANCE
Provides a Manager for Reports.
@Nullable public java.lang.Object batchReport(boolean closeBatch, @Nullable java.lang.String paypointId, @NotNull kotlin.jvm.functions.Function2<? super com.worldpay.reports.BatchReportStream,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> callback, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Request a X or Z Report for the current batch.
closeBatch
- whether to close the current batch once the report is generated. Keeping the batch open is also known as an "X Report". Closing the batch is also known as a "Z Report".paypointId
- identifier for the paypoint on which the action should or has been performed on.callback
- receiver that provides access to the returned class BatchReportResponse
@Nullable public java.lang.Object offlineReport(@Nullable java.lang.String paypointId, @NotNull kotlin.jvm.functions.Function2<? super com.worldpay.reports.OfflineReportStream,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> callback, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Request details of stored offline transactions
paypointId
- identifier for the paypoint on which the action should or has been performed on.callback
- receiver that provides access to the returned class OfflineReportStream