Interface CommercePaymentEntryService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
CommercePaymentEntryServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CommercePaymentEntryService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommercePaymentEntry. 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:
  • Method Details

    • addCommercePaymentEntry

      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

      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

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

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePaymentEntry fetchCommercePaymentEntry(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePaymentEntryByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePaymentEntry fetchCommercePaymentEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePaymentEntry getCommercePaymentEntry(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      @Transactional(propagation=SUPPORTS, readOnly=true) BigDecimal getRefundedAmount(long companyId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      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

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

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

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