Class UltimatePartyIdentification


  • public class UltimatePartyIdentification
    extends Object
    UltimatePartyIdentification
    • Constructor Detail

      • UltimatePartyIdentification

        public UltimatePartyIdentification()
    • Method Detail

      • getAddress

        public Address2 getAddress()
        Get address
        Returns:
        address
      • setAddress

        public void setAddress​(Address2 address)
      • getDateOfBirth

        public LocalDate getDateOfBirth()
        The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**.
        Returns:
        dateOfBirth
      • setDateOfBirth

        public void setDateOfBirth​(LocalDate dateOfBirth)
      • getFirstName

        public String getFirstName()
        First name of the individual. Allowed only when `type` is **individual**.
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
      • getFullName

        public String getFullName()
        The name of the entity.
        Returns:
        fullName
      • setFullName

        public void setFullName​(String fullName)
      • getLastName

        public String getLastName()
        Last name of the individual. Allowed only when `type` is **individual**.
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
      • getReference

        public String getReference()
        Your unique reference of the party. This should be consistent for all transfers initiated to/from the same party/counterparty. e.g Your client's unique wallet or payee ID
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getType

        public UltimatePartyIdentification.TypeEnum getType()
        The type of entity that owns the bank account. Possible values: **individual**, **organization**, or **unknown**.
        Returns:
        type
      • 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 UltimatePartyIdentification
      • fromJson

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

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