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

io.sphere.sdk.shippingmethods.queries.ShippingMethodFetchById 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.FetchByIdImpl;
import io.sphere.sdk.shippingmethods.ShippingMethod;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy