ManageBuyOfferOperation constructor

ManageBuyOfferOperation(
  1. Asset selling,
  2. Asset buying,
  3. String amount,
  4. String price,
  5. int offerId
)

Implementation

ManageBuyOfferOperation(
    Asset selling, Asset buying, String amount, String price, int offerId) {
  this._selling = checkNotNull(selling, "selling cannot be null");
  this._buying = checkNotNull(buying, "buying cannot be null");
  this._amount = checkNotNull(amount, "amount cannot be null");
  this._price = checkNotNull(price, "price cannot be null");
  this._offerId = offerId;
}