Class RelayedAuthorisationResponse


  • public class RelayedAuthorisationResponse
    extends Object
    RelayedAuthorisationResponse
    • Constructor Detail

      • RelayedAuthorisationResponse

        public RelayedAuthorisationResponse()
    • Method Detail

      • authorisationDecision

        public RelayedAuthorisationResponse authorisationDecision​(AuthorisationDecisionResponse authorisationDecision)
        authorisationDecision
        Parameters:
        authorisationDecision -
        Returns:
        the current RelayedAuthorisationResponse instance, allowing for method chaining
      • getAuthorisationDecision

        public AuthorisationDecisionResponse getAuthorisationDecision()
        Get authorisationDecision
        Returns:
        authorisationDecision
      • setAuthorisationDecision

        public void setAuthorisationDecision​(AuthorisationDecisionResponse authorisationDecision)
        authorisationDecision
        Parameters:
        authorisationDecision -
      • metadata

        public RelayedAuthorisationResponse metadata​(Map<String,​String> metadata)
        Object that contains key-value pairs that you can use in your reporting or other business process.
        Parameters:
        metadata - Object that contains key-value pairs that you can use in your reporting or other business process.
        Returns:
        the current RelayedAuthorisationResponse instance, allowing for method chaining
      • getMetadata

        public Map<String,​String> getMetadata()
        Object that contains key-value pairs that you can use in your reporting or other business process.
        Returns:
        metadata Object that contains key-value pairs that you can use in your reporting or other business process.
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
        Object that contains key-value pairs that you can use in your reporting or other business process.
        Parameters:
        metadata - Object that contains key-value pairs that you can use in your reporting or other business process.
      • reference

        public RelayedAuthorisationResponse reference​(String reference)
        Reference of the payment.
        Parameters:
        reference - Reference of the payment.
        Returns:
        the current RelayedAuthorisationResponse instance, allowing for method chaining
      • getReference

        public String getReference()
        Reference of the payment.
        Returns:
        reference Reference of the payment.
      • setReference

        public void setReference​(String reference)
        Reference of the payment.
        Parameters:
        reference - Reference of the payment.
      • equals

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

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

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

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