Class DepositRequirements
- java.lang.Object
-
- org.stellar.anchor.paymentservice.DepositRequirements
-
public class DepositRequirements extends java.lang.ObjectContains the configuration options needed for an external user to make a deposit into the desired account. This class will be needed if the implementation allows users to make deposits using intermediary networks. For instance, when a user wants to make a deposit to their Circle account through a Stellar payment.
-
-
Constructor Summary
Constructors Constructor Description DepositRequirements(java.lang.String beneficiaryAccountId, java.lang.String beneficiaryAccountIdTag, Network intermediaryNetwork, java.lang.String currencyName)Constructor of the DepositConfiguration class.DepositRequirements(java.lang.String beneficiaryAccountId, Network intermediaryNetwork, java.lang.String currencyName)Constructor of the DepositConfiguration class.
-
-
-
Constructor Detail
-
DepositRequirements
public DepositRequirements(java.lang.String beneficiaryAccountId, Network intermediaryNetwork, java.lang.String currencyName)Constructor of the DepositConfiguration class.- Parameters:
beneficiaryAccountId- Identifier of the account who will receive the payment.intermediaryNetwork- The network where the deposit will be made. After the deposit is performed on that network it will be reflected in the beneficiary user balancecurrencyName- The name of the currency that will be ultimately credited into the beneficiary user account.
-
DepositRequirements
public DepositRequirements(java.lang.String beneficiaryAccountId, @Nullable java.lang.String beneficiaryAccountIdTag, Network intermediaryNetwork, java.lang.String currencyName)Constructor of the DepositConfiguration class.- Parameters:
beneficiaryAccountId- Identifier of the account who will receive the payment.beneficiaryAccountIdTag- Complementary identifier of the account who will receive the payment. May be mandatory depending on the implementation.intermediaryNetwork- The network where the deposit will be made. After the deposit is performed on that network it will be reflected in the beneficiary user balancecurrencyName- The name of the currency that will be ultimately credited into the beneficiary user account.
-
-