Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-21 15:27:50 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
90b2fe5228bc389562f503c681d56c0ceb2a0429
90b2fe52
1 parent
129ae64a
minor fix
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.h
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
90b2fe5
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
90b2fe5
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
90b2fe5
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.h
View file @
90b2fe5
...
...
@@ -73,7 +73,7 @@
-
(
NSDictionary
*
)
requestOtpWithMsisdn
:(
NSString
*
)
msisdn
andScope
:(
NSString
*
)
scope
;
-
(
NSDictionary
*
)
retrieveMultilingualMerchantsWithCategories
:(
NSArray
*
)
categories
andDefaultShown
:(
NSNumber
*
)
defaultShown
andCenter
:(
NSNumber
*
)
center
andTags
:(
NSArray
*
)
tags
andUuid
:(
NSString
*
)
uuid
andDistance
:(
NSNumber
*
)
distance
;
-
(
NSDictionary
*
)
getCouponSetsWithActive
:(
NSNumber
*
)
active
andVisible
:(
NSNumber
*
)
visible
andUuids
:(
NSArray
*
)
uuids
;
-
(
NSDictionary
*
)
redeemCouponWithCoupon
:(
NSString
*
)
coupon
;
-
(
NSDictionary
*
)
redeemCouponWithCoupon
:(
NSString
*
)
coupon
:
(
NSString
*
)
communication_uuid
;
-
(
NSDictionary
*
)
validateCouponWithCoupon
:(
NSString
*
)
coupon
;
-
(
NSDictionary
*
)
loginCosmoteWithGuid
:(
NSString
*
)
guid
andAppUuid
:(
NSString
*
)
appUuid
andTicket
:(
NSString
*
)
ticket
;
-
(
void
)
getCouponsWithSuccessBlock
:(
void
(
^
)(
NSDictionary
*
response
))
success
failureBlock
:(
void
(
^
)(
NSError
*
error
))
failure
;
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
View file @
90b2fe5
...
...
@@ -1210,11 +1210,11 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
return
resp
;
}
-
(
NSDictionary
*
)
redeemCouponWithCoupon
:
(
NSString
*
)
coupon
{
-
(
NSDictionary
*
)
redeemCouponWithCoupon
:
(
NSString
*
)
coupon
:
(
NSString
*
)
communication_uuid
{
__block
NSDictionary
*
resp
=
[
NSDictionary
alloc
];
__block
BOOL
isRunLoopNested
=
NO
;
__block
BOOL
isOperationCompleted
=
NO
;
[[
Warply
sharedService
]
redeemCouponSetsWithSuccessBlock
:
coupon
:
^
(
NSDictionary
*
response
)
{
[[
Warply
sharedService
]
redeemCouponSetsWithSuccessBlock
:
coupon
:
communication_uuid
:
^
(
NSDictionary
*
response
)
{
resp
=
response
;
isOperationCompleted
=
YES
;
if
(
isRunLoopNested
)
{
...
...
Please
register
or
login
to post a comment