Interface TransactionChangeValue


public interface TransactionChangeValue
TransactionChangeValue
Example to create an instance using the builder pattern

     TransactionChangeValue transactionChangeValue = TransactionChangeValue.builder()
             .id("{id}")
             .interactionId("{interactionId}")
             .timestamp("{timestamp}")
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      id of the Transaction.

      Returns:
      id
    • getInteractionId

      @NotNull @NotNull String getInteractionId()

      Identifier used by the interface that manages the Transaction (usually the PSP).

      Returns:
      interactionId
    • getTimestamp

      @NotNull @NotNull String getTimestamp()

      Date and time (UTC) the Transaction took place.

      Returns:
      timestamp
    • setId

      void setId(String id)

      id of the Transaction.

      Parameters:
      id - value to be set
    • setInteractionId

      void setInteractionId(String interactionId)

      Identifier used by the interface that manages the Transaction (usually the PSP).

      Parameters:
      interactionId - value to be set
    • setTimestamp

      void setTimestamp(String timestamp)

      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

      default <T> T withTransactionChangeValue(Function<TransactionChangeValue,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<TransactionChangeValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference