java.lang.Object
com.broadleafcommerce.orderoperation.service.provider.external.domain.subscription.CreateSubscriptionFromOrderRequest
All Implemented Interfaces:
Serializable

public class CreateSubscriptionFromOrderRequest extends Object implements Serializable
Represents a request to create one or more Subscriptions based on a given Order and its Fulfillments.
Since:
Order Operation Service 2.2.0, Release Train 2.3.0
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • CreateSubscriptionFromOrderRequest

      public CreateSubscriptionFromOrderRequest()
  • Method Details

    • getOrder

      public com.broadleafcommerce.order.client.domain.Order getOrder()
      The source order to use to create one or more Subscription.
    • getFulfillments

      public List<com.broadleafcommerce.order.client.domain.OrderFulfillment> getFulfillments()
      The Fulfillments created for the order.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be set to this request in order to inform business logic for adding a Subscription.
    • setOrder

      public void setOrder(com.broadleafcommerce.order.client.domain.Order order)
      The source order to use to create one or more Subscription.
    • setFulfillments

      public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
      The Fulfillments created for the order.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be set to this request in order to inform business logic for adding a Subscription.
    • 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