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

io.sphere.sdk.carts.queries.CartFetchById Maven / Gradle / Ivy

There is a newer version: 1.0.0-M12
Show newest version
package io.sphere.sdk.carts.queries;

import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.queries.FetchByIdImpl;

/**
 Gets a cart by ID.

 {@include.example io.sphere.sdk.carts.queries.CartFetchByIdTest#fetchById()}
 */
public class CartFetchById extends FetchByIdImpl {
    private CartFetchById(final String id) {
        super(id, CartsEndpoint.ENDPOINT);
    }

    public static CartFetchById of(final String id) {
        return new CartFetchById(id);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy