-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6a62ba
commit 0c0d66a
Showing
11 changed files
with
430 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
sdk/iOS/1.8.1/MobilePayManager/MobilePayCancelledPayment.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// MobilePayCancelledPayment.h | ||
// MobilePayManager | ||
// | ||
// Created by Lars Elgaard Mikkelsen on 08/12/2015. | ||
// Copyright © 2015 DanskeBank A/S. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface MobilePayCancelledPayment : NSObject | ||
|
||
@property (nonatomic, strong, readonly) NSString *orderId; | ||
|
||
- (instancetype)initWithOrderId:(NSString *)orderId; | ||
|
||
@end |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// MobilePayPayment.h | ||
// MobilePayManager | ||
// | ||
// Created by Thomas Fekete Christensen on 27/07/15. | ||
// Copyright (c) 2015 DanskeBank A/S. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
* Contains information about the payment being processed. | ||
*/ | ||
@interface MobilePayPayment : NSObject | ||
|
||
// Required | ||
@property (nonatomic, strong) NSString *orderId; | ||
@property (nonatomic) float productPrice; | ||
|
||
|
||
// Optional | ||
@property (nonatomic, strong) NSString *productName DEPRECATED_ATTRIBUTE; | ||
@property (nonatomic, strong) UIImage *productImage DEPRECATED_ATTRIBUTE; | ||
@property (nonatomic, strong) NSString *receiptMessage DEPRECATED_ATTRIBUTE; | ||
@property (nonatomic, strong) NSString *bulkRef; | ||
|
||
/** | ||
* Initialize payment object with required values | ||
* orderId: Text with a max length of 50 characters. Sent through the purchase flow and returned to your app when the payment is completed so that you are able to deliver the right product. | ||
* productName: obsolete | ||
* productPrice: price of the product | ||
*/ | ||
- (MobilePayPayment *)initWithOrderId:(NSString *)orderId productPrice:(float)productPrice; | ||
|
||
@end |
21 changes: 21 additions & 0 deletions
21
sdk/iOS/1.8.1/MobilePayManager/MobilePaySuccessfulPayment.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// MobilePaySuccessfulPayment.h | ||
// MobilePayManager | ||
// | ||
// Created by Lars Elgaard Mikkelsen on 23/09/15. | ||
// Copyright © 2015 DanskeBank A/S. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface MobilePaySuccessfulPayment : NSObject | ||
|
||
@property (nonatomic, strong, readonly) NSString *orderId; | ||
@property (nonatomic, strong, readonly) NSString *transactionId; | ||
@property (nonatomic, strong, readonly) NSString *signature; | ||
@property (nonatomic, readonly) float productPrice; | ||
@property (nonatomic, readonly) float amountWithdrawnFromCard; | ||
|
||
- (instancetype)initWithOrderId:(NSString *)orderId transactionId:(NSString *)transactionId signature:(NSString *)signature productPrice:(float)productPrice amountWithdrawnFromCard:(float)amountWithdrawnFromCard; | ||
|
||
@end |
Binary file renamed
BIN
+13.6 MB
...shop/Externals/libMobilePayManager1.8.0.a → ...bilePayManager/libMobilePayManager1.8.1.a
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+13.6 MB
...xamples/MobilePayFruitshop-iPhone/MobilePayFruitshop/Externals/libMobilePayManager1.8.1.a
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
...lePayFruitshop-iPhone/MobilePayFruitshop/Images.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters