Class OrderMultishipOptionImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.OrderMultishipOptionImpl
- All Implemented Interfaces:
MultiTenantCloneable<OrderMultishipOption>,OrderMultishipOption
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Addressprotected FulfillmentOptionprotected Longprotected Orderprotected OrderItem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the associated Address with this OrderMultishipOptionGets the associated FulfillmentOption with this OrderMultishipOptiongetId()Returns the internal id of this OrderMultishipOptiongetOrder()Returns the Order associated with this OrderMultishipOptionGets the OrderItem associated with this OrderMultishipOption.voidsetAddress(Address address) Sets the associated Address with this OrderMultishipOptionvoidsetFulfillmentOption(FulfillmentOption fulfillmentOption) Sets the associated FulfillmentOption with this OrderMultishipOptionvoidSets the internal id of this OrderMultishipOptionvoidSets the associated Order with this OrderMultishipOptionvoidsetOrderItem(OrderItem orderItem) Sets the associated OrderItem with this OrderMultishipOption
-
Field Details
-
id
-
order
-
orderItem
-
address
-
fulfillmentOption
-
-
Constructor Details
-
OrderMultishipOptionImpl
public OrderMultishipOptionImpl()
-
-
Method Details
-
getId
Description copied from interface:OrderMultishipOptionReturns the internal id of this OrderMultishipOption- Specified by:
getIdin interfaceOrderMultishipOption- Returns:
- the internal id
-
setId
Description copied from interface:OrderMultishipOptionSets the internal id of this OrderMultishipOption- Specified by:
setIdin interfaceOrderMultishipOption- Parameters:
id- the internal id
-
getOrder
Description copied from interface:OrderMultishipOptionReturns the Order associated with this OrderMultishipOption- Specified by:
getOrderin interfaceOrderMultishipOption- Returns:
- the associated Order
-
setOrder
Description copied from interface:OrderMultishipOptionSets the associated Order with this OrderMultishipOption- Specified by:
setOrderin interfaceOrderMultishipOption- Parameters:
order- the associated order
-
getOrderItem
Description copied from interface:OrderMultishipOptionGets the OrderItem associated with this OrderMultishipOption. Note that the default Broadleaf implementation will produce an equal number of instances of OrderMultishipOption to the quantity of the OrderItem- Specified by:
getOrderItemin interfaceOrderMultishipOption- Returns:
- the associated OrderItem
-
setOrderItem
Description copied from interface:OrderMultishipOptionSets the associated OrderItem with this OrderMultishipOption- Specified by:
setOrderItemin interfaceOrderMultishipOption- Parameters:
orderItem- the associated OrderItem- See Also:
-
getAddress
Description copied from interface:OrderMultishipOptionGets the associated Address with this OrderMultishipOption- Specified by:
getAddressin interfaceOrderMultishipOption- Returns:
- the associated Address
-
setAddress
Description copied from interface:OrderMultishipOptionSets the associated Address with this OrderMultishipOption- Specified by:
setAddressin interfaceOrderMultishipOption- Parameters:
address- the associated Address
-
getFulfillmentOption
Description copied from interface:OrderMultishipOptionGets the associated FulfillmentOption with this OrderMultishipOption- Specified by:
getFulfillmentOptionin interfaceOrderMultishipOption- Returns:
- the associated FulfillmentOption
-
setFulfillmentOption
Description copied from interface:OrderMultishipOptionSets the associated FulfillmentOption with this OrderMultishipOption- Specified by:
setFulfillmentOptionin interfaceOrderMultishipOption- Parameters:
fulfillmentOption- the associated FulfillmentOption
-
createOrRetrieveCopyInstance
public CreateResponse<OrderMultishipOption> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<OrderMultishipOption>- Throws:
CloneNotSupportedException
-