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

io.sphere.sdk.carts.queries.CartByIdFetch 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.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