All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.orders.queries.OrderByIdFetch Maven / Gradle / Ivy

There is a newer version: 1.0.0-M12
Show newest version
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