com.route4me.sdk.services.orders.OrderRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of route4me-java-sdk Show documentation
Show all versions of route4me-java-sdk Show documentation
>This SDK makes it easier for you use the Route4Me API, which creates optimally sequenced driving routes for many drivers.
package com.route4me.sdk.services.orders;
import com.route4me.sdk.queryconverter.QueryParameter;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class OrderRequest {
@QueryParameter("order_ids")
private String ids;
@QueryParameter("limit")
private Integer limit;
@QueryParameter("offset")
private Integer offset;
@QueryParameter("display")
private DisplayType display;
@QueryParameter("day_added_YYMMDD")
private String dateInserted;
@QueryParameter("scheduled_for_YYMMDD")
private String dateScheduled;
@QueryParameter("query")
private String query;
@QueryParameter("fields")
private String fields;
@QueryParameter("filter")
private OrderFilter filter;
public enum DisplayType {
ALL("all"), ROUTED("routed"), UNROUTED("unrouted");
private String internal;
DisplayType(String internal) {
this.internal = internal;
}
public String toString() {
return this.internal;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy