Class PaymentReversalRequest


  • public class PaymentReversalRequest
    extends Object
    PaymentReversalRequest
    • Constructor Detail

      • PaymentReversalRequest

        public PaymentReversalRequest()
    • Method Detail

      • getApplicationInfo

        public ApplicationInfo getApplicationInfo()
        Get applicationInfo
        Returns:
        applicationInfo
      • setApplicationInfo

        public void setApplicationInfo​(ApplicationInfo applicationInfo)
        applicationInfo
        Parameters:
        applicationInfo -
      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account that is used to process the payment.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account that is used to process the payment.
        Parameters:
        merchantAccount -
      • getReference

        public String getReference()
        Your reference for the reversal request. Maximum length: 80 characters.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the reversal request. Maximum length: 80 characters.
        Parameters:
        reference -
      • equals

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

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

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

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