Class TransferInstrumentReference


  • public class TransferInstrumentReference
    extends Object
    TransferInstrumentReference
    • Constructor Detail

      • TransferInstrumentReference

        public TransferInstrumentReference()
    • Method Detail

      • getAccountIdentifier

        public String getAccountIdentifier()
        The masked IBAN or bank account number.
        Returns:
        accountIdentifier
      • setAccountIdentifier

        public void setAccountIdentifier​(String accountIdentifier)
      • getId

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

        public void setId​(String id)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to TransferInstrumentReference
      • fromJson

        public static TransferInstrumentReference fromJson​(String jsonString)
                                                    throws IOException
        Create an instance of TransferInstrumentReference given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransferInstrumentReference
        Throws:
        IOException - if the JSON string is invalid with respect to TransferInstrumentReference
      • toJson

        public String toJson()
        Convert an instance of TransferInstrumentReference to an JSON string
        Returns:
        JSON string