Showing
1 changed file
with
110 additions
and
2 deletions
... | @@ -520,8 +520,17 @@ public class swiftApi { | ... | @@ -520,8 +520,17 @@ public class swiftApi { |
520 | private var postpayProduct: String | 520 | private var postpayProduct: String |
521 | private var notificationMessage: String | 521 | private var notificationMessage: String |
522 | private var loyaltyCampaignId: String | 522 | private var loyaltyCampaignId: String |
523 | - | 523 | + private var businessService: String |
524 | - public init(sessionId: String?, eligibleAssets: Array<String>?, id: String?, businessAdditionalId: String?, treatmentCode: String?, offerName: String?, productType: String?, provDuration: String?, noOfRecurrance: String?, price: String?, discount: String?, voiceCategory: String?, dataCategory: String?, minsValue: String?, dataValue: String?, provStepValueMins: String?, postpayProduct: String?, notificationMessage: String?, loyaltyCampaignId: String?) { | 524 | + private var uaciOfferTrackingCode: String |
525 | + private var offerCode1: String | ||
526 | + private var score: String | ||
527 | + private var zone: String | ||
528 | + private var wave: String | ||
529 | + private var validity: String | ||
530 | + private var treatment_code: String | ||
531 | + private var offerAudienceLevel: String | ||
532 | + | ||
533 | + public init(sessionId: String?, eligibleAssets: Array<String>?, id: String?, businessAdditionalId: String?, treatmentCode: String?, offerName: String?, productType: String?, provDuration: String?, noOfRecurrance: String?, price: String?, discount: String?, voiceCategory: String?, dataCategory: String?, minsValue: String?, dataValue: String?, provStepValueMins: String?, postpayProduct: String?, notificationMessage: String?, loyaltyCampaignId: String?, businessService: String?, uaciOfferTrackingCode: String?, offerCode1: String?, score: String?, zone: String?, wave: String?, validity: String?, treatment_code: String?, offerAudienceLevel: String?) { | ||
525 | self.sessionId = sessionId ?? "" | 534 | self.sessionId = sessionId ?? "" |
526 | self.eligibleAssets = eligibleAssets ?? [] | 535 | self.eligibleAssets = eligibleAssets ?? [] |
527 | self.id = id ?? "" | 536 | self.id = id ?? "" |
... | @@ -541,6 +550,15 @@ public class swiftApi { | ... | @@ -541,6 +550,15 @@ public class swiftApi { |
541 | self.postpayProduct = postpayProduct ?? "" | 550 | self.postpayProduct = postpayProduct ?? "" |
542 | self.notificationMessage = notificationMessage ?? "" | 551 | self.notificationMessage = notificationMessage ?? "" |
543 | self.loyaltyCampaignId = loyaltyCampaignId ?? "" | 552 | self.loyaltyCampaignId = loyaltyCampaignId ?? "" |
553 | + self.businessService = businessService ?? "" | ||
554 | + self.uaciOfferTrackingCode = uaciOfferTrackingCode ?? "" | ||
555 | + self.offerCode1 = offerCode1 ?? "" | ||
556 | + self.score = score ?? "" | ||
557 | + self.zone = zone ?? "" | ||
558 | + self.wave = wave ?? "" | ||
559 | + self.validity = validity ?? "" | ||
560 | + self.treatment_code = treatment_code ?? "" | ||
561 | + self.offerAudienceLevel = offerAudienceLevel ?? "" | ||
544 | } | 562 | } |
545 | 563 | ||
546 | public init() { | 564 | public init() { |
... | @@ -563,6 +581,15 @@ public class swiftApi { | ... | @@ -563,6 +581,15 @@ public class swiftApi { |
563 | self.postpayProduct = "" | 581 | self.postpayProduct = "" |
564 | self.notificationMessage = "" | 582 | self.notificationMessage = "" |
565 | self.loyaltyCampaignId = "" | 583 | self.loyaltyCampaignId = "" |
584 | + self.businessService = "" | ||
585 | + self.uaciOfferTrackingCode = "" | ||
586 | + self.offerCode1 = "" | ||
587 | + self.score = "" | ||
588 | + self.zone = "" | ||
589 | + self.wave = "" | ||
590 | + self.validity = "" | ||
591 | + self.treatment_code = "" | ||
592 | + self.offerAudienceLevel = "" | ||
566 | } | 593 | } |
567 | 594 | ||
568 | public var _sessionId: String { | 595 | public var _sessionId: String { |
... | @@ -736,6 +763,87 @@ public class swiftApi { | ... | @@ -736,6 +763,87 @@ public class swiftApi { |
736 | } | 763 | } |
737 | } | 764 | } |
738 | 765 | ||
766 | + public var _businessService: String { | ||
767 | + get { // getter | ||
768 | + return self.businessService | ||
769 | + } | ||
770 | + set(newValue) { //setter | ||
771 | + self.businessService = newValue | ||
772 | + } | ||
773 | + } | ||
774 | + | ||
775 | + public var _uaciOfferTrackingCode: String { | ||
776 | + get { // getter | ||
777 | + return self.uaciOfferTrackingCode | ||
778 | + } | ||
779 | + set(newValue) { //setter | ||
780 | + self.uaciOfferTrackingCode = newValue | ||
781 | + } | ||
782 | + } | ||
783 | + | ||
784 | + public var _offerCode1: String { | ||
785 | + get { // getter | ||
786 | + return self.offerCode1 | ||
787 | + } | ||
788 | + set(newValue) { //setter | ||
789 | + self.offerCode1 = newValue | ||
790 | + } | ||
791 | + } | ||
792 | + | ||
793 | + public var _score: String { | ||
794 | + get { // getter | ||
795 | + return self.score | ||
796 | + } | ||
797 | + set(newValue) { //setter | ||
798 | + self.score = newValue | ||
799 | + } | ||
800 | + } | ||
801 | + | ||
802 | + public var _zone: String { | ||
803 | + get { // getter | ||
804 | + return self.zone | ||
805 | + } | ||
806 | + set(newValue) { //setter | ||
807 | + self.zone = newValue | ||
808 | + } | ||
809 | + } | ||
810 | + | ||
811 | + public var _wave: String { | ||
812 | + get { // getter | ||
813 | + return self.wave | ||
814 | + } | ||
815 | + set(newValue) { //setter | ||
816 | + self.wave = newValue | ||
817 | + } | ||
818 | + } | ||
819 | + | ||
820 | + public var _validity: String { | ||
821 | + get { // getter | ||
822 | + return self.validity | ||
823 | + } | ||
824 | + set(newValue) { //setter | ||
825 | + self.validity = newValue | ||
826 | + } | ||
827 | + } | ||
828 | + | ||
829 | + public var _treatment_code: String { | ||
830 | + get { // getter | ||
831 | + return self.treatment_code | ||
832 | + } | ||
833 | + set(newValue) { //setter | ||
834 | + self.treatment_code = newValue | ||
835 | + } | ||
836 | + } | ||
837 | + | ||
838 | + public var _offerAudienceLevel: String { | ||
839 | + get { // getter | ||
840 | + return self.offerAudienceLevel | ||
841 | + } | ||
842 | + set(newValue) { //setter | ||
843 | + self.offerAudienceLevel = newValue | ||
844 | + } | ||
845 | + } | ||
846 | + | ||
739 | } | 847 | } |
740 | 848 | ||
741 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | 849 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | ... | ... |
-
Please register or login to post a comment