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

io.sphere.sdk.shippingmethods.queries.ShippingMethodByIdFetch Maven / Gradle / Ivy

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

import io.sphere.sdk.queries.ByIdFetchImpl;
import io.sphere.sdk.shippingmethods.ShippingMethod;

/**
 * Fetches a shipping method by ID.
 *
 * {@include.example io.sphere.sdk.shippingmethods.queries.ShippingMethodByIdFetchTest#execution()}
 */
public class ShippingMethodByIdFetch extends ByIdFetchImpl {
    private ShippingMethodByIdFetch(final String id) {
        super(id, ShippingMethodEndpoint.ENDPOINT);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy