public abstract class DiscountValidator extends DefaultValidator
Modifier and Type | Field and Description |
---|---|
protected Campaign |
campaign |
protected Discount |
discount |
Constructor and Description |
---|
DiscountValidator(Campaign campaign,
Discount discount) |
Modifier and Type | Method and Description |
---|---|
void |
validate(InstallmentsPage installmentsPage) |
void |
validate(OneTapPage oneTapPage) |
void |
validate(PaymentMethodPage paymentMethodPage) |
void |
validate(ReviewAndConfirmPage reviewAndConfirmPage) |
validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate
@Nonnull protected final Campaign campaign
@Nonnull protected final Discount discount
public void validate(@NonNull PaymentMethodPage paymentMethodPage)
validate
in interface CheckoutValidator
validate
in class DefaultValidator
public void validate(@NonNull InstallmentsPage installmentsPage)
validate
in interface CheckoutValidator
validate
in class DefaultValidator
public void validate(@NonNull ReviewAndConfirmPage reviewAndConfirmPage)
validate
in interface CheckoutValidator
validate
in class DefaultValidator
public void validate(@NonNull OneTapPage oneTapPage)
validate
in interface CheckoutValidator
validate
in class DefaultValidator