Class AccountProcessingState


  • public class AccountProcessingState
    extends Object
    AccountProcessingState
    • Constructor Detail

      • AccountProcessingState

        public AccountProcessingState()
    • Method Detail

      • getDisableReason

        public String getDisableReason()
        The reason why processing has been disabled.
        Returns:
        disableReason
      • setDisableReason

        public void setDisableReason​(String disableReason)
      • getDisabled

        public Boolean getDisabled()
        Indicates whether the processing of payments is allowed.
        Returns:
        disabled
      • setDisabled

        public void setDisabled​(Boolean disabled)
      • getProcessedFrom

        public Amount getProcessedFrom()
        Get processedFrom
        Returns:
        processedFrom
      • setProcessedFrom

        public void setProcessedFrom​(Amount processedFrom)
      • getProcessedTo

        public Amount getProcessedTo()
        Get processedTo
        Returns:
        processedTo
      • setProcessedTo

        public void setProcessedTo​(Amount processedTo)
      • getTierNumber

        public Integer getTierNumber()
        The processing tier that the account holder occupies.
        Returns:
        tierNumber
      • setTierNumber

        public void setTierNumber​(Integer tierNumber)
      • equals

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

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

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

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