Showing
1 changed file
with
171 additions
and
2 deletions
| ... | @@ -463,13 +463,41 @@ public class swiftApi { | ... | @@ -463,13 +463,41 @@ public class swiftApi { |
| 463 | private var id: String | 463 | private var id: String |
| 464 | private var businessAdditionalId: String | 464 | private var businessAdditionalId: String |
| 465 | private var treatmentCode: String | 465 | private var treatmentCode: String |
| 466 | - | 466 | + private var offerName: String |
| 467 | - public init(sessionId: String?, eligibleAssets: Array<String>?, id: String?, businessAdditionalId: String?, treatmentCode: String?) { | 467 | + private var productType: String |
| 468 | + private var provDuration: String | ||
| 469 | + private var noOfRecurrance: String | ||
| 470 | + private var price: String | ||
| 471 | + private var discount: String | ||
| 472 | + private var voiceCategory: String | ||
| 473 | + private var dataCategory: String | ||
| 474 | + private var minsValue: String | ||
| 475 | + private var dataValue: String | ||
| 476 | + private var provStepValueMins: String | ||
| 477 | + private var postpayProduct: String | ||
| 478 | + private var notificationMessage: String | ||
| 479 | + private var loyaltyCampaignId: String | ||
| 480 | + | ||
| 481 | + 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?) { | ||
| 468 | self.sessionId = sessionId ?? "" | 482 | self.sessionId = sessionId ?? "" |
| 469 | self.eligibleAssets = eligibleAssets ?? [] | 483 | self.eligibleAssets = eligibleAssets ?? [] |
| 470 | self.id = id ?? "" | 484 | self.id = id ?? "" |
| 471 | self.businessAdditionalId = businessAdditionalId ?? "" | 485 | self.businessAdditionalId = businessAdditionalId ?? "" |
| 472 | self.treatmentCode = treatmentCode ?? "" | 486 | self.treatmentCode = treatmentCode ?? "" |
| 487 | + self.offerName = offerName ?? "" | ||
| 488 | + self.productType = productType ?? "" | ||
| 489 | + self.provDuration = provDuration ?? "" | ||
| 490 | + self.noOfRecurrance = noOfRecurrance ?? "" | ||
| 491 | + self.price = price ?? "" | ||
| 492 | + self.discount = discount ?? "" | ||
| 493 | + self.voiceCategory = voiceCategory ?? "" | ||
| 494 | + self.dataCategory = dataCategory ?? "" | ||
| 495 | + self.minsValue = minsValue ?? "" | ||
| 496 | + self.dataValue = dataValue ?? "" | ||
| 497 | + self.provStepValueMins = provStepValueMins ?? "" | ||
| 498 | + self.postpayProduct = postpayProduct ?? "" | ||
| 499 | + self.notificationMessage = notificationMessage ?? "" | ||
| 500 | + self.loyaltyCampaignId = loyaltyCampaignId ?? "" | ||
| 473 | } | 501 | } |
| 474 | 502 | ||
| 475 | public init() { | 503 | public init() { |
| ... | @@ -478,6 +506,20 @@ public class swiftApi { | ... | @@ -478,6 +506,20 @@ public class swiftApi { |
| 478 | self.id = "" | 506 | self.id = "" |
| 479 | self.businessAdditionalId = "" | 507 | self.businessAdditionalId = "" |
| 480 | self.treatmentCode = "" | 508 | self.treatmentCode = "" |
| 509 | + self.offerName = "" | ||
| 510 | + self.productType = "" | ||
| 511 | + self.provDuration = "" | ||
| 512 | + self.noOfRecurrance = "" | ||
| 513 | + self.price = "" | ||
| 514 | + self.discount = "" | ||
| 515 | + self.voiceCategory = "" | ||
| 516 | + self.dataCategory = "" | ||
| 517 | + self.minsValue = "" | ||
| 518 | + self.dataValue = "" | ||
| 519 | + self.provStepValueMins = "" | ||
| 520 | + self.postpayProduct = "" | ||
| 521 | + self.notificationMessage = "" | ||
| 522 | + self.loyaltyCampaignId = "" | ||
| 481 | } | 523 | } |
| 482 | 524 | ||
| 483 | public var _sessionId: String { | 525 | public var _sessionId: String { |
| ... | @@ -524,6 +566,133 @@ public class swiftApi { | ... | @@ -524,6 +566,133 @@ public class swiftApi { |
| 524 | self.treatmentCode = newValue | 566 | self.treatmentCode = newValue |
| 525 | } | 567 | } |
| 526 | } | 568 | } |
| 569 | + | ||
| 570 | + public var _offerName: String { | ||
| 571 | + get { // getter | ||
| 572 | + return self.offerName | ||
| 573 | + } | ||
| 574 | + set(newValue) { //setter | ||
| 575 | + self.offerName = newValue | ||
| 576 | + } | ||
| 577 | + } | ||
| 578 | + | ||
| 579 | + public var _productType: String { | ||
| 580 | + get { // getter | ||
| 581 | + return self.productType | ||
| 582 | + } | ||
| 583 | + set(newValue) { //setter | ||
| 584 | + self.productType = newValue | ||
| 585 | + } | ||
| 586 | + } | ||
| 587 | + | ||
| 588 | + public var _provDuration: String { | ||
| 589 | + get { // getter | ||
| 590 | + return self.provDuration | ||
| 591 | + } | ||
| 592 | + set(newValue) { //setter | ||
| 593 | + self.provDuration = newValue | ||
| 594 | + } | ||
| 595 | + } | ||
| 596 | + | ||
| 597 | + public var _noOfRecurrance: String { | ||
| 598 | + get { // getter | ||
| 599 | + return self.noOfRecurrance | ||
| 600 | + } | ||
| 601 | + set(newValue) { //setter | ||
| 602 | + self.noOfRecurrance = newValue | ||
| 603 | + } | ||
| 604 | + } | ||
| 605 | + | ||
| 606 | + public var _price: String { | ||
| 607 | + get { // getter | ||
| 608 | + return self.price | ||
| 609 | + } | ||
| 610 | + set(newValue) { //setter | ||
| 611 | + self.price = newValue | ||
| 612 | + } | ||
| 613 | + } | ||
| 614 | + | ||
| 615 | + public var _discount: String { | ||
| 616 | + get { // getter | ||
| 617 | + return self.discount | ||
| 618 | + } | ||
| 619 | + set(newValue) { //setter | ||
| 620 | + self.discount = newValue | ||
| 621 | + } | ||
| 622 | + } | ||
| 623 | + | ||
| 624 | + public var _voiceCategory: String { | ||
| 625 | + get { // getter | ||
| 626 | + return self.voiceCategory | ||
| 627 | + } | ||
| 628 | + set(newValue) { //setter | ||
| 629 | + self.voiceCategory = newValue | ||
| 630 | + } | ||
| 631 | + } | ||
| 632 | + | ||
| 633 | + public var _dataCategory: String { | ||
| 634 | + get { // getter | ||
| 635 | + return self.dataCategory | ||
| 636 | + } | ||
| 637 | + set(newValue) { //setter | ||
| 638 | + self.dataCategory = newValue | ||
| 639 | + } | ||
| 640 | + } | ||
| 641 | + | ||
| 642 | + public var _minsValue: String { | ||
| 643 | + get { // getter | ||
| 644 | + return self.minsValue | ||
| 645 | + } | ||
| 646 | + set(newValue) { //setter | ||
| 647 | + self.minsValue = newValue | ||
| 648 | + } | ||
| 649 | + } | ||
| 650 | + | ||
| 651 | + public var _dataValue: String { | ||
| 652 | + get { // getter | ||
| 653 | + return self.dataValue | ||
| 654 | + } | ||
| 655 | + set(newValue) { //setter | ||
| 656 | + self.dataValue = newValue | ||
| 657 | + } | ||
| 658 | + } | ||
| 659 | + | ||
| 660 | + public var _provStepValueMins: String { | ||
| 661 | + get { // getter | ||
| 662 | + return self.provStepValueMins | ||
| 663 | + } | ||
| 664 | + set(newValue) { //setter | ||
| 665 | + self.provStepValueMins = newValue | ||
| 666 | + } | ||
| 667 | + } | ||
| 668 | + | ||
| 669 | + public var _postpayProduct: String { | ||
| 670 | + get { // getter | ||
| 671 | + return self.postpayProduct | ||
| 672 | + } | ||
| 673 | + set(newValue) { //setter | ||
| 674 | + self.postpayProduct = newValue | ||
| 675 | + } | ||
| 676 | + } | ||
| 677 | + | ||
| 678 | + public var _notificationMessage: String { | ||
| 679 | + get { // getter | ||
| 680 | + return self.notificationMessage | ||
| 681 | + } | ||
| 682 | + set(newValue) { //setter | ||
| 683 | + self.notificationMessage = newValue | ||
| 684 | + } | ||
| 685 | + } | ||
| 686 | + | ||
| 687 | + public var _loyaltyCampaignId: String { | ||
| 688 | + get { // getter | ||
| 689 | + return self.loyaltyCampaignId | ||
| 690 | + } | ||
| 691 | + set(newValue) { //setter | ||
| 692 | + self.loyaltyCampaignId = newValue | ||
| 693 | + } | ||
| 694 | + } | ||
| 695 | + | ||
| 527 | } | 696 | } |
| 528 | 697 | ||
| 529 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | 698 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | ... | ... |
-
Please register or login to post a comment