//
//  SEGEcommerce.h
//  Analytics
//
//  Created by Travis Jeffery on 7/17/14.
//  Copyright (c) 2014 Segment.io. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol SEGEcommerce <NSObject>

- (void)viewedProduct;
- (void)removedProduct;
- (void)addedProduct;
- (void)completedOrder;

@end

//
//  SEGEcommerce.h
//  Analytics
//
//  Created by Travis Jeffery on 7/17/14.
//  Copyright (c) 2014 Segment.io. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol SEGEcommerce <NSObject>
@optional
- (void)viewedProduct:(NSDictionary *)properties;
- (void)removedProduct:(NSDictionary *)properties;
- (void)addedProduct:(NSDictionary *)properties;
- (void)completedOrder:(NSDictionary *)properties;
@end

Fix ecommerce methods to take properties dictionary
Fix ecommerce methods to take properties dictionary

Acked-by: Travis Jeffery <546b05909706652891a87f7bfe385ae147f61f91@travisjeffery.com>
