Condition Payment Method

<sw-condition-payment-method> extends <sw-condition-base>

prototype
Condition for the PaymentMethodRule. This component must a be child of sw-condition-tree.

Usage

<sw-condition-payment-method :condition="condition" :level="0"></sw-condition-payment-method>

Methods

Method name Parameters
createdComponent No parameters
setPaymentMethodIds paymentMethods

Imports

  • ./sw-condition-payment-method.html.twig

Inject

  • repositoryFactory

Twig blocks

  • sw_condition_payment_method_field_operator
  • sw_condition_payment_method_field_payment_method_ids
  • sw_condition_value_content