Class CreateSubscriptionFromOrderRequest
java.lang.Object
com.broadleafcommerce.subscriptionoperation.web.domain.CreateSubscriptionFromOrderRequest
- All Implemented Interfaces:
Serializable
Represents a request to create one or more
Subscriptions based on a given
Order and its Fulfillments.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be set to this request in order to inform business logic for adding aSubscription.List<com.broadleafcommerce.order.client.domain.OrderFulfillment>TheFulfillmentscreated for theorder.com.broadleafcommerce.order.client.domain.OrdergetOrder()The source order to use to create one or moreSubscriptions.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be set to this request in order to inform business logic for adding aSubscription.voidsetFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) TheFulfillmentscreated for theorder.voidsetOrder(com.broadleafcommerce.order.client.domain.Order order) The source order to use to create one or moreSubscriptions.toString()
-
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 moreSubscriptions. -
getFulfillments
TheFulfillmentscreated for theorder. -
getAdditionalAttributes
Miscellaneous attributes that can be set to this request in order to inform business logic for adding aSubscription. -
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order) The source order to use to create one or moreSubscriptions. -
setFulfillments
public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) TheFulfillmentscreated for theorder. -
setAdditionalAttributes
Miscellaneous attributes that can be set to this request in order to inform business logic for adding aSubscription. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-