Artifact Content
Not logged in

Artifact 6dfba2386cd8d38a50be046b53ce0a78713188f0:


package org.interledger.ilqp;

import org.interledger.InterledgerAddress;
import org.interledger.InterledgerPacket;

import java.time.Duration;

/**
 * A parent interface for all quote requests in ILQP.
 */
public interface QuoteRequest extends InterledgerPacket {

  /**
   * The account on the destination ledger that this quote applies to.
   *
   * @return An instance of {@link InterledgerAddress}.
   */
  InterledgerAddress getDestinationAccount();
  
  /**
   * Returns the amount of time the receiver needs to fulfill the payment.
   * @return An instance of {@link Duration}
   */
  Duration getDestinationHoldDuration();
}