Artifact Content
Not logged in

Artifact 0c7da380830023c21e01ba5ac481401c72fc0fe7:


package org.interledger.codecs;

import org.interledger.codecs.packettypes.InterledgerPacketType;
import org.interledger.codecs.packettypes.QuoteBySourceAmountResponsePacketType;
import org.interledger.ilqp.QuoteBySourceAmountResponse;

/**
 * An implementation of {@link Codec} that reads and writes instances of {@link
 * QuoteBySourceAmountResponse}.
 */
public interface QuoteBySourceAmountResponseCodec
    extends InterledgerPacketCodec<QuoteBySourceAmountResponse> {

  InterledgerPacketType TYPE = new QuoteBySourceAmountResponsePacketType();

  @Override
  default InterledgerPacketType getTypeId() {
    return TYPE;
  }

}