Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -762,7 +762,7 @@ public class swiftApi { | ... | @@ -762,7 +762,7 @@ public class swiftApi { |
762 | public let optin_sms_segmentation: Bool? | 762 | public let optin_sms_segmentation: Bool? |
763 | 763 | ||
764 | 764 | ||
765 | - init() { | 765 | + public init() { |
766 | self.ack_optin = false | 766 | self.ack_optin = false |
767 | self.billing_info = [String: Any]() | 767 | self.billing_info = [String: Any]() |
768 | self.birthday = "" | 768 | self.birthday = "" |
... | @@ -800,7 +800,7 @@ public class swiftApi { | ... | @@ -800,7 +800,7 @@ public class swiftApi { |
800 | 800 | ||
801 | } | 801 | } |
802 | 802 | ||
803 | - init(dictionary: [String: Any]) { | 803 | + public init(dictionary: [String: Any]) { |
804 | self.ack_optin = dictionary["ack_optin"] as? Bool? ?? false | 804 | self.ack_optin = dictionary["ack_optin"] as? Bool? ?? false |
805 | self.billing_info = dictionary["billing_info"] as? [String: Any]? ?? ["":""] | 805 | self.billing_info = dictionary["billing_info"] as? [String: Any]? ?? ["":""] |
806 | self.birthday = dictionary["birthday"] as? String? ?? "" | 806 | self.birthday = dictionary["birthday"] as? String? ?? "" | ... | ... |
-
Please register or login to post a comment