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

io.sphere.sdk.products.Suggestion Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.products;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@JsonDeserialize(as = SuggestionImpl.class)
public interface Suggestion {
    String getText();

    @JsonIgnore
    static Suggestion of(final String text) {
        return SuggestionImpl.of(text);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy