Skip to content

Commit c862289

Browse files
Sergey AnisiforovSergey Anisiforov
authored andcommitted
Updated Headers
1 parent 7f83670 commit c862289

3 files changed

Lines changed: 25 additions & 11 deletions

File tree

Headers/PNEProcessingEvent.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,22 @@ typedef NS_ENUM(NSInteger, PNEProcessingEventType) {
5454
@property (copy, readonly, nonatomic) NSString * errorMessage;
5555
@property (copy, readonly, nonatomic) PaynetStatusResponse * result;
5656

57+
- (instancetype)initWithType:(PNEProcessingEventType)aType;
58+
5759
- (instancetype)initWithType:(PNEProcessingEventType)aType errorMessage:(NSString *)anErrorMessage;
5860

59-
- (instancetype)initWithType:(PNEProcessingEventType)aType;
61+
- (instancetype)initWithType:(PNEProcessingEventType)aType result:(PaynetStatusResponse *)aResult errorMessage:(NSString *)anErrorMessage;
6062

6163
- (instancetype)initWithResult:(PaynetStatusResponse *)aResult;
6264

6365
- (PNEShouldGetSignature) shouldGetSignature;
6466

6567
+ (instancetype)eventWithResult:(PaynetStatusResponse *)aResult;
6668

69+
+ (instancetype)eventWithResult:(PaynetStatusResponse *)aResult errorMessage:(NSString *)anErrorMessage;
6770

6871
+ (instancetype)eventWithType:(PNEProcessingEventType)aType;
6972

70-
7173
+ (instancetype)eventWithType:(PNEProcessingEventType)aType errorMessage:(NSString *)anErrorMessage;
7274

7375

Headers/PNEReaderFactory.h

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,22 @@
99
@class PNEReaderInfo;
1010
@protocol PNEReaderPresenter;
1111

12-
1312
@interface PNEReaderFactory : NSObject
1413

15-
- (id<PNEReaderManager>) createManager:(PNEReaderInfo *)aReader
16-
amount:(NSDecimalNumber *)anAmount
17-
currency:(NSString *)aCurrency
18-
presenter:(id<PNEReaderPresenter>) aPresenter;
14+
- (id<PNEReaderManager>)createManager:(PNEReaderInfo *)aReader
15+
presenter:(id<PNEReaderPresenter>)aPresenter;
16+
17+
- (id<PNEReaderManager>)createManager:(PNEReaderInfo *)aReader
18+
amount:(NSDecimalNumber *)anAmount
19+
currency:(NSString *)aCurrency
20+
presenter:(id<PNEReaderPresenter>)aPresenter;
21+
22+
- (id<PNEReaderManager>)createManager:(PNEReaderInfo *)aReader
23+
amount:(NSDecimalNumber *)anAmount
24+
currency:(NSString *)aCurrency
25+
rrn:(NSString *)aRRN
26+
presenter:(id<PNEReaderPresenter>)aPresenter;
1927

20-
+(NSString *) sdkVersion;
28+
+ (NSString *)sdkVersion;
2129

2230
@end

Headers/PNEReaderManager.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77

88
@protocol PNEReaderManager <NSObject>
99

10-
- (void) start;
11-
- (void) stop;
10+
- (void)start;
11+
- (void)stop;
1212

13-
@end
13+
- (void)cancelPayment;
14+
- (void)returnPayment;
15+
- (void)reconciliation;
16+
17+
@end

0 commit comments

Comments
 (0)