Interface TransactionChangeValue
public interface TransactionChangeValue
TransactionChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TransactionChangeValue transactionChangeValue = TransactionChangeValue.builder()
.id("{id}")
.interactionId("{interactionId}")
.timestamp("{timestamp}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TransactionChangeValuebuilder
(TransactionChangeValue template) create builder for TransactionChangeValue instancestatic TransactionChangeValue
deepCopy
(TransactionChangeValue template) factory method to create a deep copy of TransactionChangeValue@NotNull String
getId()
id
of the Transaction.@NotNull String
Identifier used by the interface that manages the Transaction (usually the PSP).@NotNull String
Date and time (UTC) the Transaction took place.static TransactionChangeValue
of()
factory methodstatic TransactionChangeValue
of
(TransactionChangeValue template) factory method to create a shallow copy TransactionChangeValuevoid
id
of the Transaction.void
setInteractionId
(String interactionId) Identifier used by the interface that manages the Transaction (usually the PSP).void
setTimestamp
(String timestamp) Date and time (UTC) the Transaction took place.static com.fasterxml.jackson.core.type.TypeReference<TransactionChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getId
id
of the Transaction.- Returns:
- id
-
getInteractionId
Identifier used by the interface that manages the Transaction (usually the PSP).
- Returns:
- interactionId
-
getTimestamp
Date and time (UTC) the Transaction took place.
- Returns:
- timestamp
-
setId
id
of the Transaction.- Parameters:
id
- value to be set
-
setInteractionId
Identifier used by the interface that manages the Transaction (usually the PSP).
- Parameters:
interactionId
- value to be set
-
setTimestamp
Date and time (UTC) the Transaction took place.
- Parameters:
timestamp
- value to be set
-
of
factory method- Returns:
- instance of TransactionChangeValue
-
of
factory method to create a shallow copy TransactionChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of TransactionChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TransactionChangeValue- Returns:
- builder
-
builder
create builder for TransactionChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTransactionChangeValue
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-