Interface FulfillmentGroupSubmitValidator
-
- All Superinterfaces:
FulfillmentValidator
,org.springframework.validation.SmartValidator
,org.springframework.validation.Validator
- All Known Implementing Classes:
DefaultFulfillmentGroupSubmitValidator
public interface FulfillmentGroupSubmitValidator extends FulfillmentValidator
Validator for the submission of fulfillment groups. "Submission" refers to when this fulfillment group is sent to the service for the purpose of being used on a cart.- Author:
- Jacob Mitash
-
-
Field Summary
Fields Modifier and Type Field Description static String
HINT_ALLOW_NO_ITEMS
A hint that indicates that a fulfillment group with no items is still considered valid.static String
HINT_ALLOW_NO_OPTION
A hint that indicates the fulfillment option may be null and considered still valid.static String
HINT_PRICING_NOT_REQUIRED
A hint that indicates that the prices are not yet expected to be set on the fulfillment group.static String
HINT_SKIP_ITEM_VALIDATION
A hint that tells the validator to skip any validation regarding fulfillment items of the group.static String
HINT_SKIP_OPTION_VALIDATION
A hint that tells the validator to skip any validation of the fulfillment option of the group.static String
HINT_SKIP_TYPE_SPECIFIC_VALIDATION
A hint that tells the validator to skip performing any type specific validation normally performed byTypeFulfillmentGroupSubmitValidator
s.
-
Method Summary
-
Methods inherited from interface com.broadleafcommerce.cartoperation.service.fulfillment.validation.FulfillmentValidator
getSupportedClass, supports, validate, validate, validate, validate, validate
-
-
-
-
Field Detail
-
HINT_PRICING_NOT_REQUIRED
static final String HINT_PRICING_NOT_REQUIRED
A hint that indicates that the prices are not yet expected to be set on the fulfillment group. Prices will still be validated to be non-negative if present.- See Also:
- Constant Field Values
-
HINT_ALLOW_NO_ITEMS
static final String HINT_ALLOW_NO_ITEMS
A hint that indicates that a fulfillment group with no items is still considered valid.- See Also:
- Constant Field Values
-
HINT_SKIP_TYPE_SPECIFIC_VALIDATION
static final String HINT_SKIP_TYPE_SPECIFIC_VALIDATION
A hint that tells the validator to skip performing any type specific validation normally performed byTypeFulfillmentGroupSubmitValidator
s.- See Also:
- Constant Field Values
-
HINT_SKIP_ITEM_VALIDATION
static final String HINT_SKIP_ITEM_VALIDATION
A hint that tells the validator to skip any validation regarding fulfillment items of the group.- See Also:
- Constant Field Values
-
HINT_ALLOW_NO_OPTION
static final String HINT_ALLOW_NO_OPTION
A hint that indicates the fulfillment option may be null and considered still valid.- See Also:
- Constant Field Values
-
HINT_SKIP_OPTION_VALIDATION
static final String HINT_SKIP_OPTION_VALIDATION
A hint that tells the validator to skip any validation of the fulfillment option of the group.- See Also:
- Constant Field Values
-
-