TransferMethodConfigurationRepository

public protocol TransferMethodConfigurationRepository

Transfer method configuration repository protocol

  • Gets the transfer method fields based on the parameters

    Declaration

    Swift

    func getFields(
        _ country: String,
        _ currency: String,
        _ transferMethodType: String,
        _ transferMethodProfileType: String,
        completion: @escaping (Result<HyperwalletTransferMethodConfigurationField?, HyperwalletErrorType>) -> Void)
  • Gets the transfer method configuration keys

    Declaration

    Swift

    func getKeys(
        completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)

    Parameters

    completion

    the callback handler of responses from the Hyperwallet platform

  • Retrieve the transfer method types and their fees and processing times based on the parameters

    Declaration

    Swift

    func getTransferMethodTypesFeesAndProcessingTimes(
        country: String,
        currency: String,
        completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
  • Refreshes the transfer method fields

    Declaration

    Swift

    func refreshFields()
  • Refreshes the transfer method keys

    Declaration

    Swift

    func refreshKeys()