Class EftDetails


  • public class EftDetails
    extends Object
    EftDetails
    • Constructor Detail

      • EftDetails

        public EftDetails()
    • Method Detail

      • bankAccountNumber

        public EftDetails bankAccountNumber​(String bankAccountNumber)
        The bank account number (without separators).
        Parameters:
        bankAccountNumber - The bank account number (without separators).
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getBankAccountNumber

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

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

        public EftDetails bankCode​(String bankCode)
        The financial institution code.
        Parameters:
        bankCode - The financial institution code.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getBankCode

        public String getBankCode()
        The financial institution code.
        Returns:
        bankCode The financial institution code.
      • setBankCode

        public void setBankCode​(String bankCode)
        The financial institution code.
        Parameters:
        bankCode - The financial institution code.
      • bankLocationId

        public EftDetails bankLocationId​(String bankLocationId)
        The bank routing number of the account.
        Parameters:
        bankLocationId - The bank routing number of the account.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getBankLocationId

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

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

        public EftDetails checkoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId - The checkout attempt identifier.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getCheckoutAttemptId

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

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

        public EftDetails ownerName​(String ownerName)
        The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
        Parameters:
        ownerName - The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getOwnerName

        public String getOwnerName()
        The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
        Returns:
        ownerName The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
      • setOwnerName

        public void setOwnerName​(String ownerName)
        The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
        Parameters:
        ownerName - The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.
      • recurringDetailReference

        @Deprecated
        public EftDetails recurringDetailReference​(String recurringDetailReference)
        Deprecated.
        since Adyen Checkout API v49 Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        recurringDetailReference - This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getRecurringDetailReference

        @Deprecated
        public String getRecurringDetailReference()
        Deprecated.
        // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
      • setRecurringDetailReference

        @Deprecated
        public void setRecurringDetailReference​(String recurringDetailReference)
        Deprecated.
        since Adyen Checkout API v49 Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        recurringDetailReference - This is the `recurringDetailReference` returned in the response when you created the token.
      • sdkData

        public EftDetails sdkData​(String sdkData)
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Parameters:
        sdkData - Base64-encoded JSON object containing SDK related parameters required by the SDK
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getSdkData

        public String getSdkData()
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Returns:
        sdkData Base64-encoded JSON object containing SDK related parameters required by the SDK
      • setSdkData

        public void setSdkData​(String sdkData)
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Parameters:
        sdkData - Base64-encoded JSON object containing SDK related parameters required by the SDK
      • storedPaymentMethodId

        public EftDetails storedPaymentMethodId​(String storedPaymentMethodId)
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        storedPaymentMethodId - This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        the current EftDetails instance, allowing for method chaining
      • getStoredPaymentMethodId

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

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        storedPaymentMethodId - This is the `recurringDetailReference` returned in the response when you created the token.
      • type

        public EftDetails type​(EftDetails.TypeEnum type)
        **eft**
        Parameters:
        type - **eft**
        Returns:
        the current EftDetails instance, allowing for method chaining
      • setType

        public void setType​(EftDetails.TypeEnum type)
        **eft**
        Parameters:
        type - **eft**
      • includeNullValues

        public EftDetails includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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