META-INF.resources.commerce_payment_method.qualifiers.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.payment.web
Show all versions of com.liferay.commerce.payment.web
Liferay Commerce Payment Web
<%--
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
--%>
<%@ include file="/init.jsp" %>
<%
CommercePaymentMethodGroupRelQualifiersDisplayContext commercePaymentMethodGroupRelQualifiersDisplayContext = (CommercePaymentMethodGroupRelQualifiersDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);
CommercePaymentMethodGroupRel commercePaymentMethodGroupRel = commercePaymentMethodGroupRelQualifiersDisplayContext.getCommercePaymentMethodGroupRel();
long commercePaymentMethodGroupRelId = commercePaymentMethodGroupRelQualifiersDisplayContext.getCommercePaymentMethodGroupRelId();
String orderTypeQualifiers = ParamUtil.getString(request, "orderTypeQualifiers", commercePaymentMethodGroupRelQualifiersDisplayContext.getActiveOrderTypeEligibility());
String termEntryQualifiers = ParamUtil.getString(request, "termEntryQualifiers", commercePaymentMethodGroupRelQualifiersDisplayContext.getActiveTermEntryEligibility());
boolean hasPermission = commercePaymentMethodGroupRelQualifiersDisplayContext.hasPermission(ActionKeys.UPDATE);
%>
<%@ include file="/commerce_payment_method/qualifier/commerce_order_types.jspf" %>
<%@ include file="/commerce_payment_method/qualifier/commerce_term_entries.jspf" %>