Class SepaDirectDebitDetails


  • public class SepaDirectDebitDetails
    extends Object
    SepaDirectDebitDetails
    • Constructor Detail

      • SepaDirectDebitDetails

        public SepaDirectDebitDetails()
    • Method Detail

      • getCheckoutAttemptId

        public String getCheckoutAttemptId()
        The checkout attempt identifier.
        Returns:
        checkoutAttemptId
      • setCheckoutAttemptId

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • getIban

        public String getIban()
        The International Bank Account Number (IBAN).
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
      • getOwnerName

        public String getOwnerName()
        The name of the bank account holder.
        Returns:
        ownerName
      • setOwnerName

        public void setOwnerName​(String ownerName)
      • getRecurringDetailReference

        @Deprecated
        public String getRecurringDetailReference()
        Deprecated.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        recurringDetailReference
      • setRecurringDetailReference

        public void setRecurringDetailReference​(String recurringDetailReference)
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        storedPaymentMethodId
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to SepaDirectDebitDetails
      • fromJson

        public static SepaDirectDebitDetails fromJson​(String jsonString)
                                               throws IOException
        Create an instance of SepaDirectDebitDetails given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SepaDirectDebitDetails
        Throws:
        IOException - if the JSON string is invalid with respect to SepaDirectDebitDetails
      • toJson

        public String toJson()
        Convert an instance of SepaDirectDebitDetails to an JSON string
        Returns:
        JSON string