Interface PaymentInterfaceIdSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set InterfaceId update action.
Example to create an instance using the builder pattern
PaymentInterfaceIdSetMessagePayload paymentInterfaceIdSetMessagePayload = PaymentInterfaceIdSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentInterfaceIdSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentInterfaceIdSetMessagePayloadbuilder
(PaymentInterfaceIdSetMessagePayload template) create builder for PaymentInterfaceIdSetMessagePayload instancecopyDeep()
deepCopy
(PaymentInterfaceIdSetMessagePayload template) factory method to create a deep copy of PaymentInterfaceIdSetMessagePayloadInterface ID of the Payment after the Set InterfaceId update action.Interface ID of the Payment before the Set InterfaceId update action.of()
factory methodof
(PaymentInterfaceIdSetMessagePayload template) factory method to create a shallow copy PaymentInterfaceIdSetMessagePayloadvoid
setInterfaceId
(String interfaceId) Interface ID of the Payment after the Set InterfaceId update action.void
setOldInterfaceId
(String oldInterfaceId) Interface ID of the Payment before the Set InterfaceId update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentInterfaceIdSetMessagePayload>
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_INTERFACE_ID_SET
discriminator value for PaymentInterfaceIdSetMessagePayload- See Also:
-
-
Method Details
-
getInterfaceId
String getInterfaceId()Interface ID of the Payment after the Set InterfaceId update action.
- Returns:
- interfaceId
-
getOldInterfaceId
String getOldInterfaceId()Interface ID of the Payment before the Set InterfaceId update action.
- Returns:
- oldInterfaceId
-
setInterfaceId
Interface ID of the Payment after the Set InterfaceId update action.
- Parameters:
interfaceId
- value to be set
-
setOldInterfaceId
Interface ID of the Payment before the Set InterfaceId update action.
- Parameters:
oldInterfaceId
- value to be set
-
of
factory method- Returns:
- instance of PaymentInterfaceIdSetMessagePayload
-
of
factory method to create a shallow copy PaymentInterfaceIdSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentInterfaceIdSetMessagePayload copyDeep()- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static PaymentInterfaceIdSetMessagePayload deepCopy(@Nullable PaymentInterfaceIdSetMessagePayload template) factory method to create a deep copy of PaymentInterfaceIdSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentInterfaceIdSetMessagePayload- Returns:
- builder
-
builder
static PaymentInterfaceIdSetMessagePayloadBuilder builder(PaymentInterfaceIdSetMessagePayload template) create builder for PaymentInterfaceIdSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentInterfaceIdSetMessagePayload
default <T> T withPaymentInterfaceIdSetMessagePayload(Function<PaymentInterfaceIdSetMessagePayload, 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<PaymentInterfaceIdSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-