//
//  APMEarn.h
//  APMServices
//
//  Created by Vincent Ducastel on 15/05/2014.
//  Copyright (c) 2015 Moonmiles. All rights reserved.
//

#import "APMModel.h"

@interface APMEarn : APMModel<NSCoding, NSCopying>

@property (nonatomic, assign) NSInteger earnID;
@property (nonatomic, strong) NSDate *earnDate;
@property (nonatomic, strong) NSString *partnerLabel;
@property (nonatomic, strong) NSString *label;
@property (nonatomic, assign) NSInteger value;

-(id)initWithJSONObject:(NSDictionary*)jsonObject;
-(NSString*)earnDateString;

@end
