Class PaymentCancelRequest


  • public class PaymentCancelRequest
    extends Object
    PaymentCancelRequest
    • Constructor Detail

      • PaymentCancelRequest

        public PaymentCancelRequest()
    • 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 cancel request. Maximum length: 80 characters.
        Returns:
        reference
      • setReference

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

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

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

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

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