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 instancecopyDeep()static TransactionChangeValuedeepCopy(TransactionChangeValue template) factory method to create a deep copy of TransactionChangeValue@NotNull StringgetId()idof the Transaction.@NotNull StringIdentifier used by the interface that manages the Transaction (usually the PSP).@NotNull StringDate and time (UTC) the Transaction took place.static TransactionChangeValueof()factory methodstatic TransactionChangeValueof(TransactionChangeValue template) factory method to create a shallow copy TransactionChangeValuevoididof the Transaction.voidsetInteractionId(String interactionId) Identifier used by the interface that manages the Transaction (usually the PSP).voidsetTimestamp(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> Taccessor map function
-
Method Details
-
getId
idof 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
idof 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
-
copyDeep
TransactionChangeValue copyDeep() -
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
-