Interface CommercePaymentEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommercePaymentEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
CommercePaymentEntry
All Known Implementing Classes:
CommercePaymentEntryWrapper

@ProviderType public interface CommercePaymentEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the CommercePaymentEntry service. Represents a row in the "CommercePaymentEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.payment.model.impl.CommercePaymentEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.payment.model.impl.CommercePaymentEntryImpl.

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce payment entry.
      Returns:
      the primary key of this commerce payment entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce payment entry.
      Parameters:
      primaryKey - the primary key of this commerce payment entry
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce payment entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce payment entry
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce payment entry.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce payment entry
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this commerce payment entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce payment entry
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce payment entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce payment entry
    • getCommercePaymentEntryId

      long getCommercePaymentEntryId()
      Returns the commerce payment entry ID of this commerce payment entry.
      Returns:
      the commerce payment entry ID of this commerce payment entry
    • setCommercePaymentEntryId

      void setCommercePaymentEntryId(long commercePaymentEntryId)
      Sets the commerce payment entry ID of this commerce payment entry.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID of this commerce payment entry
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this commerce payment entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce payment entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce payment entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce payment entry
    • getUserId

      long getUserId()
      Returns the user ID of this commerce payment entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce payment entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this commerce payment entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce payment entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this commerce payment entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce payment entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this commerce payment entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce payment entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this commerce payment entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce payment entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this commerce payment entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce payment entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this commerce payment entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this commerce payment entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce payment entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      createDate - the create date of this commerce payment entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce payment entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this commerce payment entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce payment entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      modifiedDate - the modified date of this commerce payment entry
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this commerce payment entry.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this commerce payment entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this commerce payment entry.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this commerce payment entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this commerce payment entry.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this commerce payment entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this commerce payment entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this commerce payment entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this commerce payment entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this commerce payment entry
    • getCommerceChannelId

      long getCommerceChannelId()
      Returns the commerce channel ID of this commerce payment entry.
      Returns:
      the commerce channel ID of this commerce payment entry
    • setCommerceChannelId

      void setCommerceChannelId(long commerceChannelId)
      Sets the commerce channel ID of this commerce payment entry.
      Parameters:
      commerceChannelId - the commerce channel ID of this commerce payment entry
    • getAmount

      BigDecimal getAmount()
      Returns the amount of this commerce payment entry.
      Returns:
      the amount of this commerce payment entry
    • setAmount

      void setAmount(BigDecimal amount)
      Sets the amount of this commerce payment entry.
      Parameters:
      amount - the amount of this commerce payment entry
    • getCallbackURL

      @AutoEscape String getCallbackURL()
      Returns the callback url of this commerce payment entry.
      Returns:
      the callback url of this commerce payment entry
    • setCallbackURL

      void setCallbackURL(String callbackURL)
      Sets the callback url of this commerce payment entry.
      Parameters:
      callbackURL - the callback url of this commerce payment entry
    • getCancelURL

      @AutoEscape String getCancelURL()
      Returns the cancel url of this commerce payment entry.
      Returns:
      the cancel url of this commerce payment entry
    • setCancelURL

      void setCancelURL(String cancelURL)
      Sets the cancel url of this commerce payment entry.
      Parameters:
      cancelURL - the cancel url of this commerce payment entry
    • getCurrencyCode

      @AutoEscape String getCurrencyCode()
      Returns the currency code of this commerce payment entry.
      Returns:
      the currency code of this commerce payment entry
    • setCurrencyCode

      void setCurrencyCode(String currencyCode)
      Sets the currency code of this commerce payment entry.
      Parameters:
      currencyCode - the currency code of this commerce payment entry
    • getErrorMessages

      @AutoEscape String getErrorMessages()
      Returns the error messages of this commerce payment entry.
      Returns:
      the error messages of this commerce payment entry
    • setErrorMessages

      void setErrorMessages(String errorMessages)
      Sets the error messages of this commerce payment entry.
      Parameters:
      errorMessages - the error messages of this commerce payment entry
    • getLanguageId

      @AutoEscape String getLanguageId()
      Returns the language ID of this commerce payment entry.
      Returns:
      the language ID of this commerce payment entry
    • setLanguageId

      void setLanguageId(String languageId)
      Sets the language ID of this commerce payment entry.
      Parameters:
      languageId - the language ID of this commerce payment entry
    • getNote

      @AutoEscape String getNote()
      Returns the note of this commerce payment entry.
      Returns:
      the note of this commerce payment entry
    • setNote

      void setNote(String note)
      Sets the note of this commerce payment entry.
      Parameters:
      note - the note of this commerce payment entry
    • getPayload

      @AutoEscape String getPayload()
      Returns the payload of this commerce payment entry.
      Returns:
      the payload of this commerce payment entry
    • setPayload

      void setPayload(String payload)
      Sets the payload of this commerce payment entry.
      Parameters:
      payload - the payload of this commerce payment entry
    • getPaymentIntegrationKey

      @AutoEscape String getPaymentIntegrationKey()
      Returns the payment integration key of this commerce payment entry.
      Returns:
      the payment integration key of this commerce payment entry
    • setPaymentIntegrationKey

      void setPaymentIntegrationKey(String paymentIntegrationKey)
      Sets the payment integration key of this commerce payment entry.
      Parameters:
      paymentIntegrationKey - the payment integration key of this commerce payment entry
    • getPaymentIntegrationType

      int getPaymentIntegrationType()
      Returns the payment integration type of this commerce payment entry.
      Returns:
      the payment integration type of this commerce payment entry
    • setPaymentIntegrationType

      void setPaymentIntegrationType(int paymentIntegrationType)
      Sets the payment integration type of this commerce payment entry.
      Parameters:
      paymentIntegrationType - the payment integration type of this commerce payment entry
    • getPaymentStatus

      int getPaymentStatus()
      Returns the payment status of this commerce payment entry.
      Returns:
      the payment status of this commerce payment entry
    • setPaymentStatus

      void setPaymentStatus(int paymentStatus)
      Sets the payment status of this commerce payment entry.
      Parameters:
      paymentStatus - the payment status of this commerce payment entry
    • getReasonKey

      @AutoEscape String getReasonKey()
      Returns the reason key of this commerce payment entry.
      Returns:
      the reason key of this commerce payment entry
    • setReasonKey

      void setReasonKey(String reasonKey)
      Sets the reason key of this commerce payment entry.
      Parameters:
      reasonKey - the reason key of this commerce payment entry
    • getReasonName

      String getReasonName()
      Returns the reason name of this commerce payment entry.
      Returns:
      the reason name of this commerce payment entry
    • getReasonName

      @AutoEscape String getReasonName(Locale locale)
      Returns the localized reason name of this commerce payment entry in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized reason name of this commerce payment entry
    • getReasonName

      @AutoEscape String getReasonName(Locale locale, boolean useDefault)
      Returns the localized reason name of this commerce payment entry in the language, optionally using the default language if no localization exists for the requested language.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized reason name of this commerce payment entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getReasonName

      @AutoEscape String getReasonName(String languageId)
      Returns the localized reason name of this commerce payment entry in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized reason name of this commerce payment entry
    • getReasonName

      @AutoEscape String getReasonName(String languageId, boolean useDefault)
      Returns the localized reason name of this commerce payment entry in the language, optionally using the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized reason name of this commerce payment entry
    • getReasonNameCurrentLanguageId

      @AutoEscape String getReasonNameCurrentLanguageId()
    • getReasonNameCurrentValue

      @AutoEscape String getReasonNameCurrentValue()
    • getReasonNameMap

      Map<Locale,String> getReasonNameMap()
      Returns a map of the locales and localized reason names of this commerce payment entry.
      Returns:
      the locales and localized reason names of this commerce payment entry
    • setReasonName

      void setReasonName(String reasonName)
      Sets the reason name of this commerce payment entry.
      Parameters:
      reasonName - the reason name of this commerce payment entry
    • setReasonName

      void setReasonName(String reasonName, Locale locale)
      Sets the localized reason name of this commerce payment entry in the language.
      Parameters:
      reasonName - the localized reason name of this commerce payment entry
      locale - the locale of the language
    • setReasonName

      void setReasonName(String reasonName, Locale locale, Locale defaultLocale)
      Sets the localized reason name of this commerce payment entry in the language, and sets the default locale.
      Parameters:
      reasonName - the localized reason name of this commerce payment entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setReasonNameCurrentLanguageId

      void setReasonNameCurrentLanguageId(String languageId)
    • setReasonNameMap

      void setReasonNameMap(Map<Locale,String> reasonNameMap)
      Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names.
      Parameters:
      reasonNameMap - the locales and localized reason names of this commerce payment entry
    • setReasonNameMap

      void setReasonNameMap(Map<Locale,String> reasonNameMap, Locale defaultLocale)
      Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names, and sets the default locale.
      Parameters:
      reasonNameMap - the locales and localized reason names of this commerce payment entry
      defaultLocale - the default locale
    • getRedirectURL

      @AutoEscape String getRedirectURL()
      Returns the redirect url of this commerce payment entry.
      Returns:
      the redirect url of this commerce payment entry
    • setRedirectURL

      void setRedirectURL(String redirectURL)
      Sets the redirect url of this commerce payment entry.
      Parameters:
      redirectURL - the redirect url of this commerce payment entry
    • getTransactionCode

      @AutoEscape String getTransactionCode()
      Returns the transaction code of this commerce payment entry.
      Returns:
      the transaction code of this commerce payment entry
    • setTransactionCode

      void setTransactionCode(String transactionCode)
      Sets the transaction code of this commerce payment entry.
      Parameters:
      transactionCode - the transaction code of this commerce payment entry
    • getType

      int getType()
      Returns the type of this commerce payment entry.
      Returns:
      the type of this commerce payment entry
    • setType

      void setType(int type)
      Sets the type of this commerce payment entry.
      Parameters:
      type - the type of this commerce payment entry
    • getAvailableLanguageIds

      String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getDefaultLanguageId

      String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • cloneWithOriginalValues

      CommercePaymentEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
    • toXmlString

      default String toXmlString()