public interface FulfillmentGroupService
| Modifier and Type | Method and Description |
|---|---|
FulfillmentGroup |
addFulfillmentGroupToOrder(FulfillmentGroupRequest fulfillmentGroupRequest,
boolean priceOrder) |
FulfillmentGroup |
addItemToFulfillmentGroup(FulfillmentGroupItemRequest fulfillmentGroupItemRequest,
boolean priceOrder) |
Order |
collapseToOneFulfillmentGroup(Order order,
boolean priceOrder)
Collapses all of the fulfillment groups in the given order to the first fulfillment group
in the order.
|
FulfillmentGroup |
createEmptyFulfillmentGroup() |
FulfillmentGroupFee |
createFulfillmentGroupFee() |
void |
delete(FulfillmentGroup fulfillmentGroup) |
FulfillmentGroup |
findFulfillmentGroupById(Long fulfillmentGroupId) |
List<FulfillmentGroup> |
findFulfillmentGroupsByStatus(FulfillmentGroupStatusType status,
int start,
int maxResults)
Reads FulfillmentGroups by status, ascending according to the date that
the order was created.
|
List<FulfillmentGroup> |
findFulfillmentGroupsByStatus(FulfillmentGroupStatusType status,
int start,
int maxResults,
boolean ascending)
Reads FulfillmentGroups by status, either ascending or descending according to the date that
the order was created.
|
List<FulfillmentGroup> |
findPartiallyFulfilledFulfillmentGroups(int start,
int maxResults)
Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.
|
List<FulfillmentGroup> |
findUnfulfilledFulfillmentGroups(int start,
int maxResults)
Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.
|
List<FulfillmentGroup> |
findUnprocessedFulfillmentGroups(int start,
int maxResults)
Returns FulfillmentGroups whose status is null, or where no processing has yet occured.
|
Order |
matchFulfillmentGroupsToMultishipOptions(Order order,
boolean priceOrder)
Associates FulfillmentGroupItems in the given Order such that they match the structure
of the OrderMultishipOptions associated with the given Order.
|
Order |
removeAllFulfillmentGroupsFromOrder(Order order,
boolean priceOrder) |
void |
removeOrderItemFromFullfillmentGroups(Order order,
OrderItem orderItem)
Removes every fulfillment group item in every fulfillment group in the order
that is associated with the given orderItem.
|
FulfillmentGroup |
save(FulfillmentGroup fulfillmentGroup) |
FulfillmentGroup save(FulfillmentGroup fulfillmentGroup)
FulfillmentGroup createEmptyFulfillmentGroup()
FulfillmentGroup findFulfillmentGroupById(Long fulfillmentGroupId)
void delete(FulfillmentGroup fulfillmentGroup)
FulfillmentGroup addFulfillmentGroupToOrder(FulfillmentGroupRequest fulfillmentGroupRequest, boolean priceOrder) throws PricingException
PricingExceptionFulfillmentGroup addItemToFulfillmentGroup(FulfillmentGroupItemRequest fulfillmentGroupItemRequest, boolean priceOrder) throws PricingException
PricingExceptionOrder removeAllFulfillmentGroupsFromOrder(Order order, boolean priceOrder) throws PricingException
PricingExceptionvoid removeOrderItemFromFullfillmentGroups(Order order, OrderItem orderItem)
order - orderItem - FulfillmentGroupFee createFulfillmentGroupFee()
Order matchFulfillmentGroupsToMultishipOptions(Order order, boolean priceOrder) throws PricingException
order - PricingExceptionOrderMultishipOptionOrder collapseToOneFulfillmentGroup(Order order, boolean priceOrder) throws PricingException
order - priceOrder - PricingExceptionmatchFulfillmentGroupsToMultishipOptions(Order, boolean)List<FulfillmentGroup> findUnfulfilledFulfillmentGroups(int start, int maxResults)
start - maxResults - List<FulfillmentGroup> findPartiallyFulfilledFulfillmentGroups(int start, int maxResults)
start - maxResults - List<FulfillmentGroup> findUnprocessedFulfillmentGroups(int start, int maxResults)
start - maxResults - List<FulfillmentGroup> findFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults, boolean ascending)
status - start - maxResults - ascending - List<FulfillmentGroup> findFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults)
status - start - maxResults - Copyright © 2014. All Rights Reserved.