Interface PaymentTransactionInterfaceIdSetMessage
- All Superinterfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,Versioned<Message>
Generated after a successful Set Transaction InterfaceId update action.
Example to create an instance using the builder pattern
PaymentTransactionInterfaceIdSetMessage paymentTransactionInterfaceIdSetMessage = PaymentTransactionInterfaceIdSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.transactionId("{transactionId}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentTransactionInterfaceIdSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentTransactionInterfaceIdSetMessagecreate builder for PaymentTransactionInterfaceIdSetMessage instancecopyDeep()
factory method to create a deep copy of PaymentTransactionInterfaceIdSetMessageIdentifier 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 String
Unique identifier of the Transaction.of()
factory methodof
(PaymentTransactionInterfaceIdSetMessage template) factory method to create a shallow copy PaymentTransactionInterfaceIdSetMessagevoid
setNewInterfaceId
(String newInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.void
setOldInterfaceId
(String oldInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.void
setTransactionId
(String transactionId) Unique identifier of the Transaction.static com.fasterxml.jackson.core.type.TypeReference<PaymentTransactionInterfaceIdSetMessage>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentTransactionInterfaceIdSetMessage
(Function<PaymentTransactionInterfaceIdSetMessage, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
PAYMENT_TRANSACTION_INTERFACE_ID_SET
discriminator value for PaymentTransactionInterfaceIdSetMessage- 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 PaymentTransactionInterfaceIdSetMessage
-
of
factory method to create a shallow copy PaymentTransactionInterfaceIdSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentTransactionInterfaceIdSetMessage copyDeep()- Specified by:
copyDeep
in interfaceBaseResource
- Specified by:
copyDeep
in interfaceMessage
-
deepCopy
@Nullable static PaymentTransactionInterfaceIdSetMessage deepCopy(@Nullable PaymentTransactionInterfaceIdSetMessage template) factory method to create a deep copy of PaymentTransactionInterfaceIdSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentTransactionInterfaceIdSetMessage- Returns:
- builder
-
builder
static PaymentTransactionInterfaceIdSetMessageBuilder builder(PaymentTransactionInterfaceIdSetMessage template) create builder for PaymentTransactionInterfaceIdSetMessage instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentTransactionInterfaceIdSetMessage
default <T> T withPaymentTransactionInterfaceIdSetMessage(Function<PaymentTransactionInterfaceIdSetMessage, 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<PaymentTransactionInterfaceIdSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-