Class BacsDirectDebitDetails


  • public class BacsDirectDebitDetails
    extends Object
    BacsDirectDebitDetails
    • Constructor Detail

      • BacsDirectDebitDetails

        public BacsDirectDebitDetails()
    • Method Detail

      • getBankAccountNumber

        public String getBankAccountNumber()
        The bank account number (without separators).
        Returns:
        bankAccountNumber
      • setBankAccountNumber

        public void setBankAccountNumber​(String bankAccountNumber)
        The bank account number (without separators).
        Parameters:
        bankAccountNumber -
      • getBankLocationId

        public String getBankLocationId()
        The bank routing number of the account.
        Returns:
        bankLocationId
      • setBankLocationId

        public void setBankLocationId​(String bankLocationId)
        The bank routing number of the account.
        Parameters:
        bankLocationId -
      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId -
      • getHolderName

        public String getHolderName()
        The name of the bank account holder.
        Returns:
        holderName
      • setHolderName

        public void setHolderName​(String holderName)
        The name of the bank account holder.
        Parameters:
        holderName -
      • getRecurringDetailReference

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

        @Deprecated
        public void setRecurringDetailReference​(String recurringDetailReference)
        Deprecated.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        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)
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        storedPaymentMethodId -
      • equals

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

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

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

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