BankAccountType
enum BankAccountType
extension BankAccountType : CaseIterable, Decodable, Encodable, Equatable, Hashable, RawRepresentable
An enumeration of bank types that a bank account can identify with Reference: https://ppaas/api/3719176155268854#apiReference
-
A business checking account
Declaration
Swift
case businessChecking
-
A business savings account
Declaration
Swift
case businessSavings
-
A checking account
Declaration
Swift
case checking
-
A custom account type
Declaration
Swift
case custom
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: String)
-
A normal account type
Declaration
Swift
case normal
-
A savings account type
Declaration
Swift
case savings
-
An unknown account type
Declaration
Swift
case unknown