io.sphere.sdk.products.Suggestion Maven / Gradle / Ivy
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