Class AuthorisationDecisionRequest


  • public class AuthorisationDecisionRequest
    extends Object
    AuthorisationDecisionRequest
    • Constructor Detail

      • AuthorisationDecisionRequest

        public AuthorisationDecisionRequest()
    • Method Detail

      • reasonCode

        public AuthorisationDecisionRequest reasonCode​(String reasonCode)
        The reason of the authorization decision.
        Parameters:
        reasonCode - The reason of the authorization decision.
        Returns:
        the current AuthorisationDecisionRequest instance, allowing for method chaining
      • getReasonCode

        public String getReasonCode()
        The reason of the authorization decision.
        Returns:
        reasonCode The reason of the authorization decision.
      • setReasonCode

        public void setReasonCode​(String reasonCode)
        The reason of the authorization decision.
        Parameters:
        reasonCode - The reason of the authorization decision.
      • status

        public AuthorisationDecisionRequest status​(String status)
        The status of the authorization decision. Possible values: **Authorised** or **Refused**.
        Parameters:
        status - The status of the authorization decision. Possible values: **Authorised** or **Refused**.
        Returns:
        the current AuthorisationDecisionRequest instance, allowing for method chaining
      • getStatus

        public String getStatus()
        The status of the authorization decision. Possible values: **Authorised** or **Refused**.
        Returns:
        status The status of the authorization decision. Possible values: **Authorised** or **Refused**.
      • setStatus

        public void setStatus​(String status)
        The status of the authorization decision. Possible values: **Authorised** or **Refused**.
        Parameters:
        status - The status of the authorization decision. Possible values: **Authorised** or **Refused**.
      • statusCode

        public AuthorisationDecisionRequest statusCode​(String statusCode)
        The code of the authorization decision.
        Parameters:
        statusCode - The code of the authorization decision.
        Returns:
        the current AuthorisationDecisionRequest instance, allowing for method chaining
      • getStatusCode

        public String getStatusCode()
        The code of the authorization decision.
        Returns:
        statusCode The code of the authorization decision.
      • setStatusCode

        public void setStatusCode​(String statusCode)
        The code of the authorization decision.
        Parameters:
        statusCode - The code of the authorization decision.
      • equals

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

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

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

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