Package co.dapi

Class Payment.TransferAutoflow

  • Enclosing class:
    Payment

    public static class Payment.TransferAutoflow
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TransferAutoflow​(java.lang.String bundleID, java.lang.String appKey, java.lang.String userID, java.lang.String bankID, java.lang.String senderID, float amount, Payment.BeneficiaryInfo beneficiary)
      Create an object that holds the info needed for the transferAutoflow method.
      TransferAutoflow​(java.lang.String bundleID, java.lang.String appKey, java.lang.String userID, java.lang.String bankID, java.lang.String senderID, float amount, Payment.BeneficiaryInfo beneficiary, java.lang.String remark)
      Create an object that holds the info needed for the transferAutoflow method.
    • Constructor Detail

      • TransferAutoflow

        public TransferAutoflow​(java.lang.String bundleID,
                                java.lang.String appKey,
                                java.lang.String userID,
                                java.lang.String bankID,
                                java.lang.String senderID,
                                float amount,
                                Payment.BeneficiaryInfo beneficiary)
        Create an object that holds the info needed for the transferAutoflow method.
        Parameters:
        bundleID - one of the bundleIDs set for this app.
        appKey - the appKey of this app.
        userID - the userID of the user which is initiating this transfer.
        bankID - the bankID of the user which is initiating this transfer.
        senderID - the id of the account which the money should be sent from. retrieved from one of the accounts array returned from the getAccounts method.
        amount - the amount of money which should be sent.
        beneficiary - the required info about the beneficiary.
      • TransferAutoflow

        public TransferAutoflow​(java.lang.String bundleID,
                                java.lang.String appKey,
                                java.lang.String userID,
                                java.lang.String bankID,
                                java.lang.String senderID,
                                float amount,
                                Payment.BeneficiaryInfo beneficiary,
                                java.lang.String remark)
        Create an object that holds the info needed for the transferAutoflow method.
        Parameters:
        bundleID - one of the bundleIDs set for this app.
        appKey - the appKey of this app.
        userID - the userID of the user which is initiating this transfer.
        bankID - the bankID of the user which is initiating this transfer.
        senderID - the id of the account which the money should be sent from. retrieved from one of the accounts array returned from the getAccounts method.
        amount - the amount of money which should be sent.
        beneficiary - the required info about the beneficiary.
        remark - the remark string that will be sent with this transfer.
    • Method Detail

      • getBundleID

        public java.lang.String getBundleID()
      • getAppKey

        public java.lang.String getAppKey()
      • getUserID

        public java.lang.String getUserID()
      • getSenderID

        public java.lang.String getSenderID()
      • getAmount

        public float getAmount()
      • getRemark

        public java.util.Optional<java.lang.String> getRemark()