Class GenerateWorkflowRequest

java.lang.Object
com.broadleafcommerce.orderoperation.domain.GenerateWorkflowRequest
All Implemented Interfaces:
Serializable

public class GenerateWorkflowRequest extends Object implements Serializable
The request to create the workflow.
Since:
Order Operation Service 2.2.0, Release Train 2.3.0
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • GenerateWorkflowRequest

      public GenerateWorkflowRequest()
  • Method Details

    • getOrder

      public com.broadleafcommerce.order.client.domain.Order getOrder()
      The containing order. The order id will be passed via the workflow context.
    • getFulfillment

      public com.broadleafcommerce.order.client.domain.OrderFulfillment getFulfillment()
      One of the fulfillments for the order that is qualified for fulfillment via workflow processing. The id will be passed via workflow context.
    • getSubscriptionId

      @Nullable public String getSubscriptionId()
      The subscription id the fulfillment is associated with.
    • getLockToken

      @Nullable public String getLockToken()
      The child lock token for the top-level subscription lock. The workflow will be responsible for releasing this child lock.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Map holding any additional attributes passed in the request not matching any defined properties.
    • setOrder

      public void setOrder(com.broadleafcommerce.order.client.domain.Order order)
      The containing order. The order id will be passed via the workflow context.
    • setFulfillment

      public void setFulfillment(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment)
      One of the fulfillments for the order that is qualified for fulfillment via workflow processing. The id will be passed via workflow context.
    • setSubscriptionId

      public void setSubscriptionId(@Nullable String subscriptionId)
      The subscription id the fulfillment is associated with.
    • setLockToken

      public void setLockToken(@Nullable String lockToken)
      The child lock token for the top-level subscription lock. The workflow will be responsible for releasing this child lock.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Map holding any additional attributes passed in the request not matching any defined properties.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object