TransferService

interface TransferService

Interface for transfer operations.

Functions

Link copied to clipboard
abstract suspend fun accept(transferAccept: TransferAccept): CustomerTransfer

Accepts a customer transfer.

Link copied to clipboard
open fun acceptAsync(transferAccept: TransferAccept, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously accepts a customer transfer.

Link copied to clipboard
abstract suspend fun cancel(transferCancel: TransferCancel): CustomerTransfer

Cancels a customer transfer.

Link copied to clipboard
open fun cancelAsync(transferCancel: TransferCancel, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously cancels a customer transfer.

Link copied to clipboard
abstract suspend fun confirm(transferConfirm: TransferConfirm): CustomerTransfer

Confirms a customer transfer.

Link copied to clipboard
open fun confirmAsync(transferConfirm: TransferConfirm, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously confirms a customer transfer.

Link copied to clipboard
abstract suspend fun create(transferCreate: TransferCreate): CustomerTransfer

Creates a Customer Transfer.

Link copied to clipboard
open fun createAsync(transferCreate: TransferCreate, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously creates a customer transfer.

Link copied to clipboard
abstract suspend fun getAllInbound(getTransferParameters: GetTransferParameters? = null): CustomerTransferList

Retrieves all inbound customer transfers. It returns the last 10 inbound customer transfers by default.

Link copied to clipboard
open fun getAllInboundAsync(getTransferParameters: GetTransferParameters?, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransferList>)

Asynchronously retrieves all inbound customer transfers. It returns the last 10 inbound customer transfers by default.

Link copied to clipboard
abstract suspend fun getAllOutbound(getTransferParameters: GetTransferParameters? = null): CustomerTransferList

Retrieves all outbound customer transfer. It returns the last 10 customer transfers by default.

Link copied to clipboard
open fun getAllOutboundAsync(getTransferParameters: GetTransferParameters?, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransferList>)

Asynchronously retrieves all outbound customer transfer. It returns the last 10 customer transfers by default.

Link copied to clipboard
abstract suspend fun getInbound(transferId: String): CustomerTransfer

Retrieves a specific inbound customer transfer.

Link copied to clipboard
open fun getInboundAsync(transferId: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously retrieves a specific inbound customer transfer.

Link copied to clipboard
abstract suspend fun getOutbound(transferId: String): CustomerTransfer

Retrieves a specific outbound customer transfer.

Link copied to clipboard
open fun getOutboundAsync(transferId: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously retrieves a specific outbound customer transfer.

Link copied to clipboard
abstract suspend fun preview(customerTransferRequest: CustomerTransferRequest): CustomerTransfer

Retrieves a preview of a customer transfer.

Link copied to clipboard
open fun previewAsync(customerTransferRequest: CustomerTransferRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously retrieves a preview of a customer transfer.

Link copied to clipboard
abstract suspend fun schedule(transferSchedule: TransferSchedule): CustomerTransfer

Schedules a customer transfer.

Link copied to clipboard
open fun scheduleAsync(transferSchedule: TransferSchedule, cancellationSignal: CancellationSignal?, callback: WalletCallback<CustomerTransfer>)

Asynchronously schedules a customer transfer.