Class SubjectErasureByPspReferenceRequest


  • public class SubjectErasureByPspReferenceRequest
    extends Object
    SubjectErasureByPspReferenceRequest
    • Constructor Detail

      • SubjectErasureByPspReferenceRequest

        public SubjectErasureByPspReferenceRequest()
    • Method Detail

      • getForceErasure

        public Boolean getForceErasure()
        Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction.
        Returns:
        forceErasure
      • setForceErasure

        public void setForceErasure​(Boolean forceErasure)
        Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction.
        Parameters:
        forceErasure -
      • getMerchantAccount

        public String getMerchantAccount()
        Your merchant account
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        Your merchant account
        Parameters:
        merchantAccount -
      • getPspReference

        public String getPspReference()
        The PSP reference of the payment. We will delete all shopper-related data for this payment.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        The PSP reference of the payment. We will delete all shopper-related data for this payment.
        Parameters:
        pspReference -
      • equals

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

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

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

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