Class DisableRequest


  • public class DisableRequest
    extends Object
    DisableRequest
    • Constructor Detail

      • DisableRequest

        public DisableRequest()
    • Method Detail

      • getContract

        public String getContract()
        Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT
        Returns:
        contract
      • setContract

        public void setContract​(String contract)
        Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT
        Parameters:
        contract -
      • 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 -
      • recurringDetailReference

        public DisableRequest recurringDetailReference​(String recurringDetailReference)
      • getRecurringDetailReference

        public String getRecurringDetailReference()
        The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details.
        Returns:
        recurringDetailReference
      • setRecurringDetailReference

        public void setRecurringDetailReference​(String recurringDetailReference)
        The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details.
        Parameters:
        recurringDetailReference -
      • getShopperReference

        public String getShopperReference()
        The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment.
        Returns:
        shopperReference
      • setShopperReference

        public void setShopperReference​(String shopperReference)
        The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment.
        Parameters:
        shopperReference -
      • equals

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

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

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

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