Class CommercePaymentEntryServiceUtil

java.lang.Object
com.liferay.commerce.payment.service.CommercePaymentEntryServiceUtil

public class CommercePaymentEntryServiceUtil extends Object
Provides the remote service utility for CommercePaymentEntry. This utility wraps com.liferay.commerce.payment.service.impl.CommercePaymentEntryServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Constructor Details

    • CommercePaymentEntryServiceUtil

      public CommercePaymentEntryServiceUtil()
  • Method Details

    • addCommercePaymentEntry

      public static CommercePaymentEntry addCommercePaymentEntry(long classNameId, long classPK, long commerceChannelId, BigDecimal amount, String callbackURL, String cancelURL, String currencyCode, String languageId, String note, String payload, String paymentIntegrationKey, int paymentIntegrationType, String reasonKey, String transactionCode, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePaymentEntry

      public static CommercePaymentEntry addOrUpdateCommercePaymentEntry(String externalReferenceCode, long classNameId, long classPK, long commerceChannelId, BigDecimal amount, String callbackURL, String cancelURL, String currencyCode, String errorMessages, String languageId, String note, String payload, String paymentIntegrationKey, int paymentIntegrationType, int paymentStatus, String reasonKey, String redirectURL, String transactionCode, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePaymentEntry

      public static CommercePaymentEntry deleteCommercePaymentEntry(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePaymentEntry

      public static CommercePaymentEntry fetchCommercePaymentEntry(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePaymentEntryByExternalReferenceCode

      public static CommercePaymentEntry fetchCommercePaymentEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntries

      public static List<CommercePaymentEntry> getCommercePaymentEntries(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntries

      public static List<CommercePaymentEntry> getCommercePaymentEntries(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntriesCount

      public static int getCommercePaymentEntriesCount(long companyId, long classNameId, long classPK, int type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntry

      public static CommercePaymentEntry getCommercePaymentEntry(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getRefundedAmount

      public static BigDecimal getRefundedAmount(long companyId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public static List<CommercePaymentEntry> search(long companyId, long[] classNameIds, long[] classPKs, String[] currencyCodes, String keywords, String[] paymentMethodNames, int[] paymentStatuses, boolean excludeStatuses, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePaymentEntry

      public static CommercePaymentEntry updateCommercePaymentEntry(String externalReferenceCode, long commercePaymentEntryId, long commerceChannelId, BigDecimal amount, String callbackURL, String cancelURL, String currencyCode, String errorMessages, String languageId, String note, String payload, String paymentIntegrationKey, int paymentIntegrationType, int paymentStatus, String reasonKey, String redirectURL, String transactionCode, int type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public static CommercePaymentEntry updateExternalReferenceCode(long commercePaymentEntryId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateNote

      public static CommercePaymentEntry updateNote(long commercePaymentEntryId, String note) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateReasonKey

      public static CommercePaymentEntry updateReasonKey(long commercePaymentEntryId, String reasonKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommercePaymentEntryService getService()