Manos Chorianopoulos

CustomerStateModel, LoyaltySDKDeeplinkEventModel

No preview for this file type
...@@ -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>
......
...@@ -1133,5 +1133,72 @@ public class swiftApi { ...@@ -1133,5 +1133,72 @@ public class swiftApi {
1133 } 1133 }
1134 } 1134 }
1135 } 1135 }
1136 +
1137 +
1138 + public class CustomerStateModel {
1139 + private var nonTelco: Bool
1140 + private var acceptedConsent: Bool
1141 +
1142 +
1143 + public init() {
1144 + self.nonTelco = false
1145 + self.acceptedConsent = false
1146 +
1147 + }
1148 +
1149 + public var _nonTelco: Bool {
1150 + get { // getter
1151 + return self.nonTelco
1152 + }
1153 + set(newValue) { //setter
1154 + self.nonTelco = newValue
1155 + }
1156 + }
1157 +
1158 + public var _acceptedConsent: Bool {
1159 + get { // getter
1160 + return self.acceptedConsent
1161 + }
1162 + set(newValue) { //setter
1163 + self.acceptedConsent = newValue
1164 + }
1165 + }
1166 + }
1167 +
1168 +
1169 + public func loadCustomerState(_ customer: CustomerStateModel) -> Void {
1170 +
1171 + }
1172 +
1173 +
1174 + public class LoyaltySDKDeeplinkEventModel {
1175 + private var deeplinkUrl: String
1176 + private var parameters: [String: Any]
1177 +
1178 +
1179 + public init() {
1180 + self.deeplinkUrl = ""
1181 + self.parameters = [String: Any]()
1182 +
1183 + }
1184 +
1185 + public var _deeplinkUrl: String {
1186 + get { // getter
1187 + return self.deeplinkUrl
1188 + }
1189 + set(newValue) { //setter
1190 + self.deeplinkUrl = newValue
1191 + }
1192 + }
1193 +
1194 + public var _parameters: [String: Any] {
1195 + get { // getter
1196 + return self.parameters
1197 + }
1198 + set(newValue) { //setter
1199 + self.parameters = newValue
1200 + }
1201 + }
1202 + }
1136 1203
1137 } 1204 }
......