Interface CommercePaymentHelper
@ProviderType
public interface CommercePaymentHelper
-
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.commerce.payment.result.CommercePaymentResult
emptyResult
(long commerceOrderId, String transactionId) getCommercePaymentIntegration
(long commerceChannelId, String paymentMethodKey) com.liferay.commerce.payment.method.CommercePaymentMethod
getCommercePaymentMethod
(long commerceOrderId) com.liferay.commerce.payment.request.CommercePaymentRequest
getCommercePaymentRequest
(com.liferay.commerce.model.CommerceOrder commerceOrder, Locale locale, String transactionId, String checkoutStepUrl, javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.commerce.payment.method.CommercePaymentMethod commercePaymentMethod) com.liferay.commerce.payment.request.CommercePaymentRequestProvider
getCommercePaymentRequestProvider
(com.liferay.commerce.payment.method.CommercePaymentMethod commercePaymentMethod) boolean
isDeliveryOnlySubscription
(com.liferay.commerce.model.CommerceOrder commerceOrder)
-
Method Details
-
emptyResult
com.liferay.commerce.payment.result.CommercePaymentResult emptyResult(long commerceOrderId, String transactionId) -
getCommercePaymentIntegration
CommercePaymentIntegration getCommercePaymentIntegration(long commerceChannelId, String paymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePaymentMethod
com.liferay.commerce.payment.method.CommercePaymentMethod getCommercePaymentMethod(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePaymentRequest
com.liferay.commerce.payment.request.CommercePaymentRequest getCommercePaymentRequest(com.liferay.commerce.model.CommerceOrder commerceOrder, Locale locale, String transactionId, String checkoutStepUrl, javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.commerce.payment.method.CommercePaymentMethod commercePaymentMethod) throws Exception - Throws:
Exception
-
getCommercePaymentRequestProvider
com.liferay.commerce.payment.request.CommercePaymentRequestProvider getCommercePaymentRequestProvider(com.liferay.commerce.payment.method.CommercePaymentMethod commercePaymentMethod) -
isDeliveryOnlySubscription
boolean isDeliveryOnlySubscription(com.liferay.commerce.model.CommerceOrder commerceOrder)
-