Class UpdateAccountHolderStateRequest


  • public class UpdateAccountHolderStateRequest
    extends Object
    UpdateAccountHolderStateRequest
    • Constructor Detail

      • UpdateAccountHolderStateRequest

        public UpdateAccountHolderStateRequest()
    • Method Detail

      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the Account Holder on which to update the state.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getDisable

        public Boolean getDisable()
        If true, disable the requested state. If false, enable the requested state.
        Returns:
        disable
      • setDisable

        public void setDisable​(Boolean disable)
      • getReason

        public String getReason()
        The reason that the state is being updated. >Required if the state is being disabled.
        Returns:
        reason
      • setReason

        public void setReason​(String reason)
      • equals

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

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

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

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