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

io.sphere.sdk.channels.queries.ChannelByKeyFetch Maven / Gradle / Ivy

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

import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.queries.QueryToFetchAdapter;

public class ChannelByKeyFetch extends QueryToFetchAdapter {

    private ChannelByKeyFetch(final String key) {
        super(ChannelQuery.resultTypeReference(), ChannelQuery.of().byKey(key));
    }

    public static ChannelByKeyFetch of(final String key) {
        return new ChannelByKeyFetch(key);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy