Result returned by the user's task handler.
This interface defines the structure that user executors must return from their handleTask method. The result includes:
The result is processed by the PaymentsA2AAdapter to create the appropriate A2A protocol objects and handle payment operations.
Optional
Optional metadata including payment information and custom data
Parts that will be converted to A2A Message or Artifact objects
The final state of the task
Result returned by the user's task handler.
This interface defines the structure that user executors must return from their handleTask method. The result includes:
The result is processed by the PaymentsA2AAdapter to create the appropriate A2A protocol objects and handle payment operations.