Skip to content

Commit ffff19f

Browse files
committed
Removed prefix custom_fields from Bundling Examples
1 parent 2511c99 commit ffff19f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.github.route4me</groupId>
66
<artifactId>route4me-java-sdk</artifactId>
7-
<version>1.14.0</version>
7+
<version>1.14.1</version>
88
<packaging>jar</packaging>
99
<properties>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/com/route4me/sdk/examples/bundling/BundlingByAddressAndProrityConstraint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public static void main(String[] args) {
136136
bundling.setMergeMode(BundlingEnum.BundledItemsMode.KEEP_AS_SEPARATE_DESTINATIONS.getValue());
137137

138138
bundling.setMode(BundlingEnum.BundlingMode.BUNDLING_BY_ADDRESS.getValue());
139-
List<String> modeParams = Arrays.asList("custom_fields.BUNDLING_KEY", "custom_fields.LOCATION_ID");
139+
List<String> modeParams = Arrays.asList("BUNDLING_KEY", "LOCATION_ID");
140140
bundling.setModeParams(modeParams);
141141
ServiceTimeRules serviceTimeRules = new ServiceTimeRules();
142142
serviceTimeRules.setFirstItemMode(BundlingEnum.BundlingFirstItemMode.USE_CUSTOM_SERVICE_TIME.getValue());

src/main/java/com/route4me/sdk/examples/bundling/BundlingUsingMultipleFields.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public static void main(String[] args) {
181181
bundling.setMergeMode(BundlingEnum.BundledItemsMode.KEEP_AS_SEPARATE_DESTINATIONS.getValue());
182182

183183
bundling.setMode(BundlingEnum.BundlingMode.BUNDLING_BY_MULTIPLE_FIELDS.getValue());
184-
List<String> modeParams = Arrays.asList("custom_fields.BUNDLING_KEY", "custom_fields.LOCATION_ID");
184+
List<String> modeParams = Arrays.asList("BUNDLING_KEY", "LOCATION_ID");
185185
bundling.setModeParams(modeParams);
186186
ServiceTimeRules serviceTimeRules = new ServiceTimeRules();
187187
serviceTimeRules.setFirstItemMode(BundlingEnum.BundlingFirstItemMode.USE_CUSTOM_SERVICE_TIME.getValue());

0 commit comments

Comments
 (0)