Skip to content
Permalink
17dd1df3c3
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
35 lines (32 sloc) 1.02 KB
//
// Account.swift
//
//
// Created by Alan Maynard on 1/23/19.
//
import Foundation
class Account: NSObject {
var accountAlias: String
var creditLimit: Double
var last4: String
//var transactions: [Transaction]
var paymentDueDate: Date
var curBalance: Double
var availCredit: Double
var minPayDue: Double
var statementBal: Double
var accountName: String
var lastPayment: Double
init(_ accountAlias: String, _ creditLimit: Double, _ last4: String, _ paymentDueDate: Date, _ curBalance: Double, _ availCredit: Double, _ minPayDue: Double, _ statementBal: Double, _ accountName: String, _ last: Double) {
self.accountAlias = accountAlias
self.creditLimit = creditLimit
self.last4 = last4
self.paymentDueDate = paymentDueDate
self.curBalance = curBalance
self.minPayDue = minPayDue
self.availCredit = availCredit
self.statementBal = statementBal
self.accountName = accountName
self.lastPayment = last
}
}