Interface PaymentInteractionAddedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Add InterfaceInteraction update action.
Example to create an instance using the builder pattern
PaymentInteractionAddedMessagePayload paymentInteractionAddedMessagePayload = PaymentInteractionAddedMessagePayload.builder()
.interaction(interactionBuilder -> interactionBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentInteractionAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentInteractionAddedMessagePayloadbuilder
(PaymentInteractionAddedMessagePayload template) create builder for PaymentInteractionAddedMessagePayload instancefactory method to create a deep copy of PaymentInteractionAddedMessagePayload@NotNull @Valid CustomFields
The interface interaction that was added to the Payment.of()
factory methodof
(PaymentInteractionAddedMessagePayload template) factory method to create a shallow copy PaymentInteractionAddedMessagePayloadvoid
setInteraction
(CustomFields interaction) The interface interaction that was added to the Payment.static com.fasterxml.jackson.core.type.TypeReference<PaymentInteractionAddedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PAYMENT_INTERACTION_ADDED
discriminator value for PaymentInteractionAddedMessagePayload- See Also:
-
-
Method Details
-
getInteraction
The interface interaction that was added to the Payment.
- Returns:
- interaction
-
setInteraction
The interface interaction that was added to the Payment.
- Parameters:
interaction
- value to be set
-
of
factory method- Returns:
- instance of PaymentInteractionAddedMessagePayload
-
of
factory method to create a shallow copy PaymentInteractionAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentInteractionAddedMessagePayload deepCopy(@Nullable PaymentInteractionAddedMessagePayload template) factory method to create a deep copy of PaymentInteractionAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentInteractionAddedMessagePayload- Returns:
- builder
-
builder
static PaymentInteractionAddedMessagePayloadBuilder builder(PaymentInteractionAddedMessagePayload template) create builder for PaymentInteractionAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentInteractionAddedMessagePayload
default <T> T withPaymentInteractionAddedMessagePayload(Function<PaymentInteractionAddedMessagePayload, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<PaymentInteractionAddedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-