Deprecated feature

ValidatePaymentMethodCmd task command

The ValidatePaymentMethodCmd task command checks whether the payment method to be added comply with the Buy Online Pick In Store rules.

Task command

ValidatePaymentMethodCmd

Implementation class

ValidatePaymentMethodCmdImpl

Commands called

None

Possible callers

OrderPrpcessCmdImpl

Behavior

If the order contains normal items:
  • Only normal payment methods can be used
Else:
  • If there is no payment instruction for the order:
    • both normal payment methods and in-store pickup payment methods can be used
  • Else, if there are payment instructions for a normal payment method:
    • Only normal payment methods can be used
  • Else:
    • Only in-store payment methods can be used