Class BmCustomerBillOnDemandCreateValidator
java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.validators.BmCustomerBillOnDemandCreateValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class BmCustomerBillOnDemandCreateValidator
extends Object
implements org.springframework.validation.Validator
Validator for
CustomerBillOnDemand.- Since:
- 2302
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TuaGenericServicebooleanvoidprotected voidvalidateRelatedParty(RelatedParty relatedParty, org.springframework.validation.Errors errors) Checks if relatedParty is valid.
-
Constructor Details
-
BmCustomerBillOnDemandCreateValidator
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateRelatedParty
protected void validateRelatedParty(RelatedParty relatedParty, org.springframework.validation.Errors errors) Checks if relatedParty is valid. If it is a Party resource then the role must not be null.- Parameters:
relatedParty- the related partyerrors- the errors found
-
getTuaGenericService
-