Showing
1 changed file
with
40 additions
and
0 deletions
... | @@ -8675,4 +8675,44 @@ public class swiftApi { | ... | @@ -8675,4 +8675,44 @@ public class swiftApi { |
8675 | } | 8675 | } |
8676 | 8676 | ||
8677 | 8677 | ||
8678 | + public class WalletActiveCouponBadgeModel { | ||
8679 | + private var id: String | ||
8680 | + private var count: Int | ||
8681 | + private var weight: Int | ||
8682 | + | ||
8683 | + public init() { | ||
8684 | + self.id = "" | ||
8685 | + self.count = 0 | ||
8686 | + self.weight = 0 | ||
8687 | + } | ||
8688 | + | ||
8689 | + public var _id: String { | ||
8690 | + get { // getter | ||
8691 | + return self.id | ||
8692 | + } | ||
8693 | + set(newValue) { //setter | ||
8694 | + self.id = newValue | ||
8695 | + } | ||
8696 | + } | ||
8697 | + | ||
8698 | + public var _count: Int { | ||
8699 | + get { // getter | ||
8700 | + return self.count | ||
8701 | + } | ||
8702 | + set(newValue) { //setter | ||
8703 | + self.count = newValue | ||
8704 | + } | ||
8705 | + } | ||
8706 | + | ||
8707 | + public var _weight: Int { | ||
8708 | + get { // getter | ||
8709 | + return self.weight | ||
8710 | + } | ||
8711 | + set(newValue) { //setter | ||
8712 | + self.weight = newValue | ||
8713 | + } | ||
8714 | + } | ||
8715 | + } | ||
8716 | + | ||
8717 | + | ||
8678 | } | 8718 | } | ... | ... |
-
Please register or login to post a comment