-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProduct.h
49 lines (40 loc) · 1.32 KB
/
Product.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// Product.h
// Hitmeister API
//
// Created by Björn Kaiser on 29.06.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Product : NSObject {
NSString *item_title;
NSString *ean;
NSString *url;
NSString *url_hitmeisteraffiliate;
NSString *url_hitmeisterpartner;
int cheapest_price;
int cheapest_used_price;
int cheapes_new_price;
int shipping_cost_new;
int shipping_cost_used;
int listprice_savings;
NSString *commission_category;
}
@property (nonatomic, strong) NSString *item_title;
@property (nonatomic, strong) NSString *ean;
@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) NSString *url_hitmeisteraffiliate;
@property (nonatomic, strong) NSString *url_hitmeisterpartner;
@property (nonatomic) int cheapest_price;
@property (nonatomic) int cheapest_used_price;
@property (nonatomic) int cheapest_new_price;
@property (nonatomic) int shipping_cost_new;
@property (nonatomic) int shipping_cost_used;
@property (nonatomic) int listprice_savings;
@property (nonatomic, strong) NSString *commission_category;
- (NSString*) getCheapestPriceFormatted;
- (NSString*) getCheapestNewPriceFormatted;
- (NSString*) getCheapestUsedPriceFormatted;
- (NSString*) getShippingCostUsedFormatted;
- (NSString*) getShippingCostNewFormatted;
@end