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)
        address
        Parameters:
        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)
        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**.
        Parameters:
        dateOfBirth -
      • getFirstName

        public String getFirstName()
        First name of the individual. Allowed only when `type` is **individual**. Supported characters: [a-z] [A-Z] - . / — and Space.
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
        First name of the individual. Allowed only when `type` is **individual**. Supported characters: [a-z] [A-Z] - . / — and Space.
        Parameters:
        firstName -
      • getFullName

        public String getFullName()
        The name of the entity. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and Space.
        Returns:
        fullName
      • setFullName

        public void setFullName​(String fullName)
        The name of the entity. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and Space.
        Parameters:
        fullName -
      • getLastName

        public String getLastName()
        Last name of the individual. Allowed only when `type` is **individual**. Supported characters: [a-z] [A-Z] - . / — and Space.
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
        Last name of the individual. Allowed only when `type` is **individual**. Supported characters: [a-z] [A-Z] - . / — and Space.
        Parameters:
        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)
        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.
        Parameters:
        reference -
      • getType

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

        public void setType​(PartyIdentification.TypeEnum type)
        The type of entity that owns the bank account. Possible values: **individual**, **organization**, or **unknown**.
        Parameters:
        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