Class PartyIdentification2


  • public class PartyIdentification2
    extends Object
    PartyIdentification2
    • Constructor Detail

      • PartyIdentification2

        public PartyIdentification2()
    • 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**. 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 PartyIdentification2.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-2 object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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