TransferRepository
public protocol TransferRepository
Transfer repository protocol
-
Create a transfer
Declaration
Swift
func createTransfer(_ transfer: HyperwalletTransfer, _ completion: @escaping (Result<HyperwalletTransfer?, HyperwalletErrorType>) -> Void)
Parameters
transfer
the
HyperwalletTransfer
being createdcompletion
the callback handler of responses from the Hyperwallet platform
-
Schedule a transfer
Declaration
Swift
func scheduleTransfer(_ transfer: HyperwalletTransfer, _ completion: @escaping (Result<HyperwalletStatusTransition?, HyperwalletErrorType>) -> Void)
Parameters
transfer
the transfer that was previously created
completion
the callback handler of responses from the Hyperwallet platform