HyperwalletTransferMethodConfigurationKey
public protocol HyperwalletTransferMethodConfigurationKey
The HyperwalletTransferMethodConfigurationKey protocol for processing the transfer method configuration
key result from the Hyperwallet platform.
-
Returns the list of countries
Declaration
Swift
func countries() -> [HyperwalletCountry]?Return Value
a list of HyperwalletCountry object
-
Returns the list of currencies based on the country
Declaration
Swift
func currencies(from countryCode: String) -> [HyperwalletCurrency]?Parameters
countryCodethe 2 letter ISO 3166-1 country code
Return Value
a list of HyperwalletCurrency object
-
Returns the list of transfer method types based on the parameters
Declaration
Swift
func transferMethodTypes(countryCode: String, currencyCode: String) -> [HyperwalletTransferMethodType]?Parameters
countryCodethe 2 letter ISO 3166-1 country code
currencyCodethe 3 letter ISO 4217-1 currency code
Return Value
a list of HyperwalletTransferMethodTypes
View on GitHub