io.sphere.sdk.orders.queries.OrderByIdFetch Maven / Gradle / Ivy
package io.sphere.sdk.orders.queries;
import io.sphere.sdk.orders.Order;
import io.sphere.sdk.queries.ByIdFetchImpl;
/**
Gets an order by ID.
{@include.example io.sphere.sdk.orders.commands.OrderFromCartCreateCommandTest#execution()}
*/
public class OrderByIdFetch extends ByIdFetchImpl {
private OrderByIdFetch(final String id) {
super(id, OrdersEndpoint.ENDPOINT);
}
public static OrderByIdFetch of(final String id) {
return new OrderByIdFetch(id);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy