io.sphere.sdk.shippingmethods.queries.ShippingMethodByIdFetch Maven / Gradle / Ivy
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