Package co.dapi
Class Payment.TransferAutoflow
java.lang.Object
co.dapi.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. -
Method Summary
Modifier and Type Method Description floatgetAmount()java.lang.StringgetAppKey()Payment.BeneficiaryInfogetBeneficiary()java.lang.StringgetBundleID()java.util.Optional<java.lang.String>getRemark()java.lang.StringgetSenderID()java.lang.StringgetUserID()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
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 Details
-
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() -
getBeneficiary
-
getRemark
public java.util.Optional<java.lang.String> getRemark()
-