@Beta public class ContrAcctgBillingDocumentCreatedMessage extends AbstractMessage
Constructor and Description |
---|
ContrAcctgBillingDocumentCreatedMessage(String originalMessageContent,
CloudEventsMessageMetadata metadata,
Map<String,String> keyParameters,
Map<String,String> nonKeyParameters)
Creates a
ContrAcctgBillingDocumentCreatedMessage based on the fields contained in the message payload. |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getCABillgDocument()
Getter for the key field CABillgDocument value as String, as contained in the payload.
|
CloudEventsMessageMetadata |
getMetadata()
Returns the metadata received with this message.
|
canEqual, equals, getContent, hashCode, toString
public ContrAcctgBillingDocumentCreatedMessage(@Nonnull String originalMessageContent, @Nonnull CloudEventsMessageMetadata metadata, @Nonnull Map<String,String> keyParameters, @Nonnull Map<String,String> nonKeyParameters)
ContrAcctgBillingDocumentCreatedMessage
based on the fields contained in the message payload.originalMessageContent
- The actual payload received.metadata
- The metadata of the received message.keyParameters
- The map contained in the payload.nonKeyParameters
- The map contained in the payload.@Nonnull public CloudEventsMessageMetadata getMetadata()
@Nonnull public Optional<String> getCABillgDocument()
The returned Optional is empty if the message did not contain a value for this field.
Optional
.Copyright © 2019 SAP SE. All rights reserved.