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-06-28 13:32:00 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a17c7169772f21f046b17dcce7556a4ffc121498
a17c7169
1 parent
5ca8b6a7
add ProfileModel extra constructor
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
a17c716
...
...
@@ -762,6 +762,44 @@ public class swiftApi {
public
let
optin_sms_segmentation
:
Bool
?
init
()
{
self
.
ack_optin
=
false
self
.
billing_info
=
[
String
:
Any
]()
self
.
birthday
=
""
self
.
burnt_points
=
0.0
self
.
company_name
=
""
self
.
consumer_metadata
=
[
String
:
Any
]()
self
.
display_name
=
""
self
.
email
=
""
self
.
firstname
=
""
self
.
gender
=
""
self
.
image_url
=
""
self
.
language
=
""
self
.
lastname
=
""
self
.
loyalty_id
=
""
self
.
msisdn
=
""
self
.
nameday
=
""
self
.
nickname
=
""
self
.
password_set
=
false
self
.
profile_metadata
=
[
String
:
Any
]()
self
.
redeemed_points
=
0.0
self
.
retrieved_points
=
0.0
self
.
salutation
=
""
self
.
subscribe
=
false
self
.
tags
=
[
String
:
Any
]()
self
.
tax_id
=
""
self
.
user_points
=
0.0
self
.
uuid
=
""
self
.
verified
=
false
// optin
self
.
optin_newsletter
=
false
self
.
optin_sms
=
false
self
.
optin_segmentation
=
false
self
.
optin_sms_segmentation
=
false
}
init
(
dictionary
:
[
String
:
Any
])
{
self
.
ack_optin
=
dictionary
[
"ack_optin"
]
as?
Bool
?
??
false
self
.
billing_info
=
dictionary
[
"billing_info"
]
as?
[
String
:
Any
]?
??
[
""
:
""
]
...
...
Please
register
or
login
to post a comment