io.sphere.sdk.carts.queries.CartByIdFetch Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.queries.ByIdFetchImpl;
/**
Gets a cart by ID.
{@include.example io.sphere.sdk.carts.queries.CartByIdFetchTest#fetchById()}
*/
public class CartByIdFetch extends ByIdFetchImpl {
private CartByIdFetch(final String id) {
super(id, CartsEndpoint.ENDPOINT);
}
public static CartByIdFetch of(final String id) {
return new CartByIdFetch(id);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy