Interface PaymentTransactionInterfaceIdSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Transaction InterfaceId update action.
Example to create an instance using the builder pattern
PaymentTransactionInterfaceIdSetMessagePayload paymentTransactionInterfaceIdSetMessagePayload = PaymentTransactionInterfaceIdSetMessagePayload.builder()
.transactionId("{transactionId}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentTransactionInterfaceIdSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentTransactionInterfaceIdSetMessagePayloadcreate builder for PaymentTransactionInterfaceIdSetMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentTransactionInterfaceIdSetMessagePayloadIdentifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.@NotNull StringUnique identifier of the Transaction.of()factory methodfactory method to create a shallow copy PaymentTransactionInterfaceIdSetMessagePayloadvoidsetNewInterfaceId(String newInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.voidsetOldInterfaceId(String oldInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.voidsetTransactionId(String transactionId) Unique identifier of the Transaction.static com.fasterxml.jackson.core.type.TypeReference<PaymentTransactionInterfaceIdSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentTransactionInterfaceIdSetMessagePayload(Function<PaymentTransactionInterfaceIdSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PAYMENT_TRANSACTION_INTERFACE_ID_SET
discriminator value for PaymentTransactionInterfaceIdSetMessagePayload- See Also:
-
-
Method Details
-
getTransactionId
Unique identifier of the Transaction.
- Returns:
- transactionId
-
getNewInterfaceId
String getNewInterfaceId()Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.
- Returns:
- newInterfaceId
-
getOldInterfaceId
String getOldInterfaceId()Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.
- Returns:
- oldInterfaceId
-
setTransactionId
Unique identifier of the Transaction.
- Parameters:
transactionId- value to be set
-
setNewInterfaceId
Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.
- Parameters:
newInterfaceId- value to be set
-
setOldInterfaceId
Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.
- Parameters:
oldInterfaceId- value to be set
-
of
factory method- Returns:
- instance of PaymentTransactionInterfaceIdSetMessagePayload
-
of
static PaymentTransactionInterfaceIdSetMessagePayload of(PaymentTransactionInterfaceIdSetMessagePayload template) factory method to create a shallow copy PaymentTransactionInterfaceIdSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentTransactionInterfaceIdSetMessagePayload deepCopy(@Nullable PaymentTransactionInterfaceIdSetMessagePayload template) factory method to create a deep copy of PaymentTransactionInterfaceIdSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentTransactionInterfaceIdSetMessagePayload- Returns:
- builder
-
builder
static PaymentTransactionInterfaceIdSetMessagePayloadBuilder builder(PaymentTransactionInterfaceIdSetMessagePayload template) create builder for PaymentTransactionInterfaceIdSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentTransactionInterfaceIdSetMessagePayload
default <T> T withPaymentTransactionInterfaceIdSetMessagePayload(Function<PaymentTransactionInterfaceIdSetMessagePayload, 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<PaymentTransactionInterfaceIdSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-