Skip to content

Commit

Permalink
Removed prefix custom_fields from Bundling Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
r4m-juan committed Dec 7, 2022
1 parent 2511c99 commit ffff19f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.route4me</groupId>
<artifactId>route4me-java-sdk</artifactId>
<version>1.14.0</version>
<version>1.14.1</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static void main(String[] args) {
bundling.setMergeMode(BundlingEnum.BundledItemsMode.KEEP_AS_SEPARATE_DESTINATIONS.getValue());

bundling.setMode(BundlingEnum.BundlingMode.BUNDLING_BY_ADDRESS.getValue());
List<String> modeParams = Arrays.asList("custom_fields.BUNDLING_KEY", "custom_fields.LOCATION_ID");
List<String> modeParams = Arrays.asList("BUNDLING_KEY", "LOCATION_ID");
bundling.setModeParams(modeParams);
ServiceTimeRules serviceTimeRules = new ServiceTimeRules();
serviceTimeRules.setFirstItemMode(BundlingEnum.BundlingFirstItemMode.USE_CUSTOM_SERVICE_TIME.getValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static void main(String[] args) {
bundling.setMergeMode(BundlingEnum.BundledItemsMode.KEEP_AS_SEPARATE_DESTINATIONS.getValue());

bundling.setMode(BundlingEnum.BundlingMode.BUNDLING_BY_MULTIPLE_FIELDS.getValue());
List<String> modeParams = Arrays.asList("custom_fields.BUNDLING_KEY", "custom_fields.LOCATION_ID");
List<String> modeParams = Arrays.asList("BUNDLING_KEY", "LOCATION_ID");
bundling.setModeParams(modeParams);
ServiceTimeRules serviceTimeRules = new ServiceTimeRules();
serviceTimeRules.setFirstItemMode(BundlingEnum.BundlingFirstItemMode.USE_CUSTOM_SERVICE_TIME.getValue());
Expand Down

0 comments on commit ffff19f

Please sign in to comment.