Interface AdditionalField
-
- All Superinterfaces:
PrettyPrintable
- All Known Subinterfaces:
FilledAdditionalField
public interface AdditionalField extends PrettyPrintable
The interface that represents an additional field in product.- Author:
- soknight
- See Also:
Product.getAdditionalFields()
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AdditionalField.DataType
The enum that represents all possible and actual additional field data types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull AdditionalField.DataType
getDataType()
Get the data type of this additional field.@NotNull String
getDataTypeRaw()
Get the raw data type of this additional field.@NotNull String
getDefaultValue()
Get the default value of this additional field.@NotNull String
getDescription()
Get the description of this additional field.@NotNull String
getName()
Get the name of this additional field.-
Methods inherited from interface ru.easydonate.easydonate4j.data.model.PrettyPrintable
toPrettyString
-
-
-
-
Method Detail
-
getName
@NotNull @NotNull String getName()
Get the name of this additional field.- Returns:
- The field name.
-
getDataType
@NotNull @NotNull AdditionalField.DataType getDataType()
Get the data type of this additional field.- Returns:
- The field data type.
- See Also:
AdditionalField.DataType
-
getDataTypeRaw
@NotNull @NotNull String getDataTypeRaw()
Get the raw data type of this additional field.
This raw data can be used sometimes when thegetDataType()
has returned the unknown constant.- Returns:
- The raw field data type.
-
getDefaultValue
@NotNull @NotNull String getDefaultValue()
Get the default value of this additional field.- Returns:
- The field default value.
-
getDescription
@NotNull @NotNull String getDescription()
Get the description of this additional field.- Returns:
- The field description.
-
-