Class CreateSubscriptionFromOrderRequest
java.lang.Object
com.broadleafcommerce.orderoperation.service.provider.external.domain.subscription.CreateSubscriptionFromOrderRequest
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be set to this request in order to inform business logic for adding a Subscription.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 more Subscription.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be set to this request in order to inform business logic for adding a Subscription.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 more Subscription.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 more Subscription. -
getFulfillments
TheFulfillmentscreated for theorder. -
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) TheFulfillmentscreated for theorder. -
setAdditionalAttributes
Miscellaneous attributes that can be set to this request in order to inform business logic for adding a Subscription. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-