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

io.sphere.sdk.channels.queries.ChannelFetchByKey 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 ChannelFetchByKey extends QueryToFetchAdapter {

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy