use of io.tbd.tbdex.protocol.messages.SettlementRequest in project tbdex-protocol by TBD54566975.
the class OfferAcceptProcessor method process.
@Override
public Message process(Message message) {
String messageId = UUID.randomUUID().toString();
// TODO: send real schema
SettlementRequest settlementRequest = new SettlementRequest("schema");
return new Message.Builder(messageId, message.threadID(), message.to(), message.from()).build(settlementRequest);
}
Aggregations