From 5c53861c23ed2e8c82534128869238233da4e159 Mon Sep 17 00:00:00 2001 From: Hung Date: Fri, 19 May 2023 10:36:16 +0800 Subject: [PATCH] add box_type --- visearch-android/build.gradle | 4 ++-- .../visenze/visearch/android/model/ProductType.java | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/visearch-android/build.gradle b/visearch-android/build.gradle index 4f9365b..8b75b16 100644 --- a/visearch-android/build.gradle +++ b/visearch-android/build.gradle @@ -5,8 +5,8 @@ plugins { def versionMajor = 2 def versionMinor = 3 -def versionPatch = 3 -version = '2.3.3' +def versionPatch = 4 +version = '2.3.4' android { compileSdkVersion 29 diff --git a/visearch-android/src/main/java/com/visenze/visearch/android/model/ProductType.java b/visearch-android/src/main/java/com/visenze/visearch/android/model/ProductType.java index 68e5750..cbb3557 100644 --- a/visearch-android/src/main/java/com/visenze/visearch/android/model/ProductType.java +++ b/visearch-android/src/main/java/com/visenze/visearch/android/model/ProductType.java @@ -15,6 +15,9 @@ public class ProductType { @SerializedName("box") private int[] boxArray; + @SerializedName("box_type") + private String boxType; + @SerializedName("type") private String type; @@ -75,6 +78,13 @@ public void setAttributeList(Map attributeList) { this.attributeList = attributeList; } + public String getBoxType() { + return boxType; + } + + public void setBoxType(String boxType) { + this.boxType = boxType; + } private Box parseBox(int[] boxData) {