Class TmaProductOrderCreateValidator
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.validators.TmaProductOrderCreateValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class TmaProductOrderCreateValidator
extends Object
implements org.springframework.validation.Validator
Validator for creation of
ProductOrder- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionTmaProductOrderCreateValidator(TmaOrderItemCreateValidator orderItemValidator) -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaOrderItemCreateValidatorbooleanvoidprotected voidvalidatePaymentMethodList(List<PaymentRef> paymentMethodRefList, org.springframework.validation.Errors errors) Checks if payment method is correct.protected voidvalidateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors) Validates the related party.
-
Constructor Details
-
TmaProductOrderCreateValidator
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validatePaymentMethodList
protected void validatePaymentMethodList(List<PaymentRef> paymentMethodRefList, org.springframework.validation.Errors errors) Checks if payment method is correct.- Parameters:
paymentMethodRefList- payment method reference listerrors- the errors found
-
validateRelatedParty
protected void validateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors) Validates the related party.- Parameters:
relatedPartyRefList- Related party reference listerrors- The errors found
-
getOrderItemValidator
-