Showing
4 changed files
with
549 additions
and
549 deletions
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4-cosbeta32' | 5 | + PUBLISH_VERSION = '4.5.4-cosbeta33' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
... | @@ -479,510 +479,510 @@ public enum Warply { | ... | @@ -479,510 +479,510 @@ public enum Warply { |
479 | public void onSuccess(CampaignList result) { | 479 | public void onSuccess(CampaignList result) { |
480 | WarplyManagerHelper.setCampaignList(result); | 480 | WarplyManagerHelper.setCampaignList(result); |
481 | 481 | ||
482 | - ArrayList<LoyaltyContextualOfferModel> list = new ArrayList<>(); | 482 | +// ArrayList<LoyaltyContextualOfferModel> list = new ArrayList<>(); |
483 | - JSONArray jArray = null; | 483 | +// JSONArray jArray = null; |
484 | - try { | 484 | +// try { |
485 | - jArray = new JSONArray("[\n" + | 485 | +// jArray = new JSONArray("[\n" + |
486 | - " {\n" + | 486 | +// " {\n" + |
487 | - " \"UACIOfferTrackingCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + | 487 | +// " \"UACIOfferTrackingCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + |
488 | - " \"businessAdditionalId\": \"\",\n" + | 488 | +// " \"businessAdditionalId\": \"\",\n" + |
489 | - " \"dataCategory\": \"Data\",\n" + | 489 | +// " \"dataCategory\": \"Data\",\n" + |
490 | - " \"dataValue\": \"None\",\n" + | 490 | +// " \"dataValue\": \"None\",\n" + |
491 | - " \"discount\": \"None\",\n" + | 491 | +// " \"discount\": \"None\",\n" + |
492 | - " \"eligibleAssets\": [\n" + | 492 | +// " \"eligibleAssets\": [\n" + |
493 | - " \"306945218770\",\n" + | 493 | +// " \"306945218770\",\n" + |
494 | - " \"306944333488\",\n" + | 494 | +// " \"306944333488\",\n" + |
495 | - " \"306932222490\",\n" + | 495 | +// " \"306932222490\",\n" + |
496 | - " \"306996824010\",\n" + | 496 | +// " \"306996824010\",\n" + |
497 | - " \"306972713201\",\n" + | 497 | +// " \"306972713201\",\n" + |
498 | - " \"306942496252\",\n" + | 498 | +// " \"306942496252\",\n" + |
499 | - " \"306977316716\",\n" + | 499 | +// " \"306977316716\",\n" + |
500 | - " \"306945433100\",\n" + | 500 | +// " \"306945433100\",\n" + |
501 | - " \"306977403986\",\n" + | 501 | +// " \"306977403986\",\n" + |
502 | - " \"306936581495\",\n" + | 502 | +// " \"306936581495\",\n" + |
503 | - " \"306980689662\",\n" + | 503 | +// " \"306980689662\",\n" + |
504 | - " \"306970101490\",\n" + | 504 | +// " \"306970101490\",\n" + |
505 | - " \"306973396329\",\n" + | 505 | +// " \"306973396329\",\n" + |
506 | - " \"306972577064\",\n" + | 506 | +// " \"306972577064\",\n" + |
507 | - " \"306974923219\",\n" + | 507 | +// " \"306974923219\",\n" + |
508 | - " \"306977513761\",\n" + | 508 | +// " \"306977513761\",\n" + |
509 | - " \"306984220987\",\n" + | 509 | +// " \"306984220987\",\n" + |
510 | - " \"306979949205\",\n" + | 510 | +// " \"306979949205\",\n" + |
511 | - " \"306943134127\",\n" + | 511 | +// " \"306943134127\",\n" + |
512 | - " \"306970437794\",\n" + | 512 | +// " \"306970437794\",\n" + |
513 | - " \"306932535319\",\n" + | 513 | +// " \"306932535319\",\n" + |
514 | - " \"306974063133\",\n" + | 514 | +// " \"306974063133\",\n" + |
515 | - " \"306932520323\",\n" + | 515 | +// " \"306932520323\",\n" + |
516 | - " \"306978733823\",\n" + | 516 | +// " \"306978733823\",\n" + |
517 | - " \"306985995420\",\n" + | 517 | +// " \"306985995420\",\n" + |
518 | - " \"306983879555\",\n" + | 518 | +// " \"306983879555\",\n" + |
519 | - " ],\n" + | 519 | +// " ],\n" + |
520 | - " \"id\": \"000003590\",\n" + | 520 | +// " \"id\": \"000003590\",\n" + |
521 | - " \"loyaltyCampaignId\": \"NA\",\n" + | 521 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
522 | - " \"minsValue\": \"None\",\n" + | 522 | +// " \"minsValue\": \"None\",\n" + |
523 | - " \"noOfRecurrance\": \"None\",\n" + | 523 | +// " \"noOfRecurrance\": \"None\",\n" + |
524 | - " \"notificationMessage\": \"None\",\n" + | 524 | +// " \"notificationMessage\": \"None\",\n" + |
525 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 525 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
526 | - " \"offerCode1\": \"000003590\",\n" + | 526 | +// " \"offerCode1\": \"000003590\",\n" + |
527 | - " \"offerName\": \"CCMS loyalty white label\",\n" + | 527 | +// " \"offerName\": \"CCMS loyalty white label\",\n" + |
528 | - " \"price\": \"None\",\n" + | 528 | +// " \"price\": \"None\",\n" + |
529 | - " \"productType\": \"White Label\",\n" + | 529 | +// " \"productType\": \"White Label\",\n" + |
530 | - " \"provDuration\": \"0.0\",\n" + | 530 | +// " \"provDuration\": \"0.0\",\n" + |
531 | - " \"provStepValueMins\": \"None\",\n" + | 531 | +// " \"provStepValueMins\": \"None\",\n" + |
532 | - " \"score\": \"50\",\n" + | 532 | +// " \"score\": \"50\",\n" + |
533 | - " \"treatmentCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + | 533 | +// " \"treatmentCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + |
534 | - " \"validity\": \"0\",\n" + | 534 | +// " \"validity\": \"0\",\n" + |
535 | - " \"voiceCategory\": \"None\",\n" + | 535 | +// " \"voiceCategory\": \"None\",\n" + |
536 | - " \"wave\": \"1\",\n" + | 536 | +// " \"wave\": \"1\",\n" + |
537 | - " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 537 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
538 | - " },\n" + | 538 | +// " },\n" + |
539 | - " {\n" + | 539 | +// " {\n" + |
540 | - " \"UACIOfferTrackingCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + | 540 | +// " \"UACIOfferTrackingCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + |
541 | - " \"businessAdditionalId\": \"\",\n" + | 541 | +// " \"businessAdditionalId\": \"\",\n" + |
542 | - " \"dataCategory\": \"Data\",\n" + | 542 | +// " \"dataCategory\": \"Data\",\n" + |
543 | - " \"dataValue\": \"None\",\n" + | 543 | +// " \"dataValue\": \"None\",\n" + |
544 | - " \"discount\": \"None\",\n" + | 544 | +// " \"discount\": \"None\",\n" + |
545 | - " \"eligibleAssets\": [\n" + | 545 | +// " \"eligibleAssets\": [\n" + |
546 | - " \"306945218770\",\n" + | 546 | +// " \"306945218770\",\n" + |
547 | - " \"306944333488\",\n" + | 547 | +// " \"306944333488\",\n" + |
548 | - " \"306932222490\",\n" + | 548 | +// " \"306932222490\",\n" + |
549 | - " \"306996824010\",\n" + | 549 | +// " \"306996824010\",\n" + |
550 | - " \"306972713201\",\n" + | 550 | +// " \"306972713201\",\n" + |
551 | - " \"306942496252\",\n" + | 551 | +// " \"306942496252\",\n" + |
552 | - " \"306977316716\",\n" + | 552 | +// " \"306977316716\",\n" + |
553 | - " \"306945433100\",\n" + | 553 | +// " \"306945433100\",\n" + |
554 | - " \"306977403986\",\n" + | 554 | +// " \"306977403986\",\n" + |
555 | - " \"306936581495\",\n" + | 555 | +// " \"306936581495\",\n" + |
556 | - " \"306980689662\",\n" + | 556 | +// " \"306980689662\",\n" + |
557 | - " \"306970101490\",\n" + | 557 | +// " \"306970101490\",\n" + |
558 | - " \"306973396329\",\n" + | 558 | +// " \"306973396329\",\n" + |
559 | - " \"306972577064\",\n" + | 559 | +// " \"306972577064\",\n" + |
560 | - " \"306974923219\",\n" + | 560 | +// " \"306974923219\",\n" + |
561 | - " \"306977513761\",\n" + | 561 | +// " \"306977513761\",\n" + |
562 | - " \"306984220987\",\n" + | 562 | +// " \"306984220987\",\n" + |
563 | - " \"306979949205\",\n" + | 563 | +// " \"306979949205\",\n" + |
564 | - " \"306943134127\",\n" + | 564 | +// " \"306943134127\",\n" + |
565 | - " \"306970437794\",\n" + | 565 | +// " \"306970437794\",\n" + |
566 | - " \"306932535319\",\n" + | 566 | +// " \"306932535319\",\n" + |
567 | - " \"306974063133\",\n" + | 567 | +// " \"306974063133\",\n" + |
568 | - " \"306932520323\",\n" + | 568 | +// " \"306932520323\",\n" + |
569 | - " \"306978733823\",\n" + | 569 | +// " \"306978733823\",\n" + |
570 | - " \"306985995420\",\n" + | 570 | +// " \"306985995420\",\n" + |
571 | - " \"306983879555\",\n" + | 571 | +// " \"306983879555\",\n" + |
572 | - " ],\n" + | 572 | +// " ],\n" + |
573 | - " \"id\": \"000003599\",\n" + | 573 | +// " \"id\": \"000003599\",\n" + |
574 | - " \"loyaltyCampaignId\": \"9a92d445956145f6bbc5cd20cef543b9\",\n" + //c5cc5f4f65624f47a580b720233fa60d | 574 | +// " \"loyaltyCampaignId\": \"9a92d445956145f6bbc5cd20cef543b9\",\n" + //c5cc5f4f65624f47a580b720233fa60d |
575 | - " \"minsValue\": \"None\",\n" + | 575 | +// " \"minsValue\": \"None\",\n" + |
576 | - " \"noOfRecurrance\": \"None\",\n" + | 576 | +// " \"noOfRecurrance\": \"None\",\n" + |
577 | - " \"notificationMessage\": \"None\",\n" + | 577 | +// " \"notificationMessage\": \"None\",\n" + |
578 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 578 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
579 | - " \"offerCode1\": \"000003599\",\n" + | 579 | +// " \"offerCode1\": \"000003599\",\n" + |
580 | - " \"offerName\": \"CCMS loyalty white label with campaignId\",\n" + | 580 | +// " \"offerName\": \"CCMS loyalty white label with campaignId\",\n" + |
581 | - " \"price\": \"None\",\n" + | 581 | +// " \"price\": \"None\",\n" + |
582 | - " \"productType\": \"White Label\",\n" + | 582 | +// " \"productType\": \"White Label\",\n" + |
583 | - " \"provDuration\": \"0.0\",\n" + | 583 | +// " \"provDuration\": \"0.0\",\n" + |
584 | - " \"provStepValueMins\": \"None\",\n" + | 584 | +// " \"provStepValueMins\": \"None\",\n" + |
585 | - " \"score\": \"50\",\n" + | 585 | +// " \"score\": \"50\",\n" + |
586 | - " \"treatmentCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + | 586 | +// " \"treatmentCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + |
587 | - " \"validity\": \"0\",\n" + | 587 | +// " \"validity\": \"0\",\n" + |
588 | - " \"voiceCategory\": \"None\",\n" + | 588 | +// " \"voiceCategory\": \"None\",\n" + |
589 | - " \"wave\": \"1\",\n" + | 589 | +// " \"wave\": \"1\",\n" + |
590 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 590 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
591 | - " \"title\": \"Test1\",\n" + | 591 | +// " \"title\": \"Test1\",\n" + |
592 | - " \"subtitle\": \"Test1\",\n" + | 592 | +// " \"subtitle\": \"Test1\",\n" + |
593 | - " \"description\": \"Test1\",\n" + | 593 | +// " \"description\": \"Test1\",\n" + |
594 | - " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 594 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
595 | - " },\n" + | 595 | +// " },\n" + |
596 | - " {\n" + | 596 | +// " {\n" + |
597 | - " \"UACIOfferTrackingCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + | 597 | +// " \"UACIOfferTrackingCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + |
598 | - " \"businessAdditionalId\": \"\",\n" + | 598 | +// " \"businessAdditionalId\": \"\",\n" + |
599 | - " \"businessService\": \"0.0\",\n" + | 599 | +// " \"businessService\": \"0.0\",\n" + |
600 | - " \"eligibleAssets\": [\n" + | 600 | +// " \"eligibleAssets\": [\n" + |
601 | - " \"306945218770\",\n" + | 601 | +// " \"306945218770\",\n" + |
602 | - " \"306944333488\",\n" + | 602 | +// " \"306944333488\",\n" + |
603 | - " \"306932222490\",\n" + | 603 | +// " \"306932222490\",\n" + |
604 | - " \"306996824010\",\n" + | 604 | +// " \"306996824010\",\n" + |
605 | - " \"306972713201\",\n" + | 605 | +// " \"306972713201\",\n" + |
606 | - " \"306942496252\",\n" + | 606 | +// " \"306942496252\",\n" + |
607 | - " \"306977316716\",\n" + | 607 | +// " \"306977316716\",\n" + |
608 | - " \"306945433100\",\n" + | 608 | +// " \"306945433100\",\n" + |
609 | - " \"306977403986\",\n" + | 609 | +// " \"306977403986\",\n" + |
610 | - " \"306936581495\",\n" + | 610 | +// " \"306936581495\",\n" + |
611 | - " \"306980689662\",\n" + | 611 | +// " \"306980689662\",\n" + |
612 | - " \"306970101490\",\n" + | 612 | +// " \"306970101490\",\n" + |
613 | - " \"306973396329\",\n" + | 613 | +// " \"306973396329\",\n" + |
614 | - " \"306972577064\",\n" + | 614 | +// " \"306972577064\",\n" + |
615 | - " \"306974923219\",\n" + | 615 | +// " \"306974923219\",\n" + |
616 | - " \"306977513761\",\n" + | 616 | +// " \"306977513761\",\n" + |
617 | - " \"306984220987\",\n" + | 617 | +// " \"306984220987\",\n" + |
618 | - " \"306979949205\",\n" + | 618 | +// " \"306979949205\",\n" + |
619 | - " \"306943134127\",\n" + | 619 | +// " \"306943134127\",\n" + |
620 | - " \"306970437794\",\n" + | 620 | +// " \"306970437794\",\n" + |
621 | - " \"306932535319\",\n" + | 621 | +// " \"306932535319\",\n" + |
622 | - " \"306974063133\",\n" + | 622 | +// " \"306974063133\",\n" + |
623 | - " \"306932520323\",\n" + | 623 | +// " \"306932520323\",\n" + |
624 | - " \"306978733823\",\n" + | 624 | +// " \"306978733823\",\n" + |
625 | - " \"306985995420\",\n" + | 625 | +// " \"306985995420\",\n" + |
626 | - " \"306983879555\",\n" + | 626 | +// " \"306983879555\",\n" + |
627 | - " ],\n" + | 627 | +// " ],\n" + |
628 | - " \"id\": \"000003588\",\n" + | 628 | +// " \"id\": \"000003588\",\n" + |
629 | - " \"loyaltyCampaignId\": \"NA\",\n" + | 629 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
630 | - " \"noOfRecurrance\": \"0\",\n" + | 630 | +// " \"noOfRecurrance\": \"0\",\n" + |
631 | - " \"notificationMessage\": \"None\",\n" + | 631 | +// " \"notificationMessage\": \"None\",\n" + |
632 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 632 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
633 | - " \"offerCode1\": \"000003588\",\n" + | 633 | +// " \"offerCode1\": \"000003588\",\n" + |
634 | - " \"offerName\": \"CCMS loyalty postpay addon\",\n" + | 634 | +// " \"offerName\": \"CCMS loyalty postpay addon\",\n" + |
635 | - " \"postpayProduct\": \"0.0\",\n" + | 635 | +// " \"postpayProduct\": \"0.0\",\n" + |
636 | - " \"price\": \"None\",\n" + | 636 | +// " \"price\": \"None\",\n" + |
637 | - " \"productType\": \"MOBILE ADDON\",\n" + | 637 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
638 | - " \"provDuration\": \"0.0\",\n" + | 638 | +// " \"provDuration\": \"0.0\",\n" + |
639 | - " \"score\": \"50\",\n" + | 639 | +// " \"score\": \"50\",\n" + |
640 | - " \"treatmentCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + | 640 | +// " \"treatmentCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + |
641 | - " \"validity\": \"0\",\n" + | 641 | +// " \"validity\": \"0\",\n" + |
642 | - " \"wave\": \"1\",\n" + | 642 | +// " \"wave\": \"1\",\n" + |
643 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 643 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
644 | - " \"title\": \"Test2\",\n" + | 644 | +// " \"title\": \"Test2\",\n" + |
645 | - " \"subtitle\": \"Test2\",\n" + | 645 | +// " \"subtitle\": \"Test2\",\n" + |
646 | - " \"description\": \"Test2\",\n" + | 646 | +// " \"description\": \"Test2\",\n" + |
647 | - " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 647 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
648 | - " },\n" + | 648 | +// " },\n" + |
649 | - " {\n" + | 649 | +// " {\n" + |
650 | - " \"UACIOfferTrackingCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + | 650 | +// " \"UACIOfferTrackingCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + |
651 | - " \"businessAdditionalId\": \"\",\n" + | 651 | +// " \"businessAdditionalId\": \"\",\n" + |
652 | - " \"dataCategory\": \"Data\",\n" + | 652 | +// " \"dataCategory\": \"Data\",\n" + |
653 | - " \"dataValue\": \"None\",\n" + | 653 | +// " \"dataValue\": \"None\",\n" + |
654 | - " \"discount\": \"None\",\n" + | 654 | +// " \"discount\": \"None\",\n" + |
655 | - " \"eligibleAssets\": [\n" + | 655 | +// " \"eligibleAssets\": [\n" + |
656 | - " \"306945218770\",\n" + | 656 | +// " \"306945218770\",\n" + |
657 | - " \"306944333488\",\n" + | 657 | +// " \"306944333488\",\n" + |
658 | - " \"306932222490\",\n" + | 658 | +// " \"306932222490\",\n" + |
659 | - " \"306996824010\",\n" + | 659 | +// " \"306996824010\",\n" + |
660 | - " \"306972713201\",\n" + | 660 | +// " \"306972713201\",\n" + |
661 | - " \"306942496252\",\n" + | 661 | +// " \"306942496252\",\n" + |
662 | - " \"306977316716\",\n" + | 662 | +// " \"306977316716\",\n" + |
663 | - " \"306945433100\",\n" + | 663 | +// " \"306945433100\",\n" + |
664 | - " \"306977403986\",\n" + | 664 | +// " \"306977403986\",\n" + |
665 | - " \"306936581495\",\n" + | 665 | +// " \"306936581495\",\n" + |
666 | - " \"306980689662\",\n" + | 666 | +// " \"306980689662\",\n" + |
667 | - " \"306970101490\",\n" + | 667 | +// " \"306970101490\",\n" + |
668 | - " \"306973396329\",\n" + | 668 | +// " \"306973396329\",\n" + |
669 | - " \"306972577064\",\n" + | 669 | +// " \"306972577064\",\n" + |
670 | - " \"306974923219\",\n" + | 670 | +// " \"306974923219\",\n" + |
671 | - " \"306977513761\",\n" + | 671 | +// " \"306977513761\",\n" + |
672 | - " \"306984220987\",\n" + | 672 | +// " \"306984220987\",\n" + |
673 | - " \"306979949205\",\n" + | 673 | +// " \"306979949205\",\n" + |
674 | - " \"306943134127\",\n" + | 674 | +// " \"306943134127\",\n" + |
675 | - " \"306970437794\",\n" + | 675 | +// " \"306970437794\",\n" + |
676 | - " \"306932535319\",\n" + | 676 | +// " \"306932535319\",\n" + |
677 | - " \"306974063133\",\n" + | 677 | +// " \"306974063133\",\n" + |
678 | - " \"306932520323\",\n" + | 678 | +// " \"306932520323\",\n" + |
679 | - " \"306978733823\",\n" + | 679 | +// " \"306978733823\",\n" + |
680 | - " \"306985995420\",\n" + | 680 | +// " \"306985995420\",\n" + |
681 | - " \"306983879555\",\n" + | 681 | +// " \"306983879555\",\n" + |
682 | - " ],\n" + | 682 | +// " ],\n" + |
683 | - " \"id\": \"000003608\",\n" + | 683 | +// " \"id\": \"000003608\",\n" + |
684 | - " \"loyaltyCampaignId\": \"c134cdeb8a924f8eac38e261acb9caf5\",\n" + | 684 | +// " \"loyaltyCampaignId\": \"c134cdeb8a924f8eac38e261acb9caf5\",\n" + |
685 | - " \"minsValue\": \"None\",\n" + | 685 | +// " \"minsValue\": \"None\",\n" + |
686 | - " \"noOfRecurrance\": \"None\",\n" + | 686 | +// " \"noOfRecurrance\": \"None\",\n" + |
687 | - " \"notificationMessage\": \"None\",\n" + | 687 | +// " \"notificationMessage\": \"None\",\n" + |
688 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 688 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
689 | - " \"offerCode1\": \"000003608\",\n" + | 689 | +// " \"offerCode1\": \"000003608\",\n" + |
690 | - " \"offerName\": \"CCMS loyalty gifts4u v1\",\n" + | 690 | +// " \"offerName\": \"CCMS loyalty gifts4u v1\",\n" + |
691 | - " \"price\": \"None\",\n" + | 691 | +// " \"price\": \"None\",\n" + |
692 | - " \"productType\": \"White Label\",\n" + | 692 | +// " \"productType\": \"White Label\",\n" + |
693 | - " \"provDuration\": \"0.0\",\n" + | 693 | +// " \"provDuration\": \"0.0\",\n" + |
694 | - " \"provStepValueMins\": \"None\",\n" + | 694 | +// " \"provStepValueMins\": \"None\",\n" + |
695 | - " \"score\": \"50\",\n" + | 695 | +// " \"score\": \"50\",\n" + |
696 | - " \"treatmentCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + | 696 | +// " \"treatmentCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + |
697 | - " \"validity\": \"0\",\n" + | 697 | +// " \"validity\": \"0\",\n" + |
698 | - " \"voiceCategory\": \"None\",\n" + | 698 | +// " \"voiceCategory\": \"None\",\n" + |
699 | - " \"wave\": \"1\",\n" + | 699 | +// " \"wave\": \"1\",\n" + |
700 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 700 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
701 | - " \"title\": \"Test3\",\n" + | 701 | +// " \"title\": \"Test3\",\n" + |
702 | - " \"subtitle\": \"Test3\",\n" + | 702 | +// " \"subtitle\": \"Test3\",\n" + |
703 | - " \"description\": \"Test3\",\n" + | 703 | +// " \"description\": \"Test3\",\n" + |
704 | - " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 704 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
705 | - " },\n" + | 705 | +// " },\n" + |
706 | - " {\n" + | 706 | +// " {\n" + |
707 | - " \"UACIOfferTrackingCode\": \"5228.e1d.38378e61.750186c1\",\n" + | 707 | +// " \"UACIOfferTrackingCode\": \"5228.e1d.38378e61.750186c1\",\n" + |
708 | - " \"businessAdditionalId\": \"\",\n" + | 708 | +// " \"businessAdditionalId\": \"\",\n" + |
709 | - " \"businessService\": \"0.0\",\n" + | 709 | +// " \"businessService\": \"0.0\",\n" + |
710 | - " \"eligibleAssets\": [\n" + | 710 | +// " \"eligibleAssets\": [\n" + |
711 | - " \"306945218770\",\n" + | 711 | +// " \"306945218770\",\n" + |
712 | - " \"306944333488\",\n" + | 712 | +// " \"306944333488\",\n" + |
713 | - " \"306932222490\",\n" + | 713 | +// " \"306932222490\",\n" + |
714 | - " \"306996824010\",\n" + | 714 | +// " \"306996824010\",\n" + |
715 | - " \"306972713201\",\n" + | 715 | +// " \"306972713201\",\n" + |
716 | - " \"306942496252\",\n" + | 716 | +// " \"306942496252\",\n" + |
717 | - " \"306977316716\",\n" + | 717 | +// " \"306977316716\",\n" + |
718 | - " \"306945433100\",\n" + | 718 | +// " \"306945433100\",\n" + |
719 | - " \"306977403986\",\n" + | 719 | +// " \"306977403986\",\n" + |
720 | - " \"306936581495\",\n" + | 720 | +// " \"306936581495\",\n" + |
721 | - " \"306980689662\",\n" + | 721 | +// " \"306980689662\",\n" + |
722 | - " \"306970101490\",\n" + | 722 | +// " \"306970101490\",\n" + |
723 | - " \"306973396329\",\n" + | 723 | +// " \"306973396329\",\n" + |
724 | - " \"306972577064\",\n" + | 724 | +// " \"306972577064\",\n" + |
725 | - " \"306974923219\",\n" + | 725 | +// " \"306974923219\",\n" + |
726 | - " \"306977513761\",\n" + | 726 | +// " \"306977513761\",\n" + |
727 | - " \"306984220987\",\n" + | 727 | +// " \"306984220987\",\n" + |
728 | - " \"306979949205\",\n" + | 728 | +// " \"306979949205\",\n" + |
729 | - " \"306943134127\",\n" + | 729 | +// " \"306943134127\",\n" + |
730 | - " \"306970437794\",\n" + | 730 | +// " \"306970437794\",\n" + |
731 | - " \"306932535319\",\n" + | 731 | +// " \"306932535319\",\n" + |
732 | - " \"306974063133\",\n" + | 732 | +// " \"306974063133\",\n" + |
733 | - " \"306932520323\",\n" + | 733 | +// " \"306932520323\",\n" + |
734 | - " \"306978733823\",\n" + | 734 | +// " \"306978733823\",\n" + |
735 | - " \"306985995420\",\n" + | 735 | +// " \"306985995420\",\n" + |
736 | - " \"306983879555\",\n" + | 736 | +// " \"306983879555\",\n" + |
737 | - " ],\n" + | 737 | +// " ],\n" + |
738 | - " \"id\": \"000003612\",\n" + | 738 | +// " \"id\": \"000003612\",\n" + |
739 | - " \"loyaltyCampaignId\": \"8eb71c4ceaff409c896e2d1f6f1c20f3\",\n" + | 739 | +// " \"loyaltyCampaignId\": \"8eb71c4ceaff409c896e2d1f6f1c20f3\",\n" + |
740 | - " \"noOfRecurrance\": \"0\",\n" + | 740 | +// " \"noOfRecurrance\": \"0\",\n" + |
741 | - " \"notificationMessage\": \"None\",\n" + | 741 | +// " \"notificationMessage\": \"None\",\n" + |
742 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 742 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
743 | - " \"offerCode1\": \"000003612\",\n" + | 743 | +// " \"offerCode1\": \"000003612\",\n" + |
744 | - " \"offerName\": \"CCMS loyalty - postpay addon gifts4u\",\n" + | 744 | +// " \"offerName\": \"CCMS loyalty - postpay addon gifts4u\",\n" + |
745 | - " \"postpayProduct\": \"0.0\",\n" + | 745 | +// " \"postpayProduct\": \"0.0\",\n" + |
746 | - " \"price\": \"None\",\n" + | 746 | +// " \"price\": \"None\",\n" + |
747 | - " \"productType\": \"MOBILE ADDON\",\n" + | 747 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
748 | - " \"provDuration\": \"0.0\",\n" + | 748 | +// " \"provDuration\": \"0.0\",\n" + |
749 | - " \"score\": \"50\",\n" + | 749 | +// " \"score\": \"50\",\n" + |
750 | - " \"treatmentCode\": \"5228.e1d.38378e61.750186c1\",\n" + | 750 | +// " \"treatmentCode\": \"5228.e1d.38378e61.750186c1\",\n" + |
751 | - " \"validity\": \"0\",\n" + | 751 | +// " \"validity\": \"0\",\n" + |
752 | - " \"wave\": \"1\",\n" + | 752 | +// " \"wave\": \"1\",\n" + |
753 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 753 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
754 | - " \"title\": \"Test4\",\n" + | 754 | +// " \"title\": \"Test4\",\n" + |
755 | - " \"subtitle\": \"Test4\",\n" + | 755 | +// " \"subtitle\": \"Test4\",\n" + |
756 | - " \"description\": \"Test4\",\n" + | 756 | +// " \"description\": \"Test4\",\n" + |
757 | - " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 757 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
758 | - " },\n" + | 758 | +// " },\n" + |
759 | - " {\n" + | 759 | +// " {\n" + |
760 | - " \"UACIOfferTrackingCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + | 760 | +// " \"UACIOfferTrackingCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + |
761 | - " \"businessAdditionalId\": \"\",\n" + | 761 | +// " \"businessAdditionalId\": \"\",\n" + |
762 | - " \"dataCategory\": \"Data\",\n" + | 762 | +// " \"dataCategory\": \"Data\",\n" + |
763 | - " \"dataValue\": \"None\",\n" + | 763 | +// " \"dataValue\": \"None\",\n" + |
764 | - " \"discount\": \"None\",\n" + | 764 | +// " \"discount\": \"None\",\n" + |
765 | - " \"eligibleAssets\": [\n" + | 765 | +// " \"eligibleAssets\": [\n" + |
766 | - " \"306945218770\",\n" + | 766 | +// " \"306945218770\",\n" + |
767 | - " \"306944333488\",\n" + | 767 | +// " \"306944333488\",\n" + |
768 | - " \"306932222490\",\n" + | 768 | +// " \"306932222490\",\n" + |
769 | - " \"306996824010\",\n" + | 769 | +// " \"306996824010\",\n" + |
770 | - " \"306972713201\",\n" + | 770 | +// " \"306972713201\",\n" + |
771 | - " \"306942496252\",\n" + | 771 | +// " \"306942496252\",\n" + |
772 | - " \"306977316716\",\n" + | 772 | +// " \"306977316716\",\n" + |
773 | - " \"306945433100\",\n" + | 773 | +// " \"306945433100\",\n" + |
774 | - " \"306977403986\",\n" + | 774 | +// " \"306977403986\",\n" + |
775 | - " \"306936581495\",\n" + | 775 | +// " \"306936581495\",\n" + |
776 | - " \"306980689662\",\n" + | 776 | +// " \"306980689662\",\n" + |
777 | - " \"306970101490\",\n" + | 777 | +// " \"306970101490\",\n" + |
778 | - " \"306973396329\",\n" + | 778 | +// " \"306973396329\",\n" + |
779 | - " \"306972577064\",\n" + | 779 | +// " \"306972577064\",\n" + |
780 | - " \"306974923219\",\n" + | 780 | +// " \"306974923219\",\n" + |
781 | - " \"306977513761\",\n" + | 781 | +// " \"306977513761\",\n" + |
782 | - " \"306984220987\",\n" + | 782 | +// " \"306984220987\",\n" + |
783 | - " \"306979949205\",\n" + | 783 | +// " \"306979949205\",\n" + |
784 | - " \"306943134127\",\n" + | 784 | +// " \"306943134127\",\n" + |
785 | - " \"306970437794\",\n" + | 785 | +// " \"306970437794\",\n" + |
786 | - " \"306932535319\",\n" + | 786 | +// " \"306932535319\",\n" + |
787 | - " \"306974063133\",\n" + | 787 | +// " \"306974063133\",\n" + |
788 | - " \"306932520323\",\n" + | 788 | +// " \"306932520323\",\n" + |
789 | - " \"306978733823\",\n" + | 789 | +// " \"306978733823\",\n" + |
790 | - " \"306985995420\",\n" + | 790 | +// " \"306985995420\",\n" + |
791 | - " \"306983879555\",\n" + | 791 | +// " \"306983879555\",\n" + |
792 | - " ],\n" + | 792 | +// " ],\n" + |
793 | - " \"id\": \"000003610\",\n" + | 793 | +// " \"id\": \"000003610\",\n" + |
794 | - " \"loyaltyCampaignId\": \"8e2c88ec94c948d8b51577324ed9a4d5\",\n" + | 794 | +// " \"loyaltyCampaignId\": \"8e2c88ec94c948d8b51577324ed9a4d5\",\n" + |
795 | - " \"minsValue\": \"None\",\n" + | 795 | +// " \"minsValue\": \"None\",\n" + |
796 | - " \"noOfRecurrance\": \"None\",\n" + | 796 | +// " \"noOfRecurrance\": \"None\",\n" + |
797 | - " \"notificationMessage\": \"None\",\n" + | 797 | +// " \"notificationMessage\": \"None\",\n" + |
798 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 798 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
799 | - " \"offerCode1\": \"000003610\",\n" + | 799 | +// " \"offerCode1\": \"000003610\",\n" + |
800 | - " \"offerName\": \"CCMS loyalty more4u v1\",\n" + | 800 | +// " \"offerName\": \"CCMS loyalty more4u v1\",\n" + |
801 | - " \"price\": \"20\",\n" + | 801 | +// " \"price\": \"20\",\n" + |
802 | - " \"productType\": \"White Label\",\n" + | 802 | +// " \"productType\": \"White Label\",\n" + |
803 | - " \"provDuration\": \"7.0\",\n" + | 803 | +// " \"provDuration\": \"7.0\",\n" + |
804 | - " \"provStepValueMins\": \"None\",\n" + | 804 | +// " \"provStepValueMins\": \"None\",\n" + |
805 | - " \"score\": \"60\",\n" + | 805 | +// " \"score\": \"60\",\n" + |
806 | - " \"treatmentCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + | 806 | +// " \"treatmentCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + |
807 | - " \"validity\": \"0\",\n" + | 807 | +// " \"validity\": \"0\",\n" + |
808 | - " \"voiceCategory\": \"None\",\n" + | 808 | +// " \"voiceCategory\": \"None\",\n" + |
809 | - " \"wave\": \"1\",\n" + | 809 | +// " \"wave\": \"1\",\n" + |
810 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 810 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
811 | - " \"title\": \"Test5\",\n" + | 811 | +// " \"title\": \"Test5\",\n" + |
812 | - " \"subtitle\": \"Test5\",\n" + | 812 | +// " \"subtitle\": \"Test5\",\n" + |
813 | - " \"description\": \"Test5\",\n" + | 813 | +// " \"description\": \"Test5\",\n" + |
814 | - " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 814 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
815 | - " },\n" + | 815 | +// " },\n" + |
816 | - " {\n" + | 816 | +// " {\n" + |
817 | - " \"UACIOfferTrackingCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + | 817 | +// " \"UACIOfferTrackingCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + |
818 | - " \"businessAdditionalId\": \"\",\n" + | 818 | +// " \"businessAdditionalId\": \"\",\n" + |
819 | - " \"businessService\": \"0.0\",\n" + | 819 | +// " \"businessService\": \"0.0\",\n" + |
820 | - " \"eligibleAssets\": [\n" + | 820 | +// " \"eligibleAssets\": [\n" + |
821 | - " \"306945218770\",\n" + | 821 | +// " \"306945218770\",\n" + |
822 | - " \"306944333488\",\n" + | 822 | +// " \"306944333488\",\n" + |
823 | - " \"306932222490\",\n" + | 823 | +// " \"306932222490\",\n" + |
824 | - " \"306996824010\",\n" + | 824 | +// " \"306996824010\",\n" + |
825 | - " \"306972713201\",\n" + | 825 | +// " \"306972713201\",\n" + |
826 | - " \"306942496252\",\n" + | 826 | +// " \"306942496252\",\n" + |
827 | - " \"306977316716\",\n" + | 827 | +// " \"306977316716\",\n" + |
828 | - " \"306945433100\",\n" + | 828 | +// " \"306945433100\",\n" + |
829 | - " \"306977403986\",\n" + | 829 | +// " \"306977403986\",\n" + |
830 | - " \"306936581495\",\n" + | 830 | +// " \"306936581495\",\n" + |
831 | - " \"306980689662\",\n" + | 831 | +// " \"306980689662\",\n" + |
832 | - " \"306970101490\",\n" + | 832 | +// " \"306970101490\",\n" + |
833 | - " \"306973396329\",\n" + | 833 | +// " \"306973396329\",\n" + |
834 | - " \"306972577064\",\n" + | 834 | +// " \"306972577064\",\n" + |
835 | - " \"306974923219\",\n" + | 835 | +// " \"306974923219\",\n" + |
836 | - " \"306977513761\",\n" + | 836 | +// " \"306977513761\",\n" + |
837 | - " \"306984220987\",\n" + | 837 | +// " \"306984220987\",\n" + |
838 | - " \"306979949205\",\n" + | 838 | +// " \"306979949205\",\n" + |
839 | - " \"306943134127\",\n" + | 839 | +// " \"306943134127\",\n" + |
840 | - " \"306970437794\",\n" + | 840 | +// " \"306970437794\",\n" + |
841 | - " \"306932535319\",\n" + | 841 | +// " \"306932535319\",\n" + |
842 | - " \"306974063133\",\n" + | 842 | +// " \"306974063133\",\n" + |
843 | - " \"306932520323\",\n" + | 843 | +// " \"306932520323\",\n" + |
844 | - " \"306978733823\",\n" + | 844 | +// " \"306978733823\",\n" + |
845 | - " \"306985995420\",\n" + | 845 | +// " \"306985995420\",\n" + |
846 | - " \"306983879555\",\n" + | 846 | +// " \"306983879555\",\n" + |
847 | - " ],\n" + | 847 | +// " ],\n" + |
848 | - " \"id\": \"000003614\",\n" + | 848 | +// " \"id\": \"000003614\",\n" + |
849 | - " \"loyaltyCampaignId\": \"aaf4022194584f02bb84c7b283c7c51e\",\n" + | 849 | +// " \"loyaltyCampaignId\": \"aaf4022194584f02bb84c7b283c7c51e\",\n" + |
850 | - " \"noOfRecurrance\": \"0\",\n" + | 850 | +// " \"noOfRecurrance\": \"0\",\n" + |
851 | - " \"notificationMessage\": \"None\",\n" + | 851 | +// " \"notificationMessage\": \"None\",\n" + |
852 | - " \"offerAudienceLevel\": \"msisdn\",\n" + | 852 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
853 | - " \"offerCode1\": \"000003614\",\n" + | 853 | +// " \"offerCode1\": \"000003614\",\n" + |
854 | - " \"offerName\": \"CCMS loyalty - postpay addon more4u\",\n" + | 854 | +// " \"offerName\": \"CCMS loyalty - postpay addon more4u\",\n" + |
855 | - " \"postpayProduct\": \"0.0\",\n" + | 855 | +// " \"postpayProduct\": \"0.0\",\n" + |
856 | - " \"price\": \"None\",\n" + | 856 | +// " \"price\": \"None\",\n" + |
857 | - " \"productType\": \"MOBILE ADDON\",\n" + | 857 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
858 | - " \"provDuration\": \"0.0\",\n" + | 858 | +// " \"provDuration\": \"0.0\",\n" + |
859 | - " \"score\": \"50\",\n" + | 859 | +// " \"score\": \"50\",\n" + |
860 | - " \"treatmentCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + | 860 | +// " \"treatmentCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + |
861 | - " \"validity\": \"0\",\n" + | 861 | +// " \"validity\": \"0\",\n" + |
862 | - " \"wave\": \"1\",\n" + | 862 | +// " \"wave\": \"1\",\n" + |
863 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 863 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
864 | - " \"title\": \"Test6\",\n" + | 864 | +// " \"title\": \"Test6\",\n" + |
865 | - " \"subtitle\": \"Test6\",\n" + | 865 | +// " \"subtitle\": \"Test6\",\n" + |
866 | - " \"description\": \"Test6\",\n" + | 866 | +// " \"description\": \"Test6\",\n" + |
867 | - " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 867 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
868 | - " },\n" + | 868 | +// " },\n" + |
869 | - " {\n" + | 869 | +// " {\n" + |
870 | - " \"UACIOfferTrackingCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 870 | +// " \"UACIOfferTrackingCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
871 | - " \"businessAdditionalId\": \"\",\n" + | 871 | +// " \"businessAdditionalId\": \"\",\n" + |
872 | - " \"eligibleAssets\": [],\n" + | 872 | +// " \"eligibleAssets\": [],\n" + |
873 | - " \"id\": \"000003586\",\n" + | 873 | +// " \"id\": \"000003586\",\n" + |
874 | - " \"loyaltyCampaignId\": \"NA\",\n" + | 874 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
875 | - " \"offerAudienceLevel\": \"guid\",\n" + | 875 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
876 | - " \"offerCode1\": \"000003586\",\n" + | 876 | +// " \"offerCode1\": \"000003586\",\n" + |
877 | - " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 877 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
878 | - " \"productType\": \"GENERIC\",\n" + | 878 | +// " \"productType\": \"GENERIC\",\n" + |
879 | - " \"score\": \"50\",\n" + | 879 | +// " \"score\": \"50\",\n" + |
880 | - " \"treatmentCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 880 | +// " \"treatmentCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
881 | - " \"validity\": \"0\",\n" + | 881 | +// " \"validity\": \"0\",\n" + |
882 | - " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 882 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
883 | - " },\n" + | 883 | +// " },\n" + |
884 | - " {\n" + | 884 | +// " {\n" + |
885 | - " \"UACIOfferTrackingCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + | 885 | +// " \"UACIOfferTrackingCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + |
886 | - " \"businessAdditionalId\": \"\",\n" + | 886 | +// " \"businessAdditionalId\": \"\",\n" + |
887 | - " \"eligibleAssets\": [],\n" + | 887 | +// " \"eligibleAssets\": [],\n" + |
888 | - " \"id\": \"000003595\",\n" + | 888 | +// " \"id\": \"000003595\",\n" + |
889 | - " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 889 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
890 | - " \"offerAudienceLevel\": \"guid\",\n" + | 890 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
891 | - " \"offerCode1\": \"000003595\",\n" + | 891 | +// " \"offerCode1\": \"000003595\",\n" + |
892 | - " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 892 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
893 | - " \"productType\": \"GENERIC\",\n" + | 893 | +// " \"productType\": \"GENERIC\",\n" + |
894 | - " \"score\": \"50\",\n" + | 894 | +// " \"score\": \"50\",\n" + |
895 | - " \"treatmentCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + | 895 | +// " \"treatmentCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + |
896 | - " \"validity\": \"0\",\n" + | 896 | +// " \"validity\": \"0\",\n" + |
897 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 897 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
898 | - " \"title\": \"Test7\",\n" + | 898 | +// " \"title\": \"Test7\",\n" + |
899 | - " \"subtitle\": \"Test7\",\n" + | 899 | +// " \"subtitle\": \"Test7\",\n" + |
900 | - " \"description\": \"Test7\",\n" + | 900 | +// " \"description\": \"Test7\",\n" + |
901 | - " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 901 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
902 | - " },\n" + | 902 | +// " },\n" + |
903 | - " {\n" + | 903 | +// " {\n" + |
904 | - " \"UACIOfferTrackingCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + | 904 | +// " \"UACIOfferTrackingCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + |
905 | - " \"businessAdditionalId\": \"\",\n" + | 905 | +// " \"businessAdditionalId\": \"\",\n" + |
906 | - " \"eligibleAssets\": [],\n" + | 906 | +// " \"eligibleAssets\": [],\n" + |
907 | - " \"id\": \"000003595\",\n" + | 907 | +// " \"id\": \"000003595\",\n" + |
908 | - " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 908 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
909 | - " \"offerAudienceLevel\": \"guid\",\n" + | 909 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
910 | - " \"offerCode1\": \"000003595\",\n" + | 910 | +// " \"offerCode1\": \"000003595\",\n" + |
911 | - " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 911 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
912 | - " \"productType\": \"GENERIC\",\n" + | 912 | +// " \"productType\": \"GENERIC\",\n" + |
913 | - " \"score\": \"50\",\n" + | 913 | +// " \"score\": \"50\",\n" + |
914 | - " \"treatmentCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + | 914 | +// " \"treatmentCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + |
915 | - " \"validity\": \"0\",\n" + | 915 | +// " \"validity\": \"0\",\n" + |
916 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 916 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
917 | - " \"title\": \"Test8\",\n" + | 917 | +// " \"title\": \"Test8\",\n" + |
918 | - " \"subtitle\": \"Test8\",\n" + | 918 | +// " \"subtitle\": \"Test8\",\n" + |
919 | - " \"description\": \"Test8\",\n" + | 919 | +// " \"description\": \"Test8\",\n" + |
920 | - " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 920 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
921 | - " },\n" + | 921 | +// " },\n" + |
922 | - " {\n" + | 922 | +// " {\n" + |
923 | - " \"UACIOfferTrackingCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 923 | +// " \"UACIOfferTrackingCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
924 | - " \"businessAdditionalId\": \"\",\n" + | 924 | +// " \"businessAdditionalId\": \"\",\n" + |
925 | - " \"eligibleAssets\": [],\n" + | 925 | +// " \"eligibleAssets\": [],\n" + |
926 | - " \"id\": \"000003586\",\n" + | 926 | +// " \"id\": \"000003586\",\n" + |
927 | - " \"loyaltyCampaignId\": \"NA\",\n" + | 927 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
928 | - " \"offerAudienceLevel\": \"guid\",\n" + | 928 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
929 | - " \"offerCode1\": \"000003586\",\n" + | 929 | +// " \"offerCode1\": \"000003586\",\n" + |
930 | - " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 930 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
931 | - " \"productType\": \"GENERIC\",\n" + | 931 | +// " \"productType\": \"GENERIC\",\n" + |
932 | - " \"score\": \"50\",\n" + | 932 | +// " \"score\": \"50\",\n" + |
933 | - " \"treatmentCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 933 | +// " \"treatmentCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
934 | - " \"validity\": \"0\",\n" + | 934 | +// " \"validity\": \"0\",\n" + |
935 | - " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 935 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
936 | - " },\n" + | 936 | +// " },\n" + |
937 | - " {\n" + | 937 | +// " {\n" + |
938 | - " \"UACIOfferTrackingCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 938 | +// " \"UACIOfferTrackingCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
939 | - " \"businessAdditionalId\": \"\",\n" + | 939 | +// " \"businessAdditionalId\": \"\",\n" + |
940 | - " \"eligibleAssets\": [],\n" + | 940 | +// " \"eligibleAssets\": [],\n" + |
941 | - " \"id\": \"000003586\",\n" + | 941 | +// " \"id\": \"000003586\",\n" + |
942 | - " \"loyaltyCampaignId\": \"NA\",\n" + | 942 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
943 | - " \"offerAudienceLevel\": \"guid\",\n" + | 943 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
944 | - " \"offerCode1\": \"000003586\",\n" + | 944 | +// " \"offerCode1\": \"000003586\",\n" + |
945 | - " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 945 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
946 | - " \"productType\": \"GENERIC\",\n" + | 946 | +// " \"productType\": \"GENERIC\",\n" + |
947 | - " \"score\": \"50\",\n" + | 947 | +// " \"score\": \"50\",\n" + |
948 | - " \"treatmentCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 948 | +// " \"treatmentCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
949 | - " \"validity\": \"0\",\n" + | 949 | +// " \"validity\": \"0\",\n" + |
950 | - " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 950 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
951 | - " },\n" + | 951 | +// " },\n" + |
952 | - " {\n" + | 952 | +// " {\n" + |
953 | - " \"UACIOfferTrackingCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + | 953 | +// " \"UACIOfferTrackingCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + |
954 | - " \"businessAdditionalId\": \"\",\n" + | 954 | +// " \"businessAdditionalId\": \"\",\n" + |
955 | - " \"eligibleAssets\": [],\n" + | 955 | +// " \"eligibleAssets\": [],\n" + |
956 | - " \"id\": \"000003595\",\n" + | 956 | +// " \"id\": \"000003595\",\n" + |
957 | - " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 957 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
958 | - " \"offerAudienceLevel\": \"guid\",\n" + | 958 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
959 | - " \"offerCode1\": \"000003595\",\n" + | 959 | +// " \"offerCode1\": \"000003595\",\n" + |
960 | - " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 960 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
961 | - " \"productType\": \"GENERIC\",\n" + | 961 | +// " \"productType\": \"GENERIC\",\n" + |
962 | - " \"score\": \"50\",\n" + | 962 | +// " \"score\": \"50\",\n" + |
963 | - " \"treatmentCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + | 963 | +// " \"treatmentCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + |
964 | - " \"validity\": \"0\",\n" + | 964 | +// " \"validity\": \"0\",\n" + |
965 | - " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 965 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
966 | - " \"title\": \"Test9\",\n" + | 966 | +// " \"title\": \"Test9\",\n" + |
967 | - " \"subtitle\": \"Test9\",\n" + | 967 | +// " \"subtitle\": \"Test9\",\n" + |
968 | - " \"description\": \"Test9\",\n" + | 968 | +// " \"description\": \"Test9\",\n" + |
969 | - " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 969 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
970 | - " }\n" + | 970 | +// " }\n" + |
971 | - " ]"); | 971 | +// " ]"); |
972 | - } catch (JSONException e) { | 972 | +// } catch (JSONException e) { |
973 | - e.printStackTrace(); | 973 | +// e.printStackTrace(); |
974 | - } | 974 | +// } |
975 | - if (jArray != null && jArray.length() > 0) { | 975 | +// if (jArray != null && jArray.length() > 0) { |
976 | - for (int i = 0; i < jArray.length(); i++) { | 976 | +// for (int i = 0; i < jArray.length(); i++) { |
977 | - JSONObject jobj = new JSONObject(); | 977 | +// JSONObject jobj = new JSONObject(); |
978 | - jobj = jArray.optJSONObject(i); | 978 | +// jobj = jArray.optJSONObject(i); |
979 | - if (jobj != null) { | 979 | +// if (jobj != null) { |
980 | - LoyaltyContextualOfferModel model = new LoyaltyContextualOfferModel(jobj); | 980 | +// LoyaltyContextualOfferModel model = new LoyaltyContextualOfferModel(jobj); |
981 | - list.add(model); | 981 | +// list.add(model); |
982 | - } | 982 | +// } |
983 | - } | 983 | +// } |
984 | - } | 984 | +// } |
985 | - WarplyManagerHelper.setCCMSLoyaltyCampaigns(list); | 985 | +// WarplyManagerHelper.setCCMSLoyaltyCampaigns(list); |
986 | 986 | ||
987 | if (result.size() >= 0) { | 987 | if (result.size() >= 0) { |
988 | objectSerializer.serialize(result, File.separator + requestSignature); | 988 | objectSerializer.serialize(result, File.separator + requestSignature); | ... | ... |
... | @@ -179,17 +179,17 @@ public class GiftsForYouActivity extends Activity implements View.OnClickListene | ... | @@ -179,17 +179,17 @@ public class GiftsForYouActivity extends Activity implements View.OnClickListene |
179 | try { | 179 | try { |
180 | JSONObject extraFields = WarpJSONParser.getJSONFromString(dataItem.getCampaign().getExtraFields()); | 180 | JSONObject extraFields = WarpJSONParser.getJSONFromString(dataItem.getCampaign().getExtraFields()); |
181 | if (extraFields != null) { | 181 | if (extraFields != null) { |
182 | - if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { | 182 | +// if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { |
183 | - for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 183 | +// for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
184 | - if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { | 184 | +// if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { |
185 | - Intent intent = new Intent(GiftsForYouActivity.this, TelcoActivity.class); | 185 | +// Intent intent = new Intent(GiftsForYouActivity.this, TelcoActivity.class); |
186 | - intent.putExtra("ccms", ccms); | 186 | +// intent.putExtra("ccms", ccms); |
187 | - startActivity(intent); | 187 | +// startActivity(intent); |
188 | - break; | 188 | +// break; |
189 | - } | 189 | +// } |
190 | - } | 190 | +// } |
191 | - return; | 191 | +// return; |
192 | - } | 192 | +// } |
193 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { | 193 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { |
194 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 194 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
195 | if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { | 195 | if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { |
... | @@ -271,17 +271,17 @@ public class GiftsForYouActivity extends Activity implements View.OnClickListene | ... | @@ -271,17 +271,17 @@ public class GiftsForYouActivity extends Activity implements View.OnClickListene |
271 | try { | 271 | try { |
272 | JSONObject extraFields = WarpJSONParser.getJSONFromString(dataItem.getCampaign().getExtraFields()); | 272 | JSONObject extraFields = WarpJSONParser.getJSONFromString(dataItem.getCampaign().getExtraFields()); |
273 | if (extraFields != null) { | 273 | if (extraFields != null) { |
274 | - if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { | 274 | +// if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { |
275 | - for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 275 | +// for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
276 | - if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { | 276 | +// if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { |
277 | - Intent intent = new Intent(GiftsForYouActivity.this, TelcoActivity.class); | 277 | +// Intent intent = new Intent(GiftsForYouActivity.this, TelcoActivity.class); |
278 | - intent.putExtra("ccms", ccms); | 278 | +// intent.putExtra("ccms", ccms); |
279 | - startActivity(intent); | 279 | +// startActivity(intent); |
280 | - break; | 280 | +// break; |
281 | - } | 281 | +// } |
282 | - } | 282 | +// } |
283 | - return; | 283 | +// return; |
284 | - } | 284 | +// } |
285 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { | 285 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { |
286 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 286 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
287 | if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { | 287 | if (ccms.getLoyaltyCampaignId().equals(dataItem.getCampaign().getSessionUUID())) { | ... | ... |
... | @@ -123,17 +123,17 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener | ... | @@ -123,17 +123,17 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener |
123 | try { | 123 | try { |
124 | JSONObject extraFields = WarpJSONParser.getJSONFromString(gift.getExtraFields()); | 124 | JSONObject extraFields = WarpJSONParser.getJSONFromString(gift.getExtraFields()); |
125 | if (extraFields != null) { | 125 | if (extraFields != null) { |
126 | - if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { | 126 | +// if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { |
127 | - for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 127 | +// for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
128 | - if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { | 128 | +// if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { |
129 | - Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class); | 129 | +// Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class); |
130 | - intent.putExtra("ccms", ccms); | 130 | +// intent.putExtra("ccms", ccms); |
131 | - startActivity(intent); | 131 | +// startActivity(intent); |
132 | - break; | 132 | +// break; |
133 | - } | 133 | +// } |
134 | - } | 134 | +// } |
135 | - return; | 135 | +// return; |
136 | - } | 136 | +// } |
137 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { | 137 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { |
138 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 138 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
139 | if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { | 139 | if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { |
... | @@ -184,17 +184,17 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener | ... | @@ -184,17 +184,17 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener |
184 | try { | 184 | try { |
185 | JSONObject extraFields = WarpJSONParser.getJSONFromString(gift.getExtraFields()); | 185 | JSONObject extraFields = WarpJSONParser.getJSONFromString(gift.getExtraFields()); |
186 | if (extraFields != null) { | 186 | if (extraFields != null) { |
187 | - if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { | 187 | +// if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { |
188 | - for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 188 | +// for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
189 | - if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { | 189 | +// if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { |
190 | - Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class); | 190 | +// Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class); |
191 | - intent.putExtra("ccms", ccms); | 191 | +// intent.putExtra("ccms", ccms); |
192 | - startActivity(intent); | 192 | +// startActivity(intent); |
193 | - break; | 193 | +// break; |
194 | - } | 194 | +// } |
195 | - } | 195 | +// } |
196 | - return; | 196 | +// return; |
197 | - } | 197 | +// } |
198 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { | 198 | if (extraFields.has("ccms_offer") && extraFields.optString("ccms_offer").equals("true")) { |
199 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { | 199 | for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { |
200 | if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { | 200 | if (ccms.getLoyaltyCampaignId().equals(gift.getSessionUUID())) { | ... | ... |
-
Please register or login to post a comment