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 Details

  • Method Details

    • supports

      public boolean supports(Class<?> aClass)
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object object, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.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 list
      errors - the errors found
    • validateRelatedParty

      protected void validateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors)
      Validates the related party.
      Parameters:
      relatedPartyRefList - Related party reference list
      errors - The errors found
    • getOrderItemValidator

      protected TmaOrderItemCreateValidator getOrderItemValidator()