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-09-05 16:51:10 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b46888cab4209047c4a469c0ddbe273ea32568e1
b46888ca
1 parent
59edf9d7
update SharingCouponModel
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
b46888c
...
...
@@ -4300,6 +4300,7 @@ public class swiftApi {
private
var
couponset_uuid
:
String
?
private
var
date
:
String
?
private
var
discount
:
String
?
private
var
merchant_uuid
:
String
?
private
var
sharing_type
:
String
?
// private var transaction_metadata: String?
private
var
name
:
String
?
...
...
@@ -4310,6 +4311,7 @@ public class swiftApi {
self
.
couponset_uuid
=
""
self
.
date
=
""
self
.
discount
=
""
self
.
merchant_uuid
=
""
self
.
sharing_type
=
""
// self.transaction_metadata = ""
self
.
name
=
""
...
...
@@ -4320,6 +4322,7 @@ public class swiftApi {
public
init
(
dictionary
:
[
String
:
Any
])
{
self
.
couponset_uuid
=
dictionary
[
"couponset_uuid"
]
as?
String
?
??
""
self
.
discount
=
dictionary
[
"discount"
]
as?
String
?
??
""
self
.
merchant_uuid
=
dictionary
[
"merchant_uuid"
]
as?
String
?
??
""
self
.
sharing_type
=
dictionary
[
"sharing_type"
]
as?
String
?
??
""
// self.transaction_metadata = dictionary["transaction_metadata"] as? String? ?? ""
...
...
@@ -4394,6 +4397,15 @@ public class swiftApi {
}
}
public
var
_merchant_uuid
:
String
{
get
{
// getter
return
self
.
merchant_uuid
??
""
}
set
(
newValue
)
{
//setter
self
.
merchant_uuid
=
newValue
}
}
public
var
_sharing_type
:
String
{
get
{
// getter
return
self
.
sharing_type
??
""
...
...
Please
register
or
login
to post a comment