PathPaymentStrictSendOperationBuilder constructor

PathPaymentStrictSendOperationBuilder(
  1. Asset sendAsset,
  2. String sendAmount,
  3. String destination,
  4. Asset destAsset,
  5. String destMin
)

Creates a PathPaymentStrictSendOperation builder.

Implementation

PathPaymentStrictSendOperationBuilder(Asset sendAsset, String sendAmount,
    String destination, Asset destAsset, String destMin) {
  this._sendAsset = checkNotNull(sendAsset, "sendAsset cannot be null");
  this._sendAmount = checkNotNull(sendAmount, "sendAmount cannot be null");
  checkNotNull(destination, "destination cannot be null");
  this._destination = MuxedAccount(destination, null);
  this._destAsset = checkNotNull(destAsset, "destAsset cannot be null");
  this._destMin = checkNotNull(destMin, "destMin cannot be null");
}