Class PartyIdentification


  • public class PartyIdentification
    extends Object
    PartyIdentification
    • Constructor Detail

      • PartyIdentification

        public PartyIdentification()
    • Method Detail

      • getAddress

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

        public void setAddress​(Address 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**. Should not be before January 1, 1900. 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()
        A unique reference to identify the party or counterparty involved in transfers. This identifier ensures consistency and uniqueness throughout all transactions initiated to and from the same party. For example, your client's unique wallet or payee ID.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getType

        public PartyIdentification.TypeEnum getType()
        The type of entity that owns the bank account. Possible values: **individual**, **organization**, or **unknown**.
        Returns:
        type
      • equals

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

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

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

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