File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
core/src/main/java/io/snabble/sdk Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ allprojects {
2424 }
2525
2626 project. ext {
27- sdkVersion= ' 0.8.19 '
27+ sdkVersion= ' 0.8.20 '
2828 versionCode= 1
2929
3030 compileSdkVersion= 28
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public String getDayOfWeek() {
5151 }
5252
5353 private String id ;
54+ private String externalId ;
5455 private String name ;
5556 private Service [] services ;
5657 private String street ;
@@ -72,6 +73,10 @@ public String getId() {
7273 return id ;
7374 }
7475
76+ public String getExternalId () {
77+ return externalId ;
78+ }
79+
7580 public Service [] getServices () {
7681 return services ;
7782 }
@@ -138,6 +143,7 @@ static Shop[] fromJson(String json) {
138143
139144 public static class Builder {
140145 private String id ;
146+ private String externalId ;
141147 private String name ;
142148 private Shop .Service [] services ;
143149 private String street ;
@@ -207,6 +213,11 @@ public Builder openingHours(OpeningHourSpecification[] openingHours) {
207213 return this ;
208214 }
209215
216+ public Builder externalId (String externalId ) {
217+ this .externalId = externalId ;
218+ return this ;
219+ }
220+
210221 public Builder external (JsonElement external ) {
211222 this .external = external ;
212223 return this ;
@@ -216,6 +227,7 @@ public Shop create() {
216227 Shop shop = new Shop ();
217228
218229 shop .id = id ;
230+ shop .externalId = externalId ;
219231 shop .name = name ;
220232 shop .services = services ;
221233 shop .street = street ;
You can’t perform that action at this time.
0 commit comments