Class TransferEvent


  • public class TransferEvent
    extends Object
    TransferEvent
    • Constructor Detail

      • TransferEvent

        public TransferEvent()
    • Method Detail

      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
      • getAmountAdjustments

        public List<AmountAdjustment> getAmountAdjustments()
        The amount adjustments in this transfer.
        Returns:
        amountAdjustments
      • setAmountAdjustments

        public void setAmountAdjustments​(List<AmountAdjustment> amountAdjustments)
      • getBookingDate

        public OffsetDateTime getBookingDate()
        The date when the transfer request was sent.
        Returns:
        bookingDate
      • setBookingDate

        public void setBookingDate​(OffsetDateTime bookingDate)
      • getEstimatedArrivalTime

        public OffsetDateTime getEstimatedArrivalTime()
        The estimated time the beneficiary should have access to the funds.
        Returns:
        estimatedArrivalTime
      • setEstimatedArrivalTime

        public void setEstimatedArrivalTime​(OffsetDateTime estimatedArrivalTime)
      • getId

        public String getId()
        The unique identifier of the transfer event.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getModification

        public Modification getModification()
        Get modification
        Returns:
        modification
      • setModification

        public void setModification​(Modification modification)
      • getMutations

        public List<BalanceMutation> getMutations()
        The list of the balance mutation per event.
        Returns:
        mutations
      • getOriginalAmount

        public Amount getOriginalAmount()
        Get originalAmount
        Returns:
        originalAmount
      • setOriginalAmount

        public void setOriginalAmount​(Amount originalAmount)
      • getSchemeTraceID

        public String getSchemeTraceID()
        SchemeTraceID retrieved from scheme.
        Returns:
        schemeTraceID
      • setSchemeTraceID

        public void setSchemeTraceID​(String schemeTraceID)
      • schemeUniqueTransactionID

        public TransferEvent schemeUniqueTransactionID​(String schemeUniqueTransactionID)
      • getSchemeUniqueTransactionID

        public String getSchemeUniqueTransactionID()
        SchemeUniqueTransactionID retrieved from scheme.
        Returns:
        schemeUniqueTransactionID
      • setSchemeUniqueTransactionID

        public void setSchemeUniqueTransactionID​(String schemeUniqueTransactionID)
      • getTransactionId

        public String getTransactionId()
        The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes.
        Returns:
        transactionId
      • setTransactionId

        public void setTransactionId​(String transactionId)
      • getType

        public TransferEvent.TypeEnum getType()
        The type of the transfer event. Possible values: **accounting**, **tracking**.
        Returns:
        type
      • getUpdateDate

        public OffsetDateTime getUpdateDate()
        The date when the tracking status was updated.
        Returns:
        updateDate
      • setUpdateDate

        public void setUpdateDate​(OffsetDateTime updateDate)
      • getValueDate

        public OffsetDateTime getValueDate()
        A future date, when the funds are expected to be deducted from or credited to the balance account.
        Returns:
        valueDate
      • setValueDate

        public void setValueDate​(OffsetDateTime valueDate)
      • equals

        public boolean equals​(Object o)
        Return true if this TransferEvent object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static TransferEvent fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TransferEvent given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransferEvent
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TransferEvent
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of TransferEvent to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException