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 Summary
Modifier and TypeMethodDescriptionReturns the amount of this commerce payment entry.String[]
Returns the callback url of this commerce payment entry.Returns the cancel url of this commerce payment entry.Returns the fully qualified class name of this commerce payment entry.long
Returns the class name ID of this commerce payment entry.long
Returns the class pk of this commerce payment entry.long
Returns the commerce channel ID of this commerce payment entry.long
Returns the commerce payment entry ID of this commerce payment entry.long
Returns the company ID of this commerce payment entry.Returns the create date of this commerce payment entry.Returns the currency code of this commerce payment entry.Returns the error messages of this commerce payment entry.Returns the external reference code of this commerce payment entry.Returns the language ID of this commerce payment entry.Returns the modified date of this commerce payment entry.long
Returns the mvcc version of this commerce payment entry.getNote()
Returns the note of this commerce payment entry.Returns the payload of this commerce payment entry.Returns the payment integration key of this commerce payment entry.int
Returns the payment integration type of this commerce payment entry.int
Returns the payment status of this commerce payment entry.long
Returns the primary key of this commerce payment entry.Returns the reason key of this commerce payment entry.Returns the reason name of this commerce payment entry.getReasonName
(String languageId) Returns the localized reason name of this commerce payment entry in the language.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.getReasonName
(Locale locale) Returns the localized reason name of this commerce payment entry in the language.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.Returns a map of the locales and localized reason names of this commerce payment entry.Returns the redirect url of this commerce payment entry.Returns the transaction code of this commerce payment entry.int
getType()
Returns the type of this commerce payment entry.long
Returns the user ID of this commerce payment entry.Returns the user name of this commerce payment entry.Returns the user uuid of this commerce payment entry.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setAmount
(BigDecimal amount) Sets the amount of this commerce payment entry.void
setCallbackURL
(String callbackURL) Sets the callback url of this commerce payment entry.void
setCancelURL
(String cancelURL) Sets the cancel url of this commerce payment entry.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this commerce payment entry.void
setClassPK
(long classPK) Sets the class pk of this commerce payment entry.void
setCommerceChannelId
(long commerceChannelId) Sets the commerce channel ID of this commerce payment entry.void
setCommercePaymentEntryId
(long commercePaymentEntryId) Sets the commerce payment entry ID of this commerce payment entry.void
setCompanyId
(long companyId) Sets the company ID of this commerce payment entry.void
setCreateDate
(Date createDate) Sets the create date of this commerce payment entry.void
setCurrencyCode
(String currencyCode) Sets the currency code of this commerce payment entry.void
setErrorMessages
(String errorMessages) Sets the error messages of this commerce payment entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce payment entry.void
setLanguageId
(String languageId) Sets the language ID of this commerce payment entry.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce payment entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce payment entry.void
Sets the note of this commerce payment entry.void
setPayload
(String payload) Sets the payload of this commerce payment entry.void
setPaymentIntegrationKey
(String paymentIntegrationKey) Sets the payment integration key of this commerce payment entry.void
setPaymentIntegrationType
(int paymentIntegrationType) Sets the payment integration type of this commerce payment entry.void
setPaymentStatus
(int paymentStatus) Sets the payment status of this commerce payment entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce payment entry.void
setReasonKey
(String reasonKey) Sets the reason key of this commerce payment entry.void
setReasonName
(String reasonName) Sets the reason name of this commerce payment entry.void
setReasonName
(String reasonName, Locale locale) Sets the localized reason name of this commerce payment entry in the language.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.void
setReasonNameCurrentLanguageId
(String languageId) 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.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.void
setRedirectURL
(String redirectURL) Sets the redirect url of this commerce payment entry.void
setTransactionCode
(String transactionCode) Sets the transaction code of this commerce payment entry.void
setType
(int type) Sets the type of this commerce payment entry.void
setUserId
(long userId) Sets the user ID of this commerce payment entry.void
setUserName
(String userName) Sets the user name of this commerce payment entry.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce payment entry.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
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 interfacecom.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 interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce payment entry
-
getExternalReferenceCode
Returns the external reference code of this commerce payment entry.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce payment entry
-
setExternalReferenceCode
Sets the external reference code of this commerce payment entry.- Specified by:
setExternalReferenceCode
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this commerce payment entry
-
setUserUuid
Sets the user uuid of this commerce payment entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this commerce payment entry
-
getUserName
Returns the user name of this commerce payment entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this commerce payment entry
-
setUserName
Sets the user name of this commerce payment entry.- Specified by:
setUserName
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the create date of this commerce payment entry
-
setCreateDate
Sets the create date of this commerce payment entry.- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the modified date of this commerce payment entry
-
setModifiedDate
Sets the modified date of this commerce payment entry.- Specified by:
setModifiedDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this commerce payment entry
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this commerce payment entry.- Specified by:
getClassNameId
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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
Sets the amount of this commerce payment entry.- Parameters:
amount
- the amount of this commerce payment entry
-
getCallbackURL
Returns the callback url of this commerce payment entry.- Returns:
- the callback url of this commerce payment entry
-
setCallbackURL
Sets the callback url of this commerce payment entry.- Parameters:
callbackURL
- the callback url of this commerce payment entry
-
getCancelURL
Returns the cancel url of this commerce payment entry.- Returns:
- the cancel url of this commerce payment entry
-
setCancelURL
Sets the cancel url of this commerce payment entry.- Parameters:
cancelURL
- the cancel url of this commerce payment entry
-
getCurrencyCode
Returns the currency code of this commerce payment entry.- Returns:
- the currency code of this commerce payment entry
-
setCurrencyCode
Sets the currency code of this commerce payment entry.- Parameters:
currencyCode
- the currency code of this commerce payment entry
-
getErrorMessages
Returns the error messages of this commerce payment entry.- Returns:
- the error messages of this commerce payment entry
-
setErrorMessages
Sets the error messages of this commerce payment entry.- Parameters:
errorMessages
- the error messages of this commerce payment entry
-
getLanguageId
Returns the language ID of this commerce payment entry.- Returns:
- the language ID of this commerce payment entry
-
setLanguageId
Sets the language ID of this commerce payment entry.- Parameters:
languageId
- the language ID of this commerce payment entry
-
getNote
Returns the note of this commerce payment entry.- Returns:
- the note of this commerce payment entry
-
setNote
Sets the note of this commerce payment entry.- Parameters:
note
- the note of this commerce payment entry
-
getPayload
Returns the payload of this commerce payment entry.- Returns:
- the payload of this commerce payment entry
-
setPayload
Sets the payload of this commerce payment entry.- Parameters:
payload
- the payload of this commerce payment entry
-
getPaymentIntegrationKey
Returns the payment integration key of this commerce payment entry.- Returns:
- the payment integration key of this commerce payment entry
-
setPaymentIntegrationKey
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
Returns the reason key of this commerce payment entry.- Returns:
- the reason key of this commerce payment entry
-
setReasonKey
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
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
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 languageuseDefault
- 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
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getReasonName
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
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 languageuseDefault
- 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
-
getReasonNameCurrentValue
-
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
Sets the reason name of this commerce payment entry.- Parameters:
reasonName
- the reason name of this commerce payment entry
-
setReasonName
Sets the localized reason name of this commerce payment entry in the language.- Parameters:
reasonName
- the localized reason name of this commerce payment entrylocale
- the locale of the language
-
setReasonName
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 entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setReasonNameCurrentLanguageId
-
setReasonNameMap
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
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 entrydefaultLocale
- the default locale
-
getRedirectURL
Returns the redirect url of this commerce payment entry.- Returns:
- the redirect url of this commerce payment entry
-
setRedirectURL
Sets the redirect url of this commerce payment entry.- Parameters:
redirectURL
- the redirect url of this commerce payment entry
-
getTransactionCode
Returns the transaction code of this commerce payment entry.- Returns:
- the transaction code of this commerce payment entry
-
setTransactionCode
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 interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CommercePaymentEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
-
toXmlString
-