Class Account


  • public class Account
    extends Object
    Account
    • Constructor Detail

      • Account

        public Account()
    • Method Detail

      • accountCode

        public Account accountCode​(String accountCode)
      • getAccountCode

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

        public void setAccountCode​(String accountCode)
      • beneficiaryAccount

        public Account beneficiaryAccount​(String beneficiaryAccount)
      • getBeneficiaryAccount

        public String getBeneficiaryAccount()
        The beneficiary of the account.
        Returns:
        beneficiaryAccount
      • setBeneficiaryAccount

        public void setBeneficiaryAccount​(String beneficiaryAccount)
      • beneficiaryMerchantReference

        public Account beneficiaryMerchantReference​(String beneficiaryMerchantReference)
      • getBeneficiaryMerchantReference

        public String getBeneficiaryMerchantReference()
        The reason that a beneficiary has been set up for this account. This may have been supplied during the setup of a beneficiary at the discretion of the executing user.
        Returns:
        beneficiaryMerchantReference
      • setBeneficiaryMerchantReference

        public void setBeneficiaryMerchantReference​(String beneficiaryMerchantReference)
      • description

        public Account description​(String description)
      • getDescription

        public String getDescription()
        A description of the account.
        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)
      • getPayoutSchedule

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

        public String getStatus()
        The status of the account. Possible values: `Active`, `Inactive`, `Suspended`, `Closed`.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • bankAccountUUID

        public Account bankAccountUUID​(String bankAccountUUID)
      • getBankAccountUUID

        public String getBankAccountUUID()
      • setBankAccountUUID

        public void setBankAccountUUID​(String bankAccountUUID)
      • payoutMethodCode

        public Account payoutMethodCode​(String payoutMethodCode)
      • getPayoutMethodCode

        public String getPayoutMethodCode()
      • setPayoutMethodCode

        public void setPayoutMethodCode​(String payoutMethodCode)
      • setPayoutSpeed

        public void setPayoutSpeed​(PayoutSpeedEnum payoutSpeed)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object