Package | Description |
---|---|
io.sphere.sdk.search.model |
Models to support using search endpoints.
|
Modifier and Type | Method and Description |
---|---|
static TypeSerializer<Boolean> |
TypeSerializer.ofBoolean()
Serializer to convert the given boolean into the true/false string.
|
static TypeSerializer<javax.money.CurrencyUnit> |
TypeSerializer.ofCurrency()
Serializer to convert the given money currency into the accepted format.
|
static TypeSerializer<LocalDate> |
TypeSerializer.ofDate()
Serializer to convert the given local date into the accepted ISO format.
|
static TypeSerializer<ZonedDateTime> |
TypeSerializer.ofDateTime()
Serializer to convert the given local datetime into the accepted ISO format with UTC zone.
|
static TypeSerializer<Long> |
TypeSerializer.ofMoneyCentAmount()
Serializer to convert the given money cent amount into a plain string.
|
static TypeSerializer<BigDecimal> |
TypeSerializer.ofNumber()
Serializer to convert the given numerical value into a suitable string.
|
static <V> TypeSerializer<V> |
TypeSerializer.ofRawFunction(Function<V,String> serializer)
Serializer to convert the given element to a formatted string with escaped characters.
|
static TypeSerializer<String> |
TypeSerializer.ofRawString()
Serializer to convert the given text to a raw string without escaping characters or adding quotes.
|
static TypeSerializer<String> |
TypeSerializer.ofString()
Serializer to convert the given text to a formatted string with escaped characters.
|
static TypeSerializer<LocalTime> |
TypeSerializer.ofTime()
Serializer to convert the given local time into the accepted standard format.
|