Class TransactionStatusResponse


  • public class TransactionStatusResponse
    extends Object
    Content of the TransactionStatus Response message. It conveys Information related to the status of the last or current Payment, Loyalty or Reversal transaction.
    • Constructor Detail

      • TransactionStatusResponse

        public TransactionStatusResponse()
    • Method Detail

      • response

        public TransactionStatusResponse response​(Response response)
        response
        Parameters:
        response -
        Returns:
        the current TransactionStatusResponse instance, allowing for method chaining
      • getResponse

        public Response getResponse()
        Get response
        Returns:
        response
      • setResponse

        public void setResponse​(Response response)
        response
        Parameters:
        response -
      • messageReference

        public TransactionStatusResponse messageReference​(MessageReference messageReference)
        messageReference
        Parameters:
        messageReference -
        Returns:
        the current TransactionStatusResponse instance, allowing for method chaining
      • getMessageReference

        public MessageReference getMessageReference()
        Get messageReference
        Returns:
        messageReference
      • setMessageReference

        public void setMessageReference​(MessageReference messageReference)
        messageReference
        Parameters:
        messageReference -
      • repeatedMessageResponse

        public TransactionStatusResponse repeatedMessageResponse​(RepeatedMessageResponse repeatedMessageResponse)
        repeatedMessageResponse
        Parameters:
        repeatedMessageResponse -
        Returns:
        the current TransactionStatusResponse instance, allowing for method chaining
      • getRepeatedMessageResponse

        public RepeatedMessageResponse getRepeatedMessageResponse()
        Get repeatedMessageResponse
        Returns:
        repeatedMessageResponse
      • setRepeatedMessageResponse

        public void setRepeatedMessageResponse​(RepeatedMessageResponse repeatedMessageResponse)
        repeatedMessageResponse
        Parameters:
        repeatedMessageResponse -
      • includeNullValues

        public TransactionStatusResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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