Class RelayedAuthorisationData


  • public class RelayedAuthorisationData
    extends Object
    RelayedAuthorisationData
    • Constructor Detail

      • RelayedAuthorisationData

        public RelayedAuthorisationData()
    • Method Detail

      • getMetadata

        public Map<String,​String> getMetadata()
        Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
        Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.
        Parameters:
        metadata -
      • getReference

        public String getReference()
        Your reference for the relayed authorisation data.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the relayed authorisation data.
        Parameters:
        reference -
      • equals

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

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

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

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