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-05-25 15:13:03 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dbc3c999b863f5f030a64ec76268c1a769308a94
dbc3c999
1 parent
6e6f46df
add LoyaltySDKFirebaseEventModel
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
dbc3c99
...
...
@@ -1041,4 +1041,46 @@ public class swiftApi {
}
}
public
class
LoyaltySDKFirebaseEventModel
{
private
var
eventName
:
String
private
var
parameters
:
[
String
:
String
]
public
init
()
{
self
.
eventName
=
""
self
.
parameters
=
[
String
:
String
]()
}
public
var
_eventName
:
String
{
get
{
// getter
return
self
.
eventName
}
set
(
newValue
)
{
//setter
self
.
eventName
=
newValue
}
}
public
var
_parameters
:
[
String
:
String
]
{
get
{
// getter
return
self
.
parameters
}
set
(
newValue
)
{
//setter
self
.
parameters
=
newValue
}
}
public
var
setParameter
:
(
key
:
String
,
value
:
String
)
{
@available(*, unavailable)
get
{
// fatalError("You cannot read from this object.")
return
(
key
:
""
,
value
:
""
)
}
set
(
newValue
)
{
//setter
self
.
parameters
.
updateValue
(
newValue
.
1
,
forKey
:
newValue
.
0
)
}
}
}
}
...
...
Please
register
or
login
to post a comment