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

io.sphere.sdk.attributes.TextLikeAttributeDefinition Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import io.sphere.sdk.models.LocalizedString;

abstract class TextLikeAttributeDefinition extends AttributeDefinitionBase {
    private final TextInputHint textInputHint;

    TextLikeAttributeDefinition(final T attributeType, final String name, final LocalizedString label,
                                final boolean isRequired, final AttributeConstraint attributeConstraint,
                                final boolean isSearchable, final TextInputHint textInputHint) {
        super(attributeType, name, label, isRequired, attributeConstraint, isSearchable);
        this.textInputHint = textInputHint;
    }


    @JsonProperty("inputHint")
    public TextInputHint getTextInputHint() {
        return textInputHint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy