Class CreateAccountResponse


  • public class CreateAccountResponse
    extends Object
    CreateAccountResponse
    • Constructor Detail

      • CreateAccountResponse

        public CreateAccountResponse()
    • Method Detail

      • getAccountCode

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

        public void setAccountCode​(String accountCode)
      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the account holder.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • 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()
        The description of the account.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getInvalidFields

        public List<ErrorFieldType> getInvalidFields()
        A list of fields that caused the `/createAccount` request to fail.
        Returns:
        invalidFields
      • getMetadata

        public Map<String,​String> getMetadata()
        A set of key and value pairs containing metadata.
        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)
      • getPayoutSchedule

        public PayoutScheduleResponse getPayoutSchedule()
        Get payoutSchedule
        Returns:
        payoutSchedule
      • getPayoutSpeed

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

        public String getPspReference()
        The reference of a request. Can be used to uniquely identify the request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getResultCode

        public String getResultCode()
        The result code.
        Returns:
        resultCode
      • setResultCode

        public void setResultCode​(String resultCode)
      • equals

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

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

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

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