Class BankAccountModel


  • public class BankAccountModel
    extends Object
    BankAccountModel
    • Constructor Detail

      • BankAccountModel

        public BankAccountModel()
    • Method Detail

      • getFormFactor

        public BankAccountModel.FormFactorEnum getFormFactor()
        Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
        Returns:
        formFactor
      • setFormFactor

        public void setFormFactor​(BankAccountModel.FormFactorEnum formFactor)
        Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
        Parameters:
        formFactor -
      • equals

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

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

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

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