// Path: androidsdk/src/main/java/com/wootric/androidsdk/utils/Utils.java
// public final class Utils {
// 
//     private Utils(){}
// 
//     public static <T> T checkNotNull(T object, String objectDescription) {
//         if(object == null) {
//             throw new IllegalArgumentException(objectDescription + " must not be null");
//         }
// 
//         return object;
//     }
// 
//     public static boolean isNotEmpty(String s) {
//         return s != null && !s.isEmpty() && !isWhitespaceString(s);
//     }
// 
//     public static boolean isBlank(String s) {
//         return s == null || (s != null && (s.isEmpty() || isWhitespaceString(s)));
//     }
// 
//     private static boolean isWhitespaceString(String s) {
//         return s.trim().length() == 0;
//     }
// 
//     public static void checkDate(long date) {
//         if (date > 9999999999L) {
//             Log.d(Constants.TAG, "WARNING: The created date exceeds the maximum 10 characters allowed. " +
//                     "If you are using System.currentTimeMillis() divide it by 1000.");
//         } else {
//             Date d = new Date(date * 1000L);
//             Date now = new Date();
//             if (d.after(now)){
//                 Log.d(Constants.TAG, "WARNING: The created date is on the future");
//             }
//         }
//     }
// 
//     public static byte getByteValue(Boolean bool) {
//         if (bool != null) {
//             return bool ? (byte) 1 : (byte) 0;
//         } else {
//             return (byte) 0;
//         }
//     }
// 
//     public static boolean startsWithEU(String aString) {
//         return aString.startsWith("NPS-EU");
//     }
// }


import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import com.wootric.androidsdk.utils.Utils;
import org.json.JSONException;
import org.json.JSONObject;
        this.detractorCommentInUrl = detractorCommentInUrl;
    }

    public void setPassiveCommentInUrl(boolean passiveCommentInUrl) {
        this.passiveCommentInUrl = passiveCommentInUrl;
    }

    public void setPromoterCommentInUrl(boolean promoterCommentInUrl) {
        this.promoterCommentInUrl = promoterCommentInUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.text);
        dest.writeString(this.detractorText);
        dest.writeString(this.passiveText);
        dest.writeString(this.promoterText);
        dest.writeString(this.linkText);
        dest.writeString(this.detractorLinkText);
        dest.writeString(this.passiveLinkText);
        dest.writeString(this.promoterLinkText);
        dest.writeParcelable(this.linkUri, 0);
        dest.writeParcelable(this.detractorLinkUri, 0);
        dest.writeParcelable(this.passiveLinkUri, 0);
        dest.writeParcelable(this.promoterLinkUri, 0);
// Path: androidsdk/src/main/java/com/wootric/androidsdk/utils/Utils.java
// public final class Utils {
// 
//     private Utils(){}
// 
//     public static <T> T checkNotNull(T object, String objectDescription) {
//         if(object == null) {
//             throw new IllegalArgumentException(objectDescription + " must not be null");
//         }
// 
//         return object;
//     }
// 
//     public static boolean isNotEmpty(String s) {
//         return s != null && !s.isEmpty() && !isWhitespaceString(s);
//     }
// 
//     public static boolean isBlank(String s) {
//         return s == null || (s != null && (s.isEmpty() || isWhitespaceString(s)));
//     }
// 
//     private static boolean isWhitespaceString(String s) {
//         return s.trim().length() == 0;
//     }
// 
//     public static void checkDate(long date) {
//         if (date > 9999999999L) {
//             Log.d(Constants.TAG, "WARNING: The created date exceeds the maximum 10 characters allowed. " +
//                     "If you are using System.currentTimeMillis() divide it by 1000.");
//         } else {
//             Date d = new Date(date * 1000L);
//             Date now = new Date();
//             if (d.after(now)){
//                 Log.d(Constants.TAG, "WARNING: The created date is on the future");
//             }
//         }
//     }
// 
//     public static byte getByteValue(Boolean bool) {
//         if (bool != null) {
//             return bool ? (byte) 1 : (byte) 0;
//         } else {
//             return (byte) 0;
//         }
//     }
// 
//     public static boolean startsWithEU(String aString) {
//         return aString.startsWith("NPS-EU");
//     }
// }


// Path: androidsdk/src/main/java/com/wootric/androidsdk/objects/WootricCustomThankYou.java
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import com.wootric.androidsdk.utils.Utils;
import org.json.JSONException;
import org.json.JSONObject;

        this.detractorCommentInUrl = detractorCommentInUrl;
    }

    public void setPassiveCommentInUrl(boolean passiveCommentInUrl) {
        this.passiveCommentInUrl = passiveCommentInUrl;
    }

    public void setPromoterCommentInUrl(boolean promoterCommentInUrl) {
        this.promoterCommentInUrl = promoterCommentInUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.text);
        dest.writeString(this.detractorText);
        dest.writeString(this.passiveText);
        dest.writeString(this.promoterText);
        dest.writeString(this.linkText);
        dest.writeString(this.detractorLinkText);
        dest.writeString(this.passiveLinkText);
        dest.writeString(this.promoterLinkText);
        dest.writeParcelable(this.linkUri, 0);
        dest.writeParcelable(this.detractorLinkUri, 0);
        dest.writeParcelable(this.passiveLinkUri, 0);
        dest.writeParcelable(this.promoterLinkUri, 0);
        dest.writeByte(Utils.getByteValue(this.emailInUrl));