{% for pml in payment_method_list %} {{ pml.getId }} {# payment method type #} {{ pml.getPmType }} {# payment method is default option #} {% if pml.getPmIsDefault %} {{ 'Yes'|trans }} {% else %} {{ 'No'|trans }} {% endif %} {% endfor %}