@Beta public class CustomerReturnCreatedMessageFactory extends Object implements MessageFactory<CustomerReturnCreatedMessage>
MessageFactory
interface to encapsulate the creation of a
CustomerReturnCreatedMessage
.Constructor and Description |
---|
CustomerReturnCreatedMessageFactory() |
Modifier and Type | Method and Description |
---|---|
CustomerReturnCreatedMessage |
newMessage(String content)
Creates a new
CustomerReturnCreatedMessage with the content of the message content/payload. |
@Nonnull public CustomerReturnCreatedMessage newMessage(@Nonnull String content)
CustomerReturnCreatedMessage
with the content of the message content/payload.newMessage
in interface MessageFactory<CustomerReturnCreatedMessage>
content
- The content/payload of the message.Copyright © 2019 SAP SE. All rights reserved.