Class CommercePaymentEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePaymentEntry>
com.liferay.commerce.payment.model.CommercePaymentEntryWrapper
All Implemented Interfaces:
CommercePaymentEntry, CommercePaymentEntryModel, 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, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePaymentEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<CommercePaymentEntry>

public class CommercePaymentEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePaymentEntry> implements CommercePaymentEntry, com.liferay.portal.kernel.model.ModelWrapper<CommercePaymentEntry>

This class is a wrapper for CommercePaymentEntry.

See Also:
Generated:
  • Constructor Details

    • CommercePaymentEntryWrapper

      public CommercePaymentEntryWrapper(CommercePaymentEntry commercePaymentEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
    • cloneWithOriginalValues

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

      public BigDecimal getAmount()
      Returns the amount of this commerce payment entry.
      Specified by:
      getAmount in interface CommercePaymentEntryModel
      Returns:
      the amount of this commerce payment entry
    • getAvailableLanguageIds

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

      public String getCallbackURL()
      Returns the callback url of this commerce payment entry.
      Specified by:
      getCallbackURL in interface CommercePaymentEntryModel
      Returns:
      the callback url of this commerce payment entry
    • getCancelURL

      public String getCancelURL()
      Returns the cancel url of this commerce payment entry.
      Specified by:
      getCancelURL in interface CommercePaymentEntryModel
      Returns:
      the cancel url of this commerce payment entry
    • getClassName

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

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

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

      public long getCommerceChannelId()
      Returns the commerce channel ID of this commerce payment entry.
      Specified by:
      getCommerceChannelId in interface CommercePaymentEntryModel
      Returns:
      the commerce channel ID of this commerce payment entry
    • getCommercePaymentEntryId

      public long getCommercePaymentEntryId()
      Returns the commerce payment entry ID of this commerce payment entry.
      Specified by:
      getCommercePaymentEntryId in interface CommercePaymentEntryModel
      Returns:
      the commerce payment entry ID of this commerce payment entry
    • getCompanyId

      public 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 CommercePaymentEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce payment entry
    • getCreateDate

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

      public String getCurrencyCode()
      Returns the currency code of this commerce payment entry.
      Specified by:
      getCurrencyCode in interface CommercePaymentEntryModel
      Returns:
      the currency code of this commerce payment entry
    • getDefaultLanguageId

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

      public String getErrorMessages()
      Returns the error messages of this commerce payment entry.
      Specified by:
      getErrorMessages in interface CommercePaymentEntryModel
      Returns:
      the error messages of this commerce payment entry
    • getExternalReferenceCode

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

      public String getLanguageId()
      Returns the language ID of this commerce payment entry.
      Specified by:
      getLanguageId in interface CommercePaymentEntryModel
      Returns:
      the language ID of this commerce payment entry
    • getModifiedDate

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

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

      public String getNote()
      Returns the note of this commerce payment entry.
      Specified by:
      getNote in interface CommercePaymentEntryModel
      Returns:
      the note of this commerce payment entry
    • getPayload

      public String getPayload()
      Returns the payload of this commerce payment entry.
      Specified by:
      getPayload in interface CommercePaymentEntryModel
      Returns:
      the payload of this commerce payment entry
    • getPaymentIntegrationKey

      public String getPaymentIntegrationKey()
      Returns the payment integration key of this commerce payment entry.
      Specified by:
      getPaymentIntegrationKey in interface CommercePaymentEntryModel
      Returns:
      the payment integration key of this commerce payment entry
    • getPaymentIntegrationType

      public int getPaymentIntegrationType()
      Returns the payment integration type of this commerce payment entry.
      Specified by:
      getPaymentIntegrationType in interface CommercePaymentEntryModel
      Returns:
      the payment integration type of this commerce payment entry
    • getPaymentStatus

      public int getPaymentStatus()
      Returns the payment status of this commerce payment entry.
      Specified by:
      getPaymentStatus in interface CommercePaymentEntryModel
      Returns:
      the payment status of this commerce payment entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce payment entry.
      Specified by:
      getPrimaryKey in interface CommercePaymentEntryModel
      Returns:
      the primary key of this commerce payment entry
    • getReasonKey

      public String getReasonKey()
      Returns the reason key of this commerce payment entry.
      Specified by:
      getReasonKey in interface CommercePaymentEntryModel
      Returns:
      the reason key of this commerce payment entry
    • getReasonName

      public String getReasonName()
      Returns the reason name of this commerce payment entry.
      Specified by:
      getReasonName in interface CommercePaymentEntryModel
      Returns:
      the reason name of this commerce payment entry
    • getReasonName

      public 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.
      Specified by:
      getReasonName in interface CommercePaymentEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized reason name of this commerce payment entry
    • getReasonName

      public 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.
      Specified by:
      getReasonName in interface CommercePaymentEntryModel
      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

      public 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.
      Specified by:
      getReasonName in interface CommercePaymentEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized reason name of this commerce payment entry
    • getReasonName

      public 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.
      Specified by:
      getReasonName in interface CommercePaymentEntryModel
      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

      public String getReasonNameCurrentLanguageId()
      Specified by:
      getReasonNameCurrentLanguageId in interface CommercePaymentEntryModel
    • getReasonNameCurrentValue

      public String getReasonNameCurrentValue()
      Specified by:
      getReasonNameCurrentValue in interface CommercePaymentEntryModel
    • getReasonNameMap

      public Map<Locale,String> getReasonNameMap()
      Returns a map of the locales and localized reason names of this commerce payment entry.
      Specified by:
      getReasonNameMap in interface CommercePaymentEntryModel
      Returns:
      the locales and localized reason names of this commerce payment entry
    • getRedirectURL

      public String getRedirectURL()
      Returns the redirect url of this commerce payment entry.
      Specified by:
      getRedirectURL in interface CommercePaymentEntryModel
      Returns:
      the redirect url of this commerce payment entry
    • getTransactionCode

      public String getTransactionCode()
      Returns the transaction code of this commerce payment entry.
      Specified by:
      getTransactionCode in interface CommercePaymentEntryModel
      Returns:
      the transaction code of this commerce payment entry
    • getType

      public int getType()
      Returns the type of this commerce payment entry.
      Specified by:
      getType in interface CommercePaymentEntryModel
      Returns:
      the type of this commerce payment entry
    • getUserId

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

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

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

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

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

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

      public void setAmount(BigDecimal amount)
      Sets the amount of this commerce payment entry.
      Specified by:
      setAmount in interface CommercePaymentEntryModel
      Parameters:
      amount - the amount of this commerce payment entry
    • setCallbackURL

      public void setCallbackURL(String callbackURL)
      Sets the callback url of this commerce payment entry.
      Specified by:
      setCallbackURL in interface CommercePaymentEntryModel
      Parameters:
      callbackURL - the callback url of this commerce payment entry
    • setCancelURL

      public void setCancelURL(String cancelURL)
      Sets the cancel url of this commerce payment entry.
      Specified by:
      setCancelURL in interface CommercePaymentEntryModel
      Parameters:
      cancelURL - the cancel url of this commerce payment entry
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface CommercePaymentEntryModel
    • setClassNameId

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

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

      public void setCommerceChannelId(long commerceChannelId)
      Sets the commerce channel ID of this commerce payment entry.
      Specified by:
      setCommerceChannelId in interface CommercePaymentEntryModel
      Parameters:
      commerceChannelId - the commerce channel ID of this commerce payment entry
    • setCommercePaymentEntryId

      public void setCommercePaymentEntryId(long commercePaymentEntryId)
      Sets the commerce payment entry ID of this commerce payment entry.
      Specified by:
      setCommercePaymentEntryId in interface CommercePaymentEntryModel
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID of this commerce payment entry
    • setCompanyId

      public 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 CommercePaymentEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce payment entry
    • setCreateDate

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

      public void setCurrencyCode(String currencyCode)
      Sets the currency code of this commerce payment entry.
      Specified by:
      setCurrencyCode in interface CommercePaymentEntryModel
      Parameters:
      currencyCode - the currency code of this commerce payment entry
    • setErrorMessages

      public void setErrorMessages(String errorMessages)
      Sets the error messages of this commerce payment entry.
      Specified by:
      setErrorMessages in interface CommercePaymentEntryModel
      Parameters:
      errorMessages - the error messages of this commerce payment entry
    • setExternalReferenceCode

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

      public void setLanguageId(String languageId)
      Sets the language ID of this commerce payment entry.
      Specified by:
      setLanguageId in interface CommercePaymentEntryModel
      Parameters:
      languageId - the language ID of this commerce payment entry
    • setModifiedDate

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

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

      public void setNote(String note)
      Sets the note of this commerce payment entry.
      Specified by:
      setNote in interface CommercePaymentEntryModel
      Parameters:
      note - the note of this commerce payment entry
    • setPayload

      public void setPayload(String payload)
      Sets the payload of this commerce payment entry.
      Specified by:
      setPayload in interface CommercePaymentEntryModel
      Parameters:
      payload - the payload of this commerce payment entry
    • setPaymentIntegrationKey

      public void setPaymentIntegrationKey(String paymentIntegrationKey)
      Sets the payment integration key of this commerce payment entry.
      Specified by:
      setPaymentIntegrationKey in interface CommercePaymentEntryModel
      Parameters:
      paymentIntegrationKey - the payment integration key of this commerce payment entry
    • setPaymentIntegrationType

      public void setPaymentIntegrationType(int paymentIntegrationType)
      Sets the payment integration type of this commerce payment entry.
      Specified by:
      setPaymentIntegrationType in interface CommercePaymentEntryModel
      Parameters:
      paymentIntegrationType - the payment integration type of this commerce payment entry
    • setPaymentStatus

      public void setPaymentStatus(int paymentStatus)
      Sets the payment status of this commerce payment entry.
      Specified by:
      setPaymentStatus in interface CommercePaymentEntryModel
      Parameters:
      paymentStatus - the payment status of this commerce payment entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce payment entry.
      Specified by:
      setPrimaryKey in interface CommercePaymentEntryModel
      Parameters:
      primaryKey - the primary key of this commerce payment entry
    • setReasonKey

      public void setReasonKey(String reasonKey)
      Sets the reason key of this commerce payment entry.
      Specified by:
      setReasonKey in interface CommercePaymentEntryModel
      Parameters:
      reasonKey - the reason key of this commerce payment entry
    • setReasonName

      public void setReasonName(String reasonName)
      Sets the reason name of this commerce payment entry.
      Specified by:
      setReasonName in interface CommercePaymentEntryModel
      Parameters:
      reasonName - the reason name of this commerce payment entry
    • setReasonName

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

      public 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.
      Specified by:
      setReasonName in interface CommercePaymentEntryModel
      Parameters:
      reasonName - the localized reason name of this commerce payment entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setReasonNameCurrentLanguageId

      public void setReasonNameCurrentLanguageId(String languageId)
      Specified by:
      setReasonNameCurrentLanguageId in interface CommercePaymentEntryModel
    • setReasonNameMap

      public 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.
      Specified by:
      setReasonNameMap in interface CommercePaymentEntryModel
      Parameters:
      reasonNameMap - the locales and localized reason names of this commerce payment entry
    • setReasonNameMap

      public 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.
      Specified by:
      setReasonNameMap in interface CommercePaymentEntryModel
      Parameters:
      reasonNameMap - the locales and localized reason names of this commerce payment entry
      defaultLocale - the default locale
    • setRedirectURL

      public void setRedirectURL(String redirectURL)
      Sets the redirect url of this commerce payment entry.
      Specified by:
      setRedirectURL in interface CommercePaymentEntryModel
      Parameters:
      redirectURL - the redirect url of this commerce payment entry
    • setTransactionCode

      public void setTransactionCode(String transactionCode)
      Sets the transaction code of this commerce payment entry.
      Specified by:
      setTransactionCode in interface CommercePaymentEntryModel
      Parameters:
      transactionCode - the transaction code of this commerce payment entry
    • setType

      public void setType(int type)
      Sets the type of this commerce payment entry.
      Specified by:
      setType in interface CommercePaymentEntryModel
      Parameters:
      type - the type of this commerce payment entry
    • setUserId

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface CommercePaymentEntryModel
    • wrap

      protected CommercePaymentEntryWrapper wrap(CommercePaymentEntry commercePaymentEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePaymentEntry>