HyperwalletTransferMethodConfigurationFieldQuery
public struct HyperwalletTransferMethodConfigurationFieldQuery : GraphQlQuery, Hashable
The HyperwalletTransferMethodConfigurationFieldQuery
struct defines and builds a query to retrieve the fields
required to create a transfer method (Bank Account, Bank Card, PayPal Account, Prepaid Card, Paper Check)
with the Hyperwallet platform.
-
Create a new
HyperwalletTransferMethodConfigurationQuery
from the country, currency, transferMethodType and profileDeclaration
Swift
public init(country: String, currency: String, transferMethodType: String, profile: String)
Parameters
country
the 2 letter ISO 3166-1 country code
currency
the 3 letter ISO 4217-1 currency code
transferMethodType
the
TransferMethodType
profile
INDIVIDUAL
orBUSINESS
-
Declaration
Swift
public func toGraphQl(userToken: String) -> String
-
Declaration
Swift
public func hash(into hasher: inout Hasher)