Class DepositInstructions
- java.lang.Object
-
- org.stellar.anchor.paymentservice.DepositInstructions
-
public class DepositInstructions extends java.lang.ObjectThe instructions needed to make a deposit into a beneficiary account using an intermediary account.
-
-
Constructor Summary
Constructors Constructor Description DepositInstructions(java.lang.String beneficiaryAccountId, java.lang.String beneficiaryAccountIdTag, Network beneficiaryNetwork, java.lang.String intermediaryAccountId, java.lang.String intermediaryAccountIdTag, Network intermediaryNetwork, java.lang.String currencyName, java.lang.Object extra)Constructor for the DepositInstructions classDepositInstructions(java.lang.String beneficiaryAccountId, Network beneficiaryNetwork, java.lang.String intermediaryAccountId, Network intermediaryNetwork, java.lang.String currencyName)Constructor for the DepositInstructions class
-
-
-
Constructor Detail
-
DepositInstructions
public DepositInstructions(java.lang.String beneficiaryAccountId, @Nullable java.lang.String beneficiaryAccountIdTag, Network beneficiaryNetwork, java.lang.String intermediaryAccountId, @Nullable java.lang.String intermediaryAccountIdTag, Network intermediaryNetwork, java.lang.String currencyName, @Nullable java.lang.Object extra)Constructor for the DepositInstructions 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.beneficiaryNetwork- A complementary identifier of the intermediary account who will receive the deposit. It might be considered mandatory depending on the use case.intermediaryAccountId- The identifier of the intermediary account who will receive the deposit.intermediaryAccountIdTag- A complementary identifier of the beneficiary 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 to be deposited into the intermediary network.extra- Extra information needed to perform the deposit.
-
DepositInstructions
public DepositInstructions(java.lang.String beneficiaryAccountId, Network beneficiaryNetwork, java.lang.String intermediaryAccountId, Network intermediaryNetwork, java.lang.String currencyName)Constructor for the DepositInstructions class- Parameters:
beneficiaryAccountId- Identifier of the account who will receive the payment.beneficiaryNetwork- A complementary identifier of the intermediary account who will receive the deposit. It might be considered mandatory depending on the use case.intermediaryAccountId- The identifier of the intermediary account who will receive the deposit.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 to be deposited into the intermediary network.
-
-