Class CustomerOrder

java.lang.Object
ai.redouble.examples.scope.CustomerOrder
All Implemented Interfaces:
CustomerScoped, Scoped

public class CustomerOrder extends Object implements CustomerScoped
The customer-order tool's input, and a claim: implementing the marker makes the customer named here the one the flow's binding judges, and the one the tool looks the order up under.
Since:
0.1 (2026-09-27)
Author:
Andrey Santrosyan
  • Constructor Details

    • CustomerOrder

      public CustomerOrder()
    • CustomerOrder

      public CustomerOrder(String customerId, String orderNumber)
  • Method Details

    • getCustomerId

      public String getCustomerId()
      Specified by:
      getCustomerId in interface CustomerScoped
    • setCustomerId

      public void setCustomerId(String customerId)
    • getOrderNumber

      public String getOrderNumber()
    • setOrderNumber

      public void setOrderNumber(String orderNumber)