Skip to content
Permalink
6ffbf6456c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (24 sloc) 618 Bytes
//
// Banks.swift
// SynchronyFinancial
//
// Created by Rahul Kantesaria on 4/2/19.
// Copyright © 2019 Alan Maynard. All rights reserved.
//
import Foundation
public enum AccountType: Int {
case checkings = 0
case savings = 1
}
class BankAcct: NSObject {
var bankAcctId: String
var acctType: AccountType
var bankName: String
var last4Acct: String
init(bankAcctId: String, acctType: AccountType, bankName: String, last4Acct: String) {
self.bankAcctId = bankAcctId
self.acctType = acctType
self.bankName = bankName
self.last4Acct = last4Acct
}
}