-
Creates a new instance of the
HyperwalletVenmoAccountbased on the required parameter to update Venmo account.Declaration
Swift
public init(token: String)Parameters
tokenThe Venmo account token.
-
Creates a new instance of the
HyperwalletVenmoAccountbased on the required parameters to create Venmo account.Declaration
Swift
public init(transferMethodCountry: String, transferMethodCurrency: String, transferMethodProfileType: String)Parameters
transferMethodCountryThe Venmo account country.
transferMethodCurrencyThe Venmo account currency.
transferMethodProfileTypeThe Venmo account holder’s profile type, e.g. INDIVIDUAL or BUSINESS
-
Sets the accountId address
Declaration
Swift
public func accountId(_ accountId: String) -> BuilderParameters
accountIdThe accountId as phone number user want to create a Venmo account
Return Value
a self
HyperwalletVenmoAccount.Builderinstance. -
Sets the bank account holder’s profile type.
Declaration
Swift
public func profileType(_ profileType: String) -> BuilderParameters
profileTypeThe Venmo account holder’s profile type, e.g. INDIVIDUAL or BUSINESS
Return Value
a self
HyperwalletVenmoAccount.Builderinstance. -
Builds a new instance of the
HyperwalletVenmoAccount.Declaration
Swift
public func build() -> HyperwalletVenmoAccountReturn Value
a new instance of the
HyperwalletVenmoAccount.
View on GitHub