PathPaymentStrictReceiveOperationBuilder.forMuxedDestinationAccount constructor

PathPaymentStrictReceiveOperationBuilder.forMuxedDestinationAccount(
  1. Asset sendAsset,
  2. String sendMax,
  3. MuxedAccount destination,
  4. Asset destAsset,
  5. String destAmount
)

Creates a PathPaymentStrictReceiveOperation builder for a MuxedAccount as a destination.

Implementation

PathPaymentStrictReceiveOperationBuilder.forMuxedDestinationAccount(
    Asset sendAsset,
    String sendMax,
    MuxedAccount destination,
    Asset destAsset,
    String destAmount) {
  this._sendAsset = checkNotNull(sendAsset, "sendAsset cannot be null");
  this._sendMax = checkNotNull(sendMax, "sendMax cannot be null");
  this._destination = checkNotNull(destination, "destination cannot be null");
  this._destAsset = checkNotNull(destAsset, "destAsset cannot be null");
  this._destAmount = checkNotNull(destAmount, "destAmount cannot be null");
}