Skip to content

Commit

Permalink
Merge pull request #102 from visenze/feature/box_type
Browse files Browse the repository at this point in the history
[API-9548] add box_type in object response
  • Loading branch information
thehung111 authored May 19, 2023
2 parents 54a743c + 5c53861 commit 657be34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visearch-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ public class ProductType {
@SerializedName("box")
private int[] boxArray;

@SerializedName("box_type")
private String boxType;

@SerializedName("type")
private String type;

Expand Down Expand Up @@ -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) {

Expand Down

0 comments on commit 657be34

Please sign in to comment.