Panagiotis Triantafyllou

new version

...@@ -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-cosbeta6' 5 + PUBLISH_VERSION = '4.5.4-cosbeta7'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -10,6 +10,16 @@ public class LoyaltyContextualOfferModel { ...@@ -10,6 +10,16 @@ public class LoyaltyContextualOfferModel {
10 private String sessionId; //Needed for Interest/Accept/Reject 10 private String sessionId; //Needed for Interest/Accept/Reject
11 private ArrayList<String> eligibleAssets; //Array of the eligible assets for this offer 11 private ArrayList<String> eligibleAssets; //Array of the eligible assets for this offer
12 private String id; 12 private String id;
13 + private String businessAdditionalId;
14 + private String treatmentCode;
15 +
16 + public LoyaltyContextualOfferModel() {
17 + this.sessionId = "";
18 + this.eligibleAssets = new ArrayList<String>();
19 + this.id = "";
20 + this.businessAdditionalId = "";
21 + this.treatmentCode = "";
22 + }
13 23
14 public String getSessionId() { 24 public String getSessionId() {
15 return sessionId; 25 return sessionId;
...@@ -22,4 +32,24 @@ public class LoyaltyContextualOfferModel { ...@@ -22,4 +32,24 @@ public class LoyaltyContextualOfferModel {
22 public String getId() { 32 public String getId() {
23 return id; 33 return id;
24 } 34 }
35 +
36 + public void setSessionId(String sessionId) {
37 + this.sessionId = sessionId;
38 + }
39 +
40 + public void setEligibleAssets(ArrayList<String> eligibleAssets) {
41 + this.eligibleAssets = eligibleAssets;
42 + }
43 +
44 + public void setId(String id) {
45 + this.id = id;
46 + }
47 +
48 + public void setBusinessAdditionalId(String businessAdditionalId) {
49 + this.businessAdditionalId = businessAdditionalId;
50 + }
51 +
52 + public void setTreatmentCode(String treatmentCode) {
53 + this.treatmentCode = treatmentCode;
54 + }
25 } 55 }
......
...@@ -184,11 +184,11 @@ public class PushCampaign { ...@@ -184,11 +184,11 @@ public class PushCampaign {
184 } 184 }
185 185
186 public String getImageUrl() { 186 public String getImageUrl() {
187 - if(!TextUtils.isEmpty(getLargeIconUrl())){ 187 +// if(!TextUtils.isEmpty(getLargeIconUrl())){
188 return getLargeIconUrl(); 188 return getLargeIconUrl();
189 - }else{ 189 +// }else{
190 - return WarplyProperty.getBaseUrl(Warply.getWarplyContext()) + WarpConstants.BASE_REMOTE_PAGE_URL + "logo/" + getSessionUUID(); 190 +// return WarplyProperty.getBaseUrl(Warply.getWarplyContext()) + WarpConstants.BASE_REMOTE_PAGE_URL + "logo/" + getSessionUUID();
191 - } 191 +// }
192 } 192 }
193 193
194 public String getSessionUUID() { 194 public String getSessionUUID() {
......
...@@ -30,7 +30,7 @@ public class WarpConstants { ...@@ -30,7 +30,7 @@ public class WarpConstants {
30 /** 30 /**
31 * The version of the SDK installed in the device 31 * The version of the SDK installed in the device
32 */ 32 */
33 - public static final String SDK_VERSION = "4.5.4"; 33 + public static final String SDK_VERSION = "4.5.4.2";
34 34
35 /** 35 /**
36 * The URL of the server where it should ping 36 * The URL of the server where it should ping
......