Class RefundResult


  • public class RefundResult
    extends Object
    RefundResult
    • Constructor Detail

      • RefundResult

        public RefundResult()
    • Method Detail

      • getOriginalTransaction

        public Transaction getOriginalTransaction()
        Get originalTransaction
        Returns:
        originalTransaction
      • setOriginalTransaction

        public void setOriginalTransaction​(Transaction originalTransaction)
      • getPspReference

        public String getPspReference()
        The reference of the refund.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getResponse

        public String getResponse()
        The response indicating if the refund has been received for processing.
        Returns:
        response
      • setResponse

        public void setResponse​(String response)
      • equals

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

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

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

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