Class DisablePermitRequest


  • public class DisablePermitRequest
    extends Object
    DisablePermitRequest
    • Constructor Detail

      • DisablePermitRequest

        public DisablePermitRequest()
    • Method Detail

      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account identifier, with which you want to process the transaction.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account identifier, with which you want to process the transaction.
        Parameters:
        merchantAccount -
      • getToken

        public String getToken()
        The permit token to disable.
        Returns:
        token
      • setToken

        public void setToken​(String token)
        The permit token to disable.
        Parameters:
        token -
      • equals

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

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

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

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