Class PaymentFailureNotificationContent


  • public class PaymentFailureNotificationContent
    extends Object
    PaymentFailureNotificationContent
    • Constructor Detail

      • PaymentFailureNotificationContent

        public PaymentFailureNotificationContent()
    • Method Detail

      • getErrorFields

        public List<ErrorFieldType> getErrorFields()
        Missing or invalid fields that caused the payment error.
        Returns:
        errorFields
      • getErrorMessage

        public Message getErrorMessage()
        Get errorMessage
        Returns:
        errorMessage
      • setErrorMessage

        public void setErrorMessage​(Message errorMessage)
      • getModificationMerchantReference

        public String getModificationMerchantReference()
        The `reference` of the capture or refund.
        Returns:
        modificationMerchantReference
      • setModificationMerchantReference

        public void setModificationMerchantReference​(String modificationMerchantReference)
      • getModificationPspReference

        public String getModificationPspReference()
        The `pspReference` of the capture or refund.
        Returns:
        modificationPspReference
      • setModificationPspReference

        public void setModificationPspReference​(String modificationPspReference)
      • getPaymentMerchantReference

        public String getPaymentMerchantReference()
        The `reference` of the payment.
        Returns:
        paymentMerchantReference
      • setPaymentMerchantReference

        public void setPaymentMerchantReference​(String paymentMerchantReference)
      • getPaymentPspReference

        public String getPaymentPspReference()
        The `pspReference` of the payment.
        Returns:
        paymentPspReference
      • setPaymentPspReference

        public void setPaymentPspReference​(String paymentPspReference)
      • equals

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

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

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

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