cart total null fix for braintree payment

This commit is contained in:
2020-01-26 23:48:40 +03:00
parent a18385ab54
commit 8b58427bd9
5 changed files with 9 additions and 3 deletions

View File

@@ -17,6 +17,9 @@ public class CartTotalModel implements Serializable {
}
public String getTitle() {
if(title == null){
title = "";
}
return title;
}
@@ -25,6 +28,9 @@ public class CartTotalModel implements Serializable {
}
public String getText() {
if(text == null){
text = "";
}
return text;
}