Class UpdateAccountRequest


  • public class UpdateAccountRequest
    extends Object
    UpdateAccountRequest
    • Constructor Detail

      • UpdateAccountRequest

        public UpdateAccountRequest()
    • Method Detail

      • getAccountCode

        public String getAccountCode()
        The code of the account to update.
        Returns:
        accountCode
      • setAccountCode

        public void setAccountCode​(String accountCode)
      • getBankAccountUUID

        public String getBankAccountUUID()
        The bankAccountUUID of the bank account held by the account holder to couple the account with. Scheduled payouts in currencies matching the currency of this bank account will be sent to this bank account. Payouts in different currencies will be sent to a matching bank account of the account holder.
        Returns:
        bankAccountUUID
      • setBankAccountUUID

        public void setBankAccountUUID​(String bankAccountUUID)
      • getDescription

        public String getDescription()
        A description of the account, maximum 256 characters.You can use alphanumeric characters (A-Z, a-z, 0-9), white spaces, and underscores `_`.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getMetadata

        public Map<String,​String> getMetadata()
        A set of key and value pairs for general use by the merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
      • getPayoutMethodCode

        public String getPayoutMethodCode()
        The payout method code held by the account holder to couple the account with. Scheduled card payouts will be sent using this payout method code.
        Returns:
        payoutMethodCode
      • setPayoutMethodCode

        public void setPayoutMethodCode​(String payoutMethodCode)
      • getPayoutSpeed

        public UpdateAccountRequest.PayoutSpeedEnum getPayoutSpeed()
        Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.
        Returns:
        payoutSpeed
      • equals

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

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

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

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