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