Interface RecurringOrderFailureError
- All Superinterfaces:
ErrorObject
Returned when a subsequent Order for a Recurring Order could not be processed.
Example to create an instance using the builder pattern
RecurringOrderFailureError recurringOrderFailureError = RecurringOrderFailureError.builder()
.message("{message}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderFailureError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderFailureErrorbuilder(RecurringOrderFailureError template) create builder for RecurringOrderFailureError instancecopyDeep()static RecurringOrderFailureErrordeepCopy(RecurringOrderFailureError template) factory method to create a deep copy of RecurringOrderFailureError@NotNull StringgetCode()Error identifier.@NotNull ObjectDetails about the error's cause and the entities involved.@NotNull StringPlain text description of the error.static RecurringOrderFailureErrorof()factory methodstatic RecurringOrderFailureErrorof(RecurringOrderFailureError template) factory method to create a shallow copy RecurringOrderFailureErrorvoidsetDetails(Object details) Details about the error's cause and the entities involved.voidsetMessage(String message) Plain text description of the error.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderFailureError>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
setValue, values, withErrorObject
-
Field Details
-
RECURRING_ORDER_FAILURE
discriminator value for RecurringOrderFailureError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceErrorObject- Returns:
- code
-
getMessage
Plain text description of the error.
- Specified by:
getMessagein interfaceErrorObject- Returns:
- message
-
getDetails
Details about the error's cause and the entities involved.
- Returns:
- details
-
setMessage
Plain text description of the error.
- Specified by:
setMessagein interfaceErrorObject- Parameters:
message- value to be set
-
setDetails
Details about the error's cause and the entities involved.
- Parameters:
details- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderFailureError
-
of
factory method to create a shallow copy RecurringOrderFailureError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderFailureError copyDeep()- Specified by:
copyDeepin interfaceErrorObject
-
deepCopy
factory method to create a deep copy of RecurringOrderFailureError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderFailureError- Returns:
- builder
-
builder
create builder for RecurringOrderFailureError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderFailureError
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-