PathPaymentStrictReceiveOperationBuilder constructor

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

Creates a PathPaymentStrictReceiveOperation builder.

Implementation

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