Interface AgentMissingCustomerEmailError
- All Superinterfaces:
ErrorObject
Returned by a /responses request when the customer's email address was not provided and could not be inferred from the input.
Example to create an instance using the builder pattern
AgentMissingCustomerEmailError agentMissingCustomerEmailError = AgentMissingCustomerEmailError.builder()
.message("{message}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for AgentMissingCustomerEmailError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AgentMissingCustomerEmailErrorbuilder(AgentMissingCustomerEmailError template) create builder for AgentMissingCustomerEmailError instancecopyDeep()deepCopy(AgentMissingCustomerEmailError template) factory method to create a deep copy of AgentMissingCustomerEmailError@NotNull StringgetCode()Error identifier.@NotNull StringPlain text description of the error.of()factory methodof(AgentMissingCustomerEmailError template) factory method to create a shallow copy AgentMissingCustomerEmailErrorvoidsetMessage(String message) Plain text description of the error.static tools.jackson.core.type.TypeReference<AgentMissingCustomerEmailError>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
-
MISSING_CUSTOMER_EMAIL
discriminator value for AgentMissingCustomerEmailError- 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
-
setMessage
Plain text description of the error.
- Specified by:
setMessagein interfaceErrorObject- Parameters:
message- value to be set
-
of
factory method- Returns:
- instance of AgentMissingCustomerEmailError
-
of
factory method to create a shallow copy AgentMissingCustomerEmailError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AgentMissingCustomerEmailError copyDeep()- Specified by:
copyDeepin interfaceErrorObject
-
deepCopy
@Nullable static AgentMissingCustomerEmailError deepCopy(@Nullable AgentMissingCustomerEmailError template) factory method to create a deep copy of AgentMissingCustomerEmailError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AgentMissingCustomerEmailError- Returns:
- builder
-
builder
create builder for AgentMissingCustomerEmailError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAgentMissingCustomerEmailError
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
-