Class GetAccountHolderRequest


  • public class GetAccountHolderRequest
    extends Object
    GetAccountHolderRequest
    • Constructor Detail

      • GetAccountHolderRequest

        public GetAccountHolderRequest()
    • Method Detail

      • getAccountCode

        public String getAccountCode()
        The code of the account of which to retrieve the details. > Required if no `accountHolderCode` is provided.
        Returns:
        accountCode
      • setAccountCode

        public void setAccountCode​(String accountCode)
      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the account holder of which to retrieve the details. > Required if no `accountCode` is provided.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getShowDetails

        public Boolean getShowDetails()
        True if the request should return the account holder details
        Returns:
        showDetails
      • setShowDetails

        public void setShowDetails​(Boolean showDetails)
      • equals

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

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

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

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