Class DepositRequirements


  • public class DepositRequirements
    extends java.lang.Object
    Contains 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.
    See Also:
    DepositInstructions, PaymentService.getDepositInstructions(DepositRequirements)
    • 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 balance
        currencyName - 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 balance
        currencyName - The name of the currency that will be ultimately credited into the beneficiary user account.