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
about a year ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a7d51acf4393478c1a412a1cac48fb66d763171
4a7d51ac
1 parent
b5f3f17d
swift_sdk_development_redesign_2
...
cosmote_sm_coupons
cosmote_sm_magento
cosmote_sm_pass
cosmote_sm_pass_accessibility
eurobank_sdk
swift_sdk_dev_new_coupons
swift_sdk_dev_new_coupons_box
swift_sdk_dev_vouchers
swift_sdk_dev_vouchers_redesign
1.0.1
1.0.0
0.2.84
0.2.83
0.2.82
0.2.81
0.2.80
0.2.79
0.2.78
0.2.77
0.2.76
0.2.75
0.2.74
0.2.73
0.2.72
0.2.71
0.2.70
0.2.69
0.2.68
0.2.67
0.2.66
0.2.65
0.2.64
0.2.63
0.2.62
0.2.61
0.2.60
0.2.59
0.2.58
0.2.57
0.2.56
0.2.55
0.2.54
0.2.53
0.2.52
0.2.51
0.2.50
0.2.49
0.2.48
0.2.47
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.41
0.2.40
0.2.39
0.2.38
0.2.37
0.2.36
add dynatraceEvents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
4a7d51a
...
...
@@ -621,7 +621,7 @@ public class swiftApi {
if
let
responseDataDictionary
=
couponSetsData
as?
[
String
:
AnyObject
]
{
if
(
responseDataDictionary
[
"status"
]
as?
Int
==
1
)
{
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_success_couponset_sm_loyalty"
dynatraceEvent
.
_eventName
=
"custom_success_couponset
s
_sm_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
...
...
@@ -633,21 +633,21 @@ public class swiftApi {
}
}
else
{
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_couponset_sm_loyalty"
dynatraceEvent
.
_eventName
=
"custom_error_couponset
s
_sm_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
}
}
else
{
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_couponset_sm_loyalty"
dynatraceEvent
.
_eventName
=
"custom_error_couponset
s
_sm_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
}
}
else
{
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_couponset_sm_loyalty"
dynatraceEvent
.
_eventName
=
"custom_error_couponset
s
_sm_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
}
...
...
@@ -660,7 +660,7 @@ public class swiftApi {
print
(
"getCouponSetsDeals error: "
)
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_couponset_sm_loyalty"
dynatraceEvent
.
_eventName
=
"custom_error_couponset
s
_sm_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
...
...
@@ -7217,10 +7217,10 @@ public class swiftApi {
if
let
responseDataDictionary
=
responseData
as?
[
String
:
AnyObject
]
{
if
(
responseDataDictionary
[
"status"
]
as?
Int
==
1
)
{
//
let dynatraceEvent = swiftApi.LoyaltySDKDynatraceEventModel()
// dynatraceEvent._eventName = "custom_success_campaig
ns_loyalty"
//
dynatraceEvent._parameters = nil
//
SwiftEventBus.post("dynatrace", sender: dynatraceEvent)
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_success_unified_coupo
ns_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
if
let
responseDataResult
=
responseDataDictionary
[
"result"
]
as?
[
String
:
Any
]
{
if
let
responseDataCoupons
=
responseDataResult
[
"coupons"
]
as?
[[
String
:
Any
]?]
{
...
...
@@ -7274,19 +7274,19 @@ public class swiftApi {
}
}
else
{
//
let dynatraceEvent = swiftApi.LoyaltySDKDynatraceEventModel()
// dynatraceEvent._eventName = "custom_error_campaig
ns_loyalty"
//
dynatraceEvent._parameters = nil
//
SwiftEventBus.post("dynatrace", sender: dynatraceEvent)
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_unified_coupo
ns_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
successCallback
(
nil
)
}
}
else
{
//
let dynatraceEvent = swiftApi.LoyaltySDKDynatraceEventModel()
// dynatraceEvent._eventName = "custom_error_campaig
ns_loyalty"
//
dynatraceEvent._parameters = nil
//
SwiftEventBus.post("dynatrace", sender: dynatraceEvent)
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_unified_coupo
ns_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
successCallback
(
nil
)
}
...
...
@@ -7297,10 +7297,10 @@ public class swiftApi {
print
(
error
)
print
(
"===================="
)
//
let dynatraceEvent = swiftApi.LoyaltySDKDynatraceEventModel()
// dynatraceEvent._eventName = "custom_error_campaig
ns_loyalty"
//
dynatraceEvent._parameters = nil
//
SwiftEventBus.post("dynatrace", sender: dynatraceEvent)
let
dynatraceEvent
=
swiftApi
.
LoyaltySDKDynatraceEventModel
()
dynatraceEvent
.
_eventName
=
"custom_error_unified_coupo
ns_loyalty"
dynatraceEvent
.
_parameters
=
nil
SwiftEventBus
.
post
(
"dynatrace"
,
sender
:
dynatraceEvent
)
successCallback
(
nil
)
}
...
...
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment