Showing
5 changed files
with
5 additions
and
5 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
73 | - (NSDictionary*)requestOtpWithMsisdn:(NSString*)msisdn andScope:(NSString*)scope; | 73 | - (NSDictionary*)requestOtpWithMsisdn:(NSString*)msisdn andScope:(NSString*)scope; |
74 | - (NSDictionary*)retrieveMultilingualMerchantsWithCategories:(NSArray*)categories andDefaultShown:(NSNumber*)defaultShown andCenter:(NSNumber*)center andTags:(NSArray*)tags andUuid:(NSString*)uuid andDistance:(NSNumber*)distance; | 74 | - (NSDictionary*)retrieveMultilingualMerchantsWithCategories:(NSArray*)categories andDefaultShown:(NSNumber*)defaultShown andCenter:(NSNumber*)center andTags:(NSArray*)tags andUuid:(NSString*)uuid andDistance:(NSNumber*)distance; |
75 | - (NSDictionary*)getCouponSetsWithActive:(NSNumber*)active andVisible:(NSNumber*)visible andUuids:(NSArray*)uuids; | 75 | - (NSDictionary*)getCouponSetsWithActive:(NSNumber*)active andVisible:(NSNumber*)visible andUuids:(NSArray*)uuids; |
76 | -- (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon; | 76 | +- (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon :(NSString*)communication_uuid; |
77 | - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon; | 77 | - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon; |
78 | - (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket; | 78 | - (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket; |
79 | - (void)getCouponsWithSuccessBlock:(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure; | 79 | - (void)getCouponsWithSuccessBlock:(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure; | ... | ... |
... | @@ -1210,11 +1210,11 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify"; | ... | @@ -1210,11 +1210,11 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify"; |
1210 | return resp; | 1210 | return resp; |
1211 | } | 1211 | } |
1212 | 1212 | ||
1213 | -- (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon { | 1213 | +- (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon :(NSString*)communication_uuid { |
1214 | __block NSDictionary *resp = [NSDictionary alloc]; | 1214 | __block NSDictionary *resp = [NSDictionary alloc]; |
1215 | __block BOOL isRunLoopNested = NO; | 1215 | __block BOOL isRunLoopNested = NO; |
1216 | __block BOOL isOperationCompleted = NO; | 1216 | __block BOOL isOperationCompleted = NO; |
1217 | - [[Warply sharedService] redeemCouponSetsWithSuccessBlock:coupon :^(NSDictionary *response) { | 1217 | + [[Warply sharedService] redeemCouponSetsWithSuccessBlock:coupon :communication_uuid :^(NSDictionary *response) { |
1218 | resp = response; | 1218 | resp = response; |
1219 | isOperationCompleted = YES; | 1219 | isOperationCompleted = YES; |
1220 | if (isRunLoopNested) { | 1220 | if (isRunLoopNested) { | ... | ... |
-
Please register or login to post a comment