TransferService

interface TransferService

Interface for transfer operations.

Functions

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 get(transferId: String): CustomerTransfer

Retrieves a specific customer transfer.

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

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

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

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

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

Asynchronously retrieves a specific 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.