Class TransferOperation


  • public class TransferOperation
    extends Object
    TransferOperation
    • Constructor Detail

      • TransferOperation

        public TransferOperation()
    • Method Detail

      • getDirection

        public String getDirection()
        The direction of the money movement.
        Returns:
        direction
      • setDirection

        public void setDirection​(String direction)
      • getReference

        public String getReference()
        The reference returned when the amend was initiated.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getType

        public String getType()
        The type of amend for the transfer.
        Returns:
        type
      • setType

        public void setType​(String type)
      • equals

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

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

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

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