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

io.sphere.sdk.orders.queries.OrderFetchById 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.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