Manos Chorianopoulos

clear ccmsList at verifyTicket

...@@ -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>1</integer> 10 + <integer>0</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>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -2444,6 +2444,10 @@ public class swiftApi { ...@@ -2444,6 +2444,10 @@ public class swiftApi {
2444 2444
2445 func verifyTicket(guid: String, ticket: String, _ verifyTicketCallback: @escaping (_ verifyTicketData: VerifyTicketResponseModel?) -> Void) -> Void { 2445 func verifyTicket(guid: String, ticket: String, _ verifyTicketCallback: @escaping (_ verifyTicketData: VerifyTicketResponseModel?) -> Void) -> Void {
2446 2446
2447 + swiftApi().setUserTag("")
2448 + swiftApi().setUserNonTelco(false)
2449 + swiftApi().setCCMSLoyaltyCampaigns(campaigns: [])
2450 +
2447 let instanceOfMyApi = MyApi() 2451 let instanceOfMyApi = MyApi()
2448 instanceOfMyApi.verifyTicketAsync(guid, ticket, verifyAsyncCallback, failureBlock: verifyAsyncFailureCallback) 2452 instanceOfMyApi.verifyTicketAsync(guid, ticket, verifyAsyncCallback, failureBlock: verifyAsyncFailureCallback)
2449 2453
...@@ -4911,6 +4915,10 @@ public class swiftApi { ...@@ -4911,6 +4915,10 @@ public class swiftApi {
4911 4915
4912 public func getCosmoteUserAsync(guid: String, _ getCosmoteUserCallback: @escaping (_ responseData: GenericResponseModel?) -> Void) -> Void { 4916 public func getCosmoteUserAsync(guid: String, _ getCosmoteUserCallback: @escaping (_ responseData: GenericResponseModel?) -> Void) -> Void {
4913 4917
4918 + swiftApi().setUserTag("")
4919 + swiftApi().setUserNonTelco(false)
4920 + swiftApi().setCCMSLoyaltyCampaigns(campaigns: [])
4921 +
4914 let instanceOfMyApi = MyApi() 4922 let instanceOfMyApi = MyApi()
4915 instanceOfMyApi.getCosmoteUserAsync(guid, requestCallback, failureBlock: requestFailureCallback) 4923 instanceOfMyApi.getCosmoteUserAsync(guid, requestCallback, failureBlock: requestFailureCallback)
4916 4924
......