//
//  Transaction.h
//  ABC Bank
//
//  Created by oliviers on 10/13/13.
//  Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Transaction : NSObject

@property (nonatomic, readwrite, strong) NSString * itemName;
@property (nonatomic, readwrite, strong) NSString * transactionId;
@property (nonatomic, readwrite, strong) NSNumber * amount;
@property (nonatomic, readonly, strong) NSDate * dateCreated;

+ (id)randomItem:(int)randomValue;
- (id)initWithItemName:(NSString*)name
                amount:(NSNumber *)amount
         transactionId:(NSString*)tID;

@end
