addTimeBounds method

TransactionBuilder addTimeBounds (
  1. TimeBounds timeBounds
)

Adds time-bounds to this transaction.

Implementation

TransactionBuilder addTimeBounds(TimeBounds timeBounds) {
  if (_mTimeBounds != null) {
    throw Exception("TimeBounds has been already added.");
  }
  checkNotNull(timeBounds, "timeBounds cannot be null");
  _mTimeBounds = timeBounds;
  return this;
}