Class CheckoutBankAccount


  • public class CheckoutBankAccount
    extends Object
    CheckoutBankAccount
    • Constructor Detail

      • CheckoutBankAccount

        public CheckoutBankAccount()
    • Method Detail

      • bankAccountNumber

        public CheckoutBankAccount bankAccountNumber​(String bankAccountNumber)
        The bank account number (without separators).
        Parameters:
        bankAccountNumber -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • 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 -
      • bankCity

        public CheckoutBankAccount bankCity​(String bankCity)
        The bank city.
        Parameters:
        bankCity -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getBankCity

        public String getBankCity()
        The bank city.
        Returns:
        bankCity
      • setBankCity

        public void setBankCity​(String bankCity)
        The bank city.
        Parameters:
        bankCity -
      • bankLocationId

        public CheckoutBankAccount bankLocationId​(String bankLocationId)
        The location id of the bank. The field value is `nil` in most cases.
        Parameters:
        bankLocationId -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getBankLocationId

        public String getBankLocationId()
        The location id of the bank. The field value is `nil` in most cases.
        Returns:
        bankLocationId
      • setBankLocationId

        public void setBankLocationId​(String bankLocationId)
        The location id of the bank. The field value is `nil` in most cases.
        Parameters:
        bankLocationId -
      • bankName

        public CheckoutBankAccount bankName​(String bankName)
        The name of the bank.
        Parameters:
        bankName -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getBankName

        public String getBankName()
        The name of the bank.
        Returns:
        bankName
      • setBankName

        public void setBankName​(String bankName)
        The name of the bank.
        Parameters:
        bankName -
      • bic

        public CheckoutBankAccount bic​(String bic)
        The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.
        Parameters:
        bic -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getBic

        public String getBic()
        The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.
        Returns:
        bic
      • setBic

        public void setBic​(String bic)
        The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.
        Parameters:
        bic -
      • countryCode

        public CheckoutBankAccount countryCode​(String countryCode)
        Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').
        Parameters:
        countryCode -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getCountryCode

        public String getCountryCode()
        Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
        Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').
        Parameters:
        countryCode -
      • iban

        public CheckoutBankAccount iban​(String iban)
        The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).
        Parameters:
        iban -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getIban

        public String getIban()
        The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
        The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).
        Parameters:
        iban -
      • ownerName

        public CheckoutBankAccount 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 -
        Returns:
        the current CheckoutBankAccount 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
      • 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 -
      • taxId

        public CheckoutBankAccount taxId​(String taxId)
        The bank account holder's tax ID.
        Parameters:
        taxId -
        Returns:
        the current CheckoutBankAccount instance, allowing for method chaining
      • getTaxId

        public String getTaxId()
        The bank account holder's tax ID.
        Returns:
        taxId
      • setTaxId

        public void setTaxId​(String taxId)
        The bank account holder's tax ID.
        Parameters:
        taxId -
      • equals

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

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

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

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